Skip to main content
GET
/
locations
List Locations
curl --request GET \
  --url https://playground.answeringagent.com/api/v1/locations \
  --header 'X-API-KEY: <api-key>'
[
  {
    "id": 123,
    "name": "<string>",
    "phone_number": "<string>",
    "status": "pending",
    "address": "<string>",
    "google_place_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

X-API-KEY
string
header
required

Query Parameters

organization_id
integer

Filter locations by organization ID

Response

Array of locations

id
integer
name
string
phone_number
string | null
status
enum<string>
Available options:
pending,
active
address
string | null
google_place_id
string | null
created_at
string<date-time>
updated_at
string<date-time>