Generate access token
POST/accessToken
Generates an access token for Nobl9 API authentication.
To generate an access token:
- Prepare your access key credentials (
clientId:clientSecret
). - Encode the credentials using Base64.
- Include the encoded value in the
Authorization
header with theBasic
scheme.
For example:
echo -n "clientId:clientSecret" | base64
To retrieve your access key credentials, go to the Nobl9 web application > Settings > User access keys.
For detailed instructions, see User access keys in Nobl9.
Rate limits for access token
The /api/accessToken
endpoint has the following limitations:
- 1 request per 3 seconds per organization
- Returns
429 HTTP
status code when the limit is exceeded
Best practices
- Access tokens are valid for 1 hour
- Reuse tokens before expiration
- Store tokens for use in CI/CD pipelines
- Avoid generating multiple tokens to prevent rate limit issues
Request
Responses
- 200
- 400
- 403
- 429
- 500
Success
Bad request
Forbidden
API call exceeded the rate limit
Internal server error