Core
Early access
Company API v4 is the next-generation API and is under active development. Endpoints and fields may still change.
List all locations
List all locations
List all locations
Query Parameters
page?integer
Page offset to fetch.
Format
int32Default
1per_page?integer
Number of results to return per page.
Format
int32Default
50offset?integer
Pad a number of results.
Format
int32Default
0Response Body
application/json
curl -X GET "https://example.com/api/v4/locations"{ "data": [ { "id": 0, "name": "string", "country_code": "string", "address": "string", "time_zone": "string", "holiday_policy_id": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "metadata": { "page": 0, "per_page": 0, "total_pages": 0, "total_count": 0 }}