Skip to main content

Generate access token

POST 

/accessToken

Generates an access token for Nobl9 API authentication.

To generate an access token:

  1. Prepare your access key credentials (clientId:clientSecret).
  2. Encode the credentials using Base64.
  3. Include the encoded value in the Authorization header with the Basic 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

Success