Rate this page:
If you have not created a Container Token or a User API token, you'll need to do so before proceeding
Whether authenticating to AGG playground for testing or direct requests during implementation, an Authorization
is required
Container tokens are used directly in the Authorization
header in form of Bearer
token:
1 2Authorization: Bearer <container_token>
User API tokens are used in place of password
for authorization credentials. Credentials are constructed by joining username (email) and password with a colon, then base64
encoded. This is then used in form of BasicAuth
.
Terminal command:
1 2echo -n '<email>:<user_api_token>' | base64
Once you have the encoded credentials you can build the header as follows:
1 2Authorization: Basic <encoded_credencials>
Rate this page: