client_id and client_secret with the OAuth2 client-credentials grant, and you send it as the bearer on every platform endpoint.
- Tokens live one hour. There are no refresh tokens on this grant. When one expires, exchange again.
- A sandbox client mints sandbox tokens; a production client mints production tokens. The host is the same.
- Get credentials in the dashboard under Organization → Developer → Credentials.
The access token object
api_v2 object: organization_id and test_mode (true for a sandbox client).