Rate this page:
If you have not created a User API token or an Org API key, you'll need to do so before proceeding
Whether authenticating to AGG playground for testing or direct requests during implementation, an Authorization
is required
Org API keys are used directly in the Authorization
header in form of Bearer
token:
1 2Authorization: Bearer <org_api_key>
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: