Authenticate via API
Use the/service-accounts/token endpoint to obtain a bearer token.
Request
Response
The token expires in 4 hours (14400 seconds). Use the
accessToken in the Authorization: Bearer {token} header for subsequent requests.Using the Token
Include the access token in all API requests:Environment Variables
For convenience, set these variables in your shell:Token Refresh
When your token expires (after 4 hours), simply request a new one using the same/service-accounts/token endpoint with your clientId and clientSecret.