C

contentstack.com

Contentstack is a headless CMS and digital experience platform for managing and delivering content, personalization, launch/deployment, and related AI-powered workflows. It provides regional APIs and tooling for stack content, organization administration, analytics, automation, and front-end delivery use cases.

12 integrations · REST · GraphQL · CLI

Contentstack exposes multiple authenticated HTTP APIs for content, admin, analytics, launch, automation, personalization, and AI workflows, plus a GraphQL delivery API, two public delivery-style HTTP APIs (Image Delivery and Personalize Edge), and the `csdx` CLI.

discovered 2mo ago
REST · OpenAPI10
GraphQL1
CLI1
Credentials
Stack API keyapi_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.

Delivery tokenapi_key$ csdx auth:tokens:add --delivery

Acquired by the CLI — running csdx auth:tokens:add --delivery opens the auth flow and stores the credential.

Management tokenapi_key$ csdx auth:tokens:add --management

Acquired by the CLI — running csdx auth:tokens:add --management opens the auth flow and stores the credential.

User authtokenapi_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.

Contentstack OAuth access tokenoauth2Set 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>.

Machine-to-Machine app OAuth tokenoauth2_ccSet up OAuth

Ask Contentstack to enable Machine-to-Machine apps for your organization (the docs mark this feature Beta). Then create/configure the M2M app in Developer Hub and obtain an OAuth 2.0 access token with the required scopes for the API you want to call. See Machine to Machine Apps and Contentstack OAuth.

conventions · 1/7 published

Publish these signals → /publishing