Skip to main content

Create DGW access tokens

To make any request to the Delivery Gateway Merchant API, you must create an access token using the Bearer Authentication schema.

Updated today

To create an access token on the Admin Dashboard:

  1. Find Access Tokens on the left.

  2. In the top right corner, click New Access Tokens.

  3. Set a name and optionally, an expiration date.
    โ€‹

    If you leave the expiration date empty, your token will never expire. For security reasons, we recommend regularly regenerating your tokens.

  4. In the Roles dropdown menu, select all the roles you need.

    Example access token


    For more information about roles, see Roles and permissions.

  5. Optionally, create an allowlist for the token: click Add to set IP addresses and HTTP referers that are allowed to send requests.
    You can add as many as you need: click Add again for more input fields.

  6. When done, click Create.

  7. Copy your token from the dialog.

    If you close the dialog without copying the token, you won't be able to retrieve it again.

Did this answer your question?