# CreateTokenRequest

Fields, types, and constraints for CreateTokenRequest.

Canonical: https://commentary.dev/docs/reference/schemas/create-token-request

Released API schema for `CreateTokenRequest`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `label` | string | No |  |
| `scopes` | string or array of [ExternalScope](/docs/reference/schemas/external-scope) | No |  |
| `target` | [TokenTarget](/docs/reference/schemas/token-target) | No |  |
| `expiresAt` | string or null | No | Format: date-time. |

## Full schema

[Download this schema](/docs/reference/schemas/create-token-request.json) or use the [complete OpenAPI document](/docs/reference/openapi.json) to resolve all references.

## Related reference

[Browse API endpoints](/docs/reference/api-operations).
