Retrieve all test locations available to your API key
curl --request GET \
--url https://anivahealth.com/api/v1/locations \
--header 'x-api-key: YOUR_API_KEY'
[
{
"id": "b7e2d1f5-3c4a-4e8b-a2f1-9d0c1e2f3a4b",
"name": "Aniva Berlin Mitte",
"company_name": "Aniva GmbH",
"address_line_1": "Unter den Linden 42",
"address_line_2": null,
"city": "Berlin",
"state": "Berlin",
"postal_code": "10117",
"country_name": "Germany",
"country_code": "DE",
"timezone": "Europe/Berlin",
"contact_phone": "+4930987654321",
"email": "berlin-mitte@anivahealth.com",
"website": "https://anivahealth.com",
"google_maps_url": "https://maps.google.com/?q=Unter+den+Linden+42+Berlin",
"image_url": "https://cdn.anivahealth.com/locations/berlin-mitte.jpg",
"open_hours": {
"monday": [{ "open": "08:00", "close": "18:00" }],
"tuesday": [{ "open": "08:00", "close": "18:00" }],
"wednesday": [{ "open": "08:00", "close": "18:00" }],
"thursday": [{ "open": "08:00", "close": "18:00" }],
"friday": [{ "open": "08:00", "close": "16:00" }],
"saturday": [],
"sunday": []
}
},
{
"id": "f1a2b3c4-d5e6-4f7a-8b9c-0d1e2f3a4b5c",
"name": "Aniva Helsinki Central",
"company_name": "Aniva Oy",
"address_line_1": "Mannerheimintie 12",
"address_line_2": null,
"city": "Helsinki",
"state": null,
"postal_code": "00100",
"country_name": "Finland",
"country_code": "FI",
"timezone": "Europe/Helsinki",
"contact_phone": "+358912345678",
"email": "helsinki@anivahealth.com",
"website": "https://anivahealth.com",
"google_maps_url": "https://maps.google.com/?q=Mannerheimintie+12+Helsinki",
"image_url": "https://cdn.anivahealth.com/locations/helsinki-central.jpg",
"open_hours": {
"monday": [{ "open": "07:30", "close": "17:00" }],
"tuesday": [{ "open": "07:30", "close": "17:00" }],
"wednesday": [{ "open": "07:30", "close": "17:00" }],
"thursday": [{ "open": "07:30", "close": "17:00" }],
"friday": [{ "open": "07:30", "close": "15:00" }],
"saturday": [],
"sunday": []
}
}
]
id from a returned location when creating an appointment with Create Appointment.
LOCATIONS_VIEW or TEST_SESSIONS_SCHEDULE scope. Requests made with a key that lacks both scopes return 403 Forbidden.200 OK with an array of location objects.
null.null.null.null.null.null.null.DE, US, FI). May be null.Europe/Berlin). May be null.null.null.null.null.null.null.| Status | Description |
|---|---|
403 | Forbidden — missing LOCATIONS_VIEW or TEST_SESSIONS_SCHEDULE scope. |
500 | Internal server error. |
curl --request GET \
--url https://anivahealth.com/api/v1/locations \
--header 'x-api-key: YOUR_API_KEY'
[
{
"id": "b7e2d1f5-3c4a-4e8b-a2f1-9d0c1e2f3a4b",
"name": "Aniva Berlin Mitte",
"company_name": "Aniva GmbH",
"address_line_1": "Unter den Linden 42",
"address_line_2": null,
"city": "Berlin",
"state": "Berlin",
"postal_code": "10117",
"country_name": "Germany",
"country_code": "DE",
"timezone": "Europe/Berlin",
"contact_phone": "+4930987654321",
"email": "berlin-mitte@anivahealth.com",
"website": "https://anivahealth.com",
"google_maps_url": "https://maps.google.com/?q=Unter+den+Linden+42+Berlin",
"image_url": "https://cdn.anivahealth.com/locations/berlin-mitte.jpg",
"open_hours": {
"monday": [{ "open": "08:00", "close": "18:00" }],
"tuesday": [{ "open": "08:00", "close": "18:00" }],
"wednesday": [{ "open": "08:00", "close": "18:00" }],
"thursday": [{ "open": "08:00", "close": "18:00" }],
"friday": [{ "open": "08:00", "close": "16:00" }],
"saturday": [],
"sunday": []
}
},
{
"id": "f1a2b3c4-d5e6-4f7a-8b9c-0d1e2f3a4b5c",
"name": "Aniva Helsinki Central",
"company_name": "Aniva Oy",
"address_line_1": "Mannerheimintie 12",
"address_line_2": null,
"city": "Helsinki",
"state": null,
"postal_code": "00100",
"country_name": "Finland",
"country_code": "FI",
"timezone": "Europe/Helsinki",
"contact_phone": "+358912345678",
"email": "helsinki@anivahealth.com",
"website": "https://anivahealth.com",
"google_maps_url": "https://maps.google.com/?q=Mannerheimintie+12+Helsinki",
"image_url": "https://cdn.anivahealth.com/locations/helsinki-central.jpg",
"open_hours": {
"monday": [{ "open": "07:30", "close": "17:00" }],
"tuesday": [{ "open": "07:30", "close": "17:00" }],
"wednesday": [{ "open": "07:30", "close": "17:00" }],
"thursday": [{ "open": "07:30", "close": "17:00" }],
"friday": [{ "open": "07:30", "close": "15:00" }],
"saturday": [],
"sunday": []
}
}
]
curl --request GET \
--url https://anivahealth.com/api/v1/locations \
--header 'x-api-key: YOUR_API_KEY'
[
{
"id": "b7e2d1f5-3c4a-4e8b-a2f1-9d0c1e2f3a4b",
"name": "Aniva Berlin Mitte",
"company_name": "Aniva GmbH",
"address_line_1": "Unter den Linden 42",
"address_line_2": null,
"city": "Berlin",
"state": "Berlin",
"postal_code": "10117",
"country_name": "Germany",
"country_code": "DE",
"timezone": "Europe/Berlin",
"contact_phone": "+4930987654321",
"email": "berlin-mitte@anivahealth.com",
"website": "https://anivahealth.com",
"google_maps_url": "https://maps.google.com/?q=Unter+den+Linden+42+Berlin",
"image_url": "https://cdn.anivahealth.com/locations/berlin-mitte.jpg",
"open_hours": {
"monday": [{ "open": "08:00", "close": "18:00" }],
"tuesday": [{ "open": "08:00", "close": "18:00" }],
"wednesday": [{ "open": "08:00", "close": "18:00" }],
"thursday": [{ "open": "08:00", "close": "18:00" }],
"friday": [{ "open": "08:00", "close": "16:00" }],
"saturday": [],
"sunday": []
}
},
{
"id": "f1a2b3c4-d5e6-4f7a-8b9c-0d1e2f3a4b5c",
"name": "Aniva Helsinki Central",
"company_name": "Aniva Oy",
"address_line_1": "Mannerheimintie 12",
"address_line_2": null,
"city": "Helsinki",
"state": null,
"postal_code": "00100",
"country_name": "Finland",
"country_code": "FI",
"timezone": "Europe/Helsinki",
"contact_phone": "+358912345678",
"email": "helsinki@anivahealth.com",
"website": "https://anivahealth.com",
"google_maps_url": "https://maps.google.com/?q=Mannerheimintie+12+Helsinki",
"image_url": "https://cdn.anivahealth.com/locations/helsinki-central.jpg",
"open_hours": {
"monday": [{ "open": "07:30", "close": "17:00" }],
"tuesday": [{ "open": "07:30", "close": "17:00" }],
"wednesday": [{ "open": "07:30", "close": "17:00" }],
"thursday": [{ "open": "07:30", "close": "17:00" }],
"friday": [{ "open": "07:30", "close": "15:00" }],
"saturday": [],
"sunday": []
}
}
]