Skip to main content
GET
/
api
/
v1
/
locations
Get Locations
curl --request GET \
  --url https://api.athenahq.ai/api/v1/locations \
  --header 'x-api-key: <api-key>'
{
  "locations": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "location": "United States"
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Query Parameters

website_id
string<uuid>
required

The ID of the website to retrieve locations for

Response

Successful response with list of locations

locations
object[]
required