# TelehealthToken

Model ID: `TelehealthToken`

Response body for `telehealth.createPatientToken` and `telehealth.createProviderToken`.

Type: `object`

## Fields

| Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `app_id` | `string` | Yes |  |  |  | No | Agora application ID the token was issued for. |
| `channel_id` | `string` | Yes |  |  |  | No | Agora channel identifier this token grants access to. |
| `expires_at` | `string` | Yes | date-time |  |  | No | UTC timestamp when the token expires, in ISO 8601 date-time format. |
| `role` | `string` | Yes |  |  |  | No | Agora role granted by this token: `patient` (subscriber) or `provider` (publisher). |
| `rtc_token` | `string` | Yes |  |  |  | No | Signed, time-limited Agora RTC token used to join the channel. |
| `ttl_seconds` | `integer` | Yes |  |  |  | No | Token lifetime in seconds from issuance, configured by `AGORA_RTC_TOKEN_TTL_SECONDS`. |
| `uid` | `integer` | Yes |  |  |  | No | Normalized integer Agora user id embedded in the token. |

## Example

None declared in canonical OpenAPI.
