Authentication
The API uses API keys to authentication your requests. You can generate an API key for your user account by visiting your user settings page at (YOUR SUBDOMAIN)/settings#api. You can browse there by clicking the user icon at the top left of the page, then clicking Your Settings, then navigating to the API tab.
Creating a Token
To create a token, enter a unique name to help you remember why you created the token. Then, click Create Token. The API token will be displayed on the page, and it will only be displayed once so make sure you copy the value and store it securely.
Revoking a Token
If you are no longer using a token, or if the token has been compromised, you can revoke a token at any time from the same page. Find the token in your list of API tokens and click the red Trash icon.
Authenticating a Request
To authenticate a request to the API, you can either provide the token in the request headers:
Authorization: Bearer YOUR_TOKEN
or via a request parameter named api_token
.