Skip to content

API Authentication

The JengaStack REST API uses bearer token authentication for all management operations.

Generating an API Token

  1. Log in to your JengaStack dashboard at https://jengastack.app.
  2. Navigate to Account Settings > Developer API.
  3. Click Generate New Token.
  4. Give your token a label (e.g. ci-deployment-key) and assign required scopes.
  5. Copy the generated secret token.

Authorization Header

Include the token in all HTTP request headers:

Authorization: Bearer <your-api-token>

Error Responses

HTTP Status Error Code Description
401 Unauthorized ERR_AUTH_MISSING No Authorization header provided.
401 Unauthorized ERR_TOKEN_INVALID Token has expired or was revoked.
403 Forbidden ERR_INSUFFICIENT_SCOPE Token does not have permission for this resource.