C

Content Management API

REST discovered

Details
URL
https://api.contentstack.io/
Docs
https://www.contentstack.com/docs/developers/apis/content-management-api
Authentication
Stack API key api_key: <credential> + Management token authorization: <credential> discovered
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.

Management token api_key Get key ↗

Log in to Contentstack, open your stack, then go to SettingsTokensManagement Tokens+ Management Token. Choose scope, permissions, and expiry, then click Generate Token and copy the token immediately. See Generate a Management Token.

Stack API key api_key: <credential> + User authtoken authtoken: <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: <credential> + Contentstack OAuth access token authorization: Bearer <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>.