Authentication
Using Email and Password
You can generate an access token for our API using your email and password, with the following endpoint.
The endpoint will return an access token that can be used to authenticate with our API, using the Authorization: Bearer <token>
header.
Email & password is the easiest way to authenticate with the API programmatically. However, for testing you can use the authentication widget below to log in and generate a token, this internally uses the same endpoint as above.
Authentication
As admin
in organisation
You can generate access token for any non-admin user from your organisation with the following endpoint.
The endpoint will return an access token that can be used to authenticate with our API as that given user, using the Authorization: Bearer <token>
header.
In order to refresh token after it expires you can either reuse this endpoint or use refresh_token
from the response and generate new token with a standard OAuth 2.0 flow passing
{
"grant_type": "refresh_token",
"refresh_token": "jjUrveHmH2nCzTLqA8w..."
}