Building a client app instead? Start with an SDK: JavaScript, Swift, Kotlin, Flutter, or Node.
Which token do you need
The API has two kinds of endpoint, and they take different bearer tokens.
This quickstart uses an API token. For the SDK endpoints, read Authentication.
Steps
1
Create an API token
In the dashboard, open the Developer tab and click Create Token in the API Token section.Name it after the system that will use it, for example
billing-service, and grant only the scopes that system needs. See API token permissions.2
Find your environment ID
Every request is scoped to an environment. Your environment ID is in the dashboard, and each environment has a separate sandbox and live pair. Use the sandbox one while you are trying things out.
3
Make your first call
Read back your own environment. A
200 confirms the token, the environment ID, and the scopes are all correct.4
Call something useful
List the users in the environment:See Get all users for an environment for filtering and pagination.
curl
If it does not work
The full list is in Standard errors.
Next
Authentication
API tokens, user JWTs, and when to use each.
Endpoints
Every endpoint, grouped by resource.