Generate a Management Token

Note: Only the stack owner or admin can view or create management tokens.

Contentstack provides management token for read-write access to the content of your stack.

To create a management token, log in to your Contentstack account, and perform the following steps:

  1. Go to your stack and click on the “Settings” icon on the left navigation panel.
  2. Click on API Tokens.
  3. Open the Management Tokens tab, and click on the + New Token.
  4. Provide a relevant Name and Description for the token.
  5. Under Permissions, select the stack-level permissions you want to assign to this token, such as Read or Write.
  6. Under Expiry, set an expiration limit for this management token:
    1. Never: Select this option if you do not want the token to have an expiration date.
    2. Date (in UTC): Select this option if you want the token to expire at a particular date.

      Check the Notify via email option that appears for this option, if you want to get notified via email 7 days before the token expires.

      Note: Once you set the expiration limit, the management token expires at midnight (UTC time) of the specified date.

      Once a management token has expired, it becomes invalid and it cannot be used to make any Content Management API calls.
  7. Click on Generate Token.
  8. The Management Token Generated window appears where you can see the Stack API Key and the generated Management Token.

    Warning: Make sure to note down the management token for future reference, because once you close the window, you will not be able to view it again.

  9. Finally, click on Save.

Now, you can use the generated token to make authorized Content Management API requests at the stack level.

Note: At a time, you can generate a maximum of 10 valid management tokens for a specific stack within your organization. Now, if you already have 10 valid tokens, creating a new management token will automatically cause the oldest management token to expire without warning.

Tutorial Video

Let's see how to create a management token.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page