Create a new location under the specified workspace.
cURL
curl --request POST \ --url https://api.selcor.ai/v1/workspaces/{workspaceId}/locations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Downtown Office", "timezone": "America/New_York", "phone_number": "<string>", "address": "<string>", "website_url": "<string>" } '
{ "data": { "id": "<string>", "workspace_id": "<string>", "name": "<string>", "timezone": "<string>", "phone_number": "<string>", "address": "<string>", "website_url": "<string>", "activated": true, "booking_enabled": true, "provider_selection_mode": "<string>", "agent_setup_status": "<string>", "voice_agent_id": "<string>", "created_at": "<string>", "updated_at": "<string>" }, "request_id": "<string>" }
API key in format: sk_live_...
1 - 200
"Downtown Office"
"America/New_York"
Location created
Show child attributes
Was this page helpful?