Making Authenticated Requests
Include the access token in the Authorization header of your API requests:Token Expiration
To refresh an expired access token:Authentication Errors
| Status | Error | Solution |
|---|---|---|
401 | invalid_token | Token is expired or invalid. Refresh the token. |
401 | token_expired | Use your refresh token to get a new access token. |
403 | insufficient_scope | Request additional scopes from the user. |
429 | rate_limited | Too many requests. Implement exponential backoff. |
Best Practices
Store tokens securely
Never expose tokens in client-side code or logs.
Proactively refresh
Refresh tokens before they expire to avoid interruptions.
Handle errors gracefully
Implement proper error handling for auth failures.
Next Steps
App Permissions
Learn about available scopes
API Reference
Make your first API call