How to Generate and Revoke Access Tokens in Seller Center?

From the Access Tokens page, Seller (admin) users can generate and manage access tokens applicable to their account. These tokens remain valid for a predefined duration and can be renewed as necessary.

Access tokens can be created and deleted via the Settings. When submitting requests, ensure to include the token within the Authorization header.

Step 1: Navigate to Access Tokens Page

  • Go to Settings in the main menu.

  • Click on Access Tokens.

Step 2: Generate a New Access Token

  • On the Access Tokens page, click Generate New Access Token.

Step 3: Fill in Token Details

  • Valid Until: Select the expiration date for the token. After this date, the token becomes invalid.

    • You can generate a new token at any time.

    • There’s no limit to the number of tokens you can have.

Add a description to help identify the purpose of the token. This is for display purposes only.

Step 4: Create the Token

  • Click Generate to create the token.

  • Once created, the token becomes active immediately.

Make sure to copy and store the token securely—you’ll need to include it in the Authorization header of your API requests.

Step 5: Review Existing Tokens

Each token appears in a table with the following columns:

  • Key (string): The token. Click the copy icon to copy the text value of the token.

  • Note (text): User-provided description of the token.

  • Status (boolean): Current status of the token:

    • Active: Token is active and can be used for access.

    • Expired: Token has expired after its expiration timestamp has been reached.

  • Valid Until (date (YYYY-MM-DD HH:MM): Timestamp for when the token expires.

  • Revoke (radio button): Click to revoke the token. Confirm the action in the prompt that appears.

Step 6: Revoke a Token (If Needed)

  • To revoke a token, click Revoke next to the token you want to deactivate.

  • Confirm the action in the prompt.

  • On the Access Tokens table see the initial record that is revoked after the action.

Last updated

Was this helpful?