Most product endpoints accept either header. A few account-level endpoints, such as listing your tenants, expect the JWT. Webhooks and
GET /healthcheck are unauthenticated.
The OpenAPI security scheme is
BearerAuth for JWTs and ApiKeyAuth for the x-api-key header. In the playground, set the token or key once and Mintlify sends it with each request.JWT bearer token
Use a Cognito access token in theAuthorization header.
API key
API keys are per tenant. Create one after you have a tenant ID:Tenant-Id.
PUT or DELETE on /tenant/{tenantId}/api-key/{apiKeyId}.
Tenant-Id header
Any route that does not include{tenantId} in the path, and is not a global settings or webhook route, expects this header:
Endpoints that do not use Tenant-Id
Endpoints that do not use Tenant-Id
Tenant CRUD, tenant members, tenant API keys, invitations, settings, subscription, GitHub callbacks, and
GET /healthcheck do not use the header. They either take tenantId in the path or run outside a tenant.Webhook signatures
Inbound webhooks verify a signature header instead of a user token:- GitHub App:
X-Hub-Signature-256andX-GitHub-EventonPOST /github/webhook - Subscription billing:
x-webhook-signatureonPOST /subscription/webhook