> ## 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.

# Dohvati profil

> Dohvati profil pacijenta prema ID-u

Dohvati jedan profil pacijenta prema njegovom UUID-u. Upotrijebi ovaj endpoint za dohvat demografskih podataka ili provjeru postoji li profil prije zakazivanja termina.

Zahtijeva scope `profiles_view` ili `impersonate`.

## Zahtjev

### Parametri putanje

**id** `string` *required*

Jedinstveni identifikator (UUID) profila za dohvat.

## Odgovor

U slučaju uspjeha, API vraća `200 OK` s profilom.

**id** `string` *required*

Jedinstveni identifikator profila (UUID).

**handle** `string`

Oznaka profila ili korisničko ime. Može biti `null`.

**first\_name** `string`

Ime. Može biti `null`.

**last\_name** `string`

Prezime. Može biti `null`.

**email** `string`

E-mail adresa. Može biti `null`.

**phone** `string`

Broj telefona u formatu E.164. Može biti `null`.

**sex** `integer`

Biološki spol prema normi ISO/IEC 5218 (`0` = nepoznato, `1` = muški, `2` = ženski). Može biti `null`.

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

Datum rođenja u formatu `YYYY-MM-DD`. Može biti `null`.

**height** `number`

Visina u centimetrima. Može biti `null`.

**weight** `number`

Težina u kilogramima. Može biti `null`.

**language** `string`

Željeni jezik: `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` ili `uk`.

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

Prima li ovaj profil transakcijske (programske) e-mailove. `null` ako nikada nije postavljeno.

**created\_at** `string`

Vremenska oznaka u formatu ISO 8601 kada je profil izrađen.

**updated\_at** `string`

ISO 8601 vremenska oznaka posljednjeg ažuriranja. Može biti `null`.

## Odgovori s pogreškama

| Status | Opis |
| - | - |
| `400` | Neispravan format ID-a — navedena vrijednost nije valjani UUID. |
| `403` | Zabranjeno — tvoj API ključ nema pristup ovoj operaciji ili je profil izvan tvog konteksta pristupa. |
| `404` | Profil nije pronađen. |
| `500` | Interna pogreška poslužitelja. |

```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.