> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anivahealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Hent profil

> Hent en patientprofil ud fra ID

Hent en enkelt patientprofil ud fra dens UUID. Brug dette endpoint til at slå demografiske data op eller bekræfte, at en profil findes, før du booker en tid.

Kræver scopet `profiles_view` eller `impersonate`.

## Forespørgsel

### Stiparametre

**id** `string` *required*

Unikt id (UUID) på den profil, der skal hentes.

## Svar

Ved succes returnerer API'et `200 OK` med profilen.

**id** `string` *required*

Unikt profil-id (UUID).

**handle** `string`

Profil-handle eller brugernavn. Kan være `null`.

**first\_name** `string`

Fornavn. Kan være `null`.

**last\_name** `string`

Efternavn. Kan være `null`.

**email** `string`

E-mailadresse. Kan være `null`.

**phone** `string`

Telefonnummer i E.164-format. Kan være `null`.

**sex** `integer`

Biologisk køn efter ISO/IEC 5218 (`0` = ukendt, `1` = mand, `2` = kvinde). Kan være `null`.

**date\_of\_birth** `string`

Fødselsdato i `YYYY-MM-DD`-format. Kan være `null`.

**height** `number`

Højde i centimeter. Kan være `null`.

**weight** `number`

Vægt i kilogram. Kan være `null`.

**language** `string`

Foretrukket sprog: `en`, `bg`, `ca`, `cs`, `da`, `de`, `el`, `es`, `et`, `fi`, `fr`, `ga`, `hr`, `hu`, `is`, `it`, `lb`, `lt`, `lv`, `mt`, `nl`, `no`, `pl`, `pt`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `tr` eller `uk`.

**transactional\_emails\_enabled** `boolean`

Om denne profil modtager transaktionelle (automatiske) e-mails. `null`, hvis den aldrig er angivet.

**created\_at** `string`

ISO 8601-tidsstempel for, hvornår profilen blev oprettet.

**updated\_at** `string`

ISO 8601-tidsstempel for den seneste opdatering. Kan være `null`.

## Fejlsvar

| Status | Beskrivelse |
| - | - |
| `400` | Ugyldigt id-format — den angivne værdi er ikke et gyldigt UUID. |
| `403` | Forbudt — din API-nøgle har ikke adgang til denne handling, eller profilen ligger uden for din adgangskontekst. |
| `404` | Profilen blev ikke fundet. |
| `500` | Intern serverfejl. |

```bash cURL theme={null}
curl --request GET \
  --url https://anivahealth.com/api/v1/profiles/a3f1c2d4-8b7e-4f2a-9c1d-2e3f4a5b6c7d \
  --header 'x-api-key: YOUR_API_KEY'
```

```json 200 theme={null}
{
  "id": "a3f1c2d4-8b7e-4f2a-9c1d-2e3f4a5b6c7d",
  "handle": null,
  "first_name": "Maria",
  "last_name": "Schmidt",
  "email": "maria.schmidt@example.com",
  "phone": "+4930123456789",
  "sex": 2,
  "date_of_birth": "1985-03-22",
  "height": 168,
  "weight": 65,
  "language": "de",
  "transactional_emails_enabled": true,
  "created_at": "2026-04-01T09:14:32Z",
  "updated_at": "2026-04-01T11:05:00Z"
}
```

```json 400 theme={null}
{
  "error": "id: Invalid profile ID format"
}
```

```json 404 theme={null}
{
  "error": "Profile not found"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.