A

Administration API

REST discovered

Details
URL
https://api.contentstack.io
Docs
https://www.contentstack.com/docs/developers/apis/administration-api
Authentication
User authtoken authtoken: <credential> + Stack API key api_key: <credential> discovered
User authtoken api_key

Authtokens are user session tokens returned by the Contentstack login API after signing in. The API docs say to use the Log in to your account request under Content Management API user session to retrieve it; browser sessions can also expose it in developer tools. See Content Management API, Administration API, and Analytics API.

Stack API key api_key

In Contentstack, open your stack, then go to SettingsStack. Under API Credentials, copy the stack API key. The Analytics API docs describe this path at Analytics API.

Contentstack OAuth access token authorization: Bearer <credential> + Stack API key api_key: <credential> discovered
Contentstack OAuth access token oauth2 Set up OAuth ↗

Create an app in the Developer Hub, configure Contentstack OAuth, and request the scopes needed by the target API. Contentstack issues access tokens for user apps and, for supported surfaces, app/M2M flows. Use the returned access token as Authorization: Bearer <token>.