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 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 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