# PatientLoginResponse

Model ID: `patient.LoginResponse`

Response for POST /auth/login.

Type: `object`

## Fields

| Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `access_token` | `string` | Yes |  |  |  | No | Cognito access token (JWT) for subsequent Bearer-authenticated requests. |
| `athena_patient_id` | `string|null` | No |  |  |  | Yes | Athena Health patient ID, when this tenant is Athena-integrated and the patient was linked at registration. |
| `cognito_sub` | `string|null` | No |  |  |  | Yes | Cognito user's stable `sub` claim. |
| `expires_in` | `integer` | Yes |  |  |  | No | Access token lifetime in seconds. |
| `fhir_patient_id` | `string|null` | No |  |  |  | Yes | FHIR Patient resource ID resolved for this user, when found. |
| `id_token` | `string|null` | No |  |  |  | Yes | Cognito ID token (JWT), when issued. |
| `openloop_patient_id` | `string|null` | No |  |  |  | Yes | Healthie (OpenLoop) patient/user ID, when this tenant is OpenLoop-integrated and the patient was linked at registration. |
| `refresh_token` | `string|null` | No |  |  |  | Yes | Cognito refresh token used to obtain a new access token without signing in again. |
| `steadymd_patient_guid` | `string|null` | No |  |  |  | Yes | SteadyMD patient GUID, when this tenant is SteadyMD-integrated and the patient was linked at registration. |
| `telehealth_id` | `integer|null` | No |  |  |  | Yes | Telehealth platform numeric user ID, when the patient has an associated telehealth account. |
| `token_type` | `string` | No |  |  | `"Bearer"` | No | OAuth token type returned by Cognito. |

## Example

None declared in canonical OpenAPI.
