You can authenticate with the Ambassador API using your API username and API key.
You can find this information on your account settings page.
- API Username (ex. username)
- API Token (ex. xxxxxx)
URL Structure for an API Call:
Passing your API token in the request header
Alternatively, you can add your API key in the request header. The requires a change to the URL structure. For example:
After changing the URL structure, you will need to pass your token in the header in the format:
Authorization: Token [[API_TOKEN]]
For example, if your API Token was xxxxxxx, the header would be:
Authorization: Token xxxxxxx
Updated about a year ago