v1

latestSwagger 2.02026-08-06114161439.7 KB
misc

Add or update new locations to Geolocations list

Creates a new geo-routing location or updates an existing location configuration. Geo-routing locations define geographic areas and associated routing rules for location-based call handling.

post/misc/geo/locations

Request body

location_route_idinteger

Location id of an existing location to update. Type: integer.

location_idinteger required

GeoRoute list id. Type: integer.

route_locationstring required

Location name. Type: string.

route_addressstring required

Location address. Type: string.

route_citystring required

Location city name. Type: string.

route_statestring required

Location state name. Type: string.

route_zipstring required

Location Zip code. Type: string.

route_targetstring required

Location phone number. Type: string.

claimed_statesstring

Location claimed state. Type: string.

claimed_zipstring

Location claimed zip. Type: string.

hunt_type'roundrobin' | 'overflow' | 'simultaneous' | 'rollover'

hunt_type. Type: enum (string); Allowed values: roundrobin, overflow, simultaneous, rollover.

Response

Created or updated location ID with confirmation status

resultstring required

Outcome of the request. String, typically 'success' or 'error'.

errstring required

Error message when result='error'. String. Empty/null on success.

datastring

Response payload. Shape varies by endpoint.