What is an API access token?
An API access token is required to use the Awin Publisher API securely. The token is linked to your user account, not a specific publisher account. If you have access to multiple publisher accounts, your token will grant access to data from all of them.
Your token is the key to accessing your data through the API with no username or password required. Because it’s such a powerful credential, it’s essential to keep it secure and ensure it doesn’t fall into the wrong hands.
Note: If your user account is added or removed from a publisher or advertiser account, it may take up to 10 minutes for these changes to take effect in the API.
How to generate your API access token
To create your API token, first log in to the Awin platform, then complete the following steps:
- From the user menu (
), select API Credentials. - To confirm your identity, enter your account password.
- To generate your token, click Show my API token. Your token displays and you can copy it for immediate use.
How to use your API token
To authenticate API requests, include your token in the HTTP headers. Use the following format:
- Key: Authorization
- Value: Bearer <addYourTokenHere>
How to revoke your API token
If your token is compromised or you no longer need it, you can revoke it:
- From the user menu (
), select API Credentials. - To revoke the token, enter your account password.
- To confirm the revocation, in the pop-up window, click OK.
Important: Revoking your token immediately stops all API integrations that use it.
Additional resources
For more guidance on using the Awin Publisher API, visit our Developer Centre, where you’ll find detailed documentation and resources.