# OAuthToken

Fields, types, and constraints for OAuthToken.

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

Released API schema for `OAuthToken`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `access_token` | string | Yes |  |
| `refresh_token` | string | Yes |  |
| `token_type` | `"Bearer"` | Yes |  |
| `expires_in` | integer | Yes |  |
| `scope` | string | Yes | Space-delimited scopes actually granted to this token. Registered OAuth clients may receive a subset of requested scopes. |

## Full schema

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

## Related reference

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