Profielen
Profiel ophalen
Een patiëntprofiel ophalen op ID
GET
/
api
/
v1
/
profiles
/
{id}
curl --request GET \
--url https://anivahealth.com/api/v1/profiles/a3f1c2d4-8b7e-4f2a-9c1d-2e3f4a5b6c7d \
--header 'x-api-key: YOUR_API_KEY'
{
"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"
}
{
"error": "id: Invalid profile ID format"
}
{
"error": "Profile not found"
}
Haal een enkel patiëntprofiel op via de UUID. Gebruik dit endpoint om demografische gegevens op te zoeken of te controleren of een profiel bestaat voordat je een afspraak inplant.
Vereist de scope
profiles_view of impersonate.
Verzoek
Padparameters
Respons
Bij succes geeft de API200 OK terug met het profiel.
Voorkeurstaal:
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 of uk.Of dit profiel transactionele (programmatische) e-mails ontvangt.
null als dit nooit is ingesteld.Foutresponsen
| Status | Beschrijving |
|---|---|
400 | Ongeldig ID-formaat — de opgegeven waarde is geen geldige UUID. |
403 | Geen toegang — je API-sleutel heeft geen toegang tot deze bewerking of het profiel valt buiten je toegangscontext. |
404 | Profiel niet gevonden. |
500 | Interne serverfout. |
curl --request GET \
--url https://anivahealth.com/api/v1/profiles/a3f1c2d4-8b7e-4f2a-9c1d-2e3f4a5b6c7d \
--header 'x-api-key: YOUR_API_KEY'
{
"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"
}
{
"error": "id: Invalid profile ID format"
}
{
"error": "Profile not found"
}
⌘I
curl --request GET \
--url https://anivahealth.com/api/v1/profiles/a3f1c2d4-8b7e-4f2a-9c1d-2e3f4a5b6c7d \
--header 'x-api-key: YOUR_API_KEY'
{
"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"
}
{
"error": "id: Invalid profile ID format"
}
{
"error": "Profile not found"
}