Skip to main content
GET
/
locations
cURL
curl --request GET \
  --url https://api.caspen.com/v1/locations
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "email": "<string>",
      "phone": "<string>",
      "timezone": "<string>",
      "country_code": "<string>",
      "online_booking": true,
      "abn": "<string>",
      "ndis_number": "<string>",
      "logo_id": "<string>",
      "image_id": "<string>",
      "service_ids": [
        "<string>"
      ],
      "practitioner_ids": [
        "<string>"
      ],
      "opening_hours": {
        "mon_active": true,
        "mon_opens_at": "<string>",
        "mon_closes_at": "<string>",
        "tue_active": true,
        "tue_opens_at": "<string>",
        "tue_closes_at": "<string>",
        "wed_active": true,
        "wed_opens_at": "<string>",
        "wed_closes_at": "<string>",
        "thu_active": true,
        "thu_opens_at": "<string>",
        "thu_closes_at": "<string>",
        "fri_active": true,
        "fri_opens_at": "<string>",
        "fri_closes_at": "<string>",
        "sat_active": true,
        "sat_opens_at": "<string>",
        "sat_closes_at": "<string>",
        "sun_active": true,
        "sun_opens_at": "<string>",
        "sun_closes_at": "<string>"
      },
      "address": {
        "line1": "<string>",
        "line2": "<string>",
        "city": "<string>",
        "state": "<string>",
        "postal_code": "<string>",
        "country_code": "<string>"
      },
      "created_at": "<string>"
    }
  ],
  "links": {
    "prev": "<string>",
    "next": "<string>"
  }
}

Query Parameters

cursor
string
limit
integer
Required range: 1 <= x <= 100

Response

Paginated set of LocationResource

data
LocationResource · object[]
required