API Reference

Locations API

Manage business locations for multi-location companies. Locations can have associated GMB images and marketing assets.

List Locations

GET/locations

List all locations

bash
curl https://api.twin.actor/api/v1/locations \
  -H "Authorization: Bearer YOUR_TOKEN"

Create Location

POST/locations

Create a new location

Request Body

NameTypeDescription
company_idrequiredintegerParent company ID
namerequiredstringLocation name
addressrequiredstringFull address
phonestringPhone number
gmb_place_idstringGoogle Maps place ID

Get Location

GET/locations/{id}

Get location details

Update Location

PUT/locations/{id}

Update location

Delete Location

DELETE/locations/{id}

Delete location