API Reference
Locations API
Manage business locations for multi-location companies. Locations can have associated GMB images and marketing assets.
List Locations
GET
/locationsList all locations
bash
curl https://api.twin.actor/api/v1/locations \
-H "Authorization: Bearer YOUR_TOKEN"Create Location
POST
/locationsCreate a new location
Request Body
| Name | Type | Description |
|---|---|---|
company_idrequired | integer | Parent company ID |
namerequired | string | Location name |
addressrequired | string | Full address |
phone | string | Phone number |
gmb_place_id | string | Google 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