Skip to main content
GET
/
locations
/
{location_id}
Get Location
curl --request GET \
  --url https://playground.answeringagent.com/api/v1/locations/{location_id} \
  --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

Path Parameters

location_id
integer
required

The ID of the location

Response

Location details

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>