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
Authorizationheader with theBasicscheme.
For example:
echo -n "clientId:clientSecret" | base64
To retrieve your personal access key credentials, go to the Nobl9 web application > Settings > My user access keys.
If you need to set up system access without involving a user identity, ask your organization admin for an API key credentials. Ensure this API key has the permission scope that meets your task requirements.
For detailed instructions, see User access keys and API keys.
Rate limits for access token
The /api/accessToken endpoint has the following limitations:
- 1 request per 3 seconds per organization
- Returns
429 HTTPstatus 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