Mints an access token scoped to a single company, employee, or contractor. The response includes the token secret exactly once. Token create does not honor the Idempotency-Key header. Requires the token:write scope. Available only when the Tokens API is enabled for your organization; otherwise responds with 404. Authenticate with a Check API key or a Check Console session access token.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Early accessThe Tokens API is enabled per organization. If it is not enabled for yours, the token endpoints respond as if they do not exist. Contact your Check representative to request access.
Mint a token with either a scope preset (read_only or read_write) or an explicit list of canonical scopes — not both. The granted scopes are narrowed to those your caller already holds. expires_at must be in the future and at most seven days ahead. The response is the only time the secret is returned.
Errors
All validation failures respond with 400 and one of the error types below in error.type.
| Error type | Cause |
|---|---|
validation_error | The body is malformed. This includes providing both preset and scopes, an empty scopes list, or an unknown preset value. input_errors names the field. |
token_expires_invalid | expires_at is in the past or more than seven days from now. |
entity_not_found | The entity does not exist or does not belong to your account. |
invalid_scopes | One or more scope names are not known. invalid_scopes maps each bad name to a reason. Use List scopes for the valid names. |
empty_scopes | After narrowing to the scopes your caller holds, nothing remains to grant. |
Callers that may not use the Tokens API, such as tokens minted here, receive 403. When the Tokens API is not enabled for your organization, the endpoint responds with 404.

