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

# Profili getir

> Hasta profilini ID ile getir

Tek bir hasta profilini UUID'siyle al. Demografik verileri sorgulamak veya randevu planlamadan önce bir profilin var olduğunu doğrulamak için bu uç noktayı kullan.

`profiles_view` veya `impersonate` kapsamı gerekir.

## İstek

### Yol parametreleri

**id** `string` *required*

Alınacak profilin benzersiz kimliği (UUID).

## Yanıt

İşlem başarılı olursa API, profille birlikte `200 OK` döndürür.

**id** `string` *required*

Benzersiz profil kimliği (UUID).

**handle** `string`

Profil tanıtıcısı veya kullanıcı adı. `null` olabilir.

**first\_name** `string`

Ad. `null` olabilir.

**last\_name** `string`

Soyad. `null` olabilir.

**email** `string`

E-posta adresi. `null` olabilir.

**phone** `string`

E.164 biçiminde telefon numarası. `null` olabilir.

**sex** `integer`

ISO/IEC 5218'e göre biyolojik cinsiyet (`0` = bilinmiyor, `1` = erkek, `2` = kadın). `null` olabilir.

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

`YYYY-MM-DD` biçiminde doğum tarihi. `null` olabilir.

**height** `number`

Santimetre cinsinden boy. `null` olabilir.

**weight** `number`

Kilogram cinsinden kilo. `null` olabilir.

**language** `string`

Tercih edilen dil: `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` veya `uk`.

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

Bu profilin işlemsel (programatik) e-postaları alıp almayacağı. Hiç ayarlanmadığında `null`.

**created\_at** `string`

Profilin oluşturulduğu zamanın ISO 8601 zaman damgası.

**updated\_at** `string`

Son güncellemenin ISO 8601 zaman damgası. `null` olabilir.

## Hata yanıtları

| Durum | Açıklama |
| - | - |
| `400` | Geçersiz ID biçimi — verilen değer geçerli bir UUID değil. |
| `403` | Erişim reddedildi — API anahtarının bu işleme erişimi yok veya profil erişim bağlamının dışında. |
| `404` | Profil bulunamadı. |
| `500` | Dahili sunucu hatası. |

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