Create a key
In the dashboard, open Developer > API Keys (it requires the Access API permission in your company) and create a key:- give it a name that says what uses it, for example “CRM integration” or “Billing service”;
- choose its permissions (see below);
- copy the key: it is shown only once.
Send the key
Send the key in theAuthorization header as a bearer token:
success: false with code 4.
Permissions
A key only does what its permissions allow. There are four:
Give each key the smallest set it needs: a service that only sends notifications needs Send messages, a back-office that configures agents needs Manage integrations.
A request without the needed permission gets
code 1005 and a message naming the missing permission:
GET /me returns the abilities of the key you use (body.token.abilities).
v1.0 does not check key permissions: any valid key can call any v1.0 endpoint. v2.0 checks them on every request. When you migrate, make sure your keys have the permissions your calls need.