cURL
curl --request GET \ --url https://api.rntor.com/v1/locations \ --header 'Authorization: Bearer <token>' \ --header 'X-Client-ID: <api-key>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "Downtown Office", "address": "123 Main Street", "city": "New York", "country": "US", "timezone": "America/New_York", "is_active": true, "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-14T15:30:00Z" } ], "pagination": { "page": 1, "per_page": 20, "total": 5, "total_pages": 1, "has_more": false }, "meta": { "request_id": "req_abc123def456", "timestamp": "2024-01-15T10:30:00Z" } }
Retrieve a list of locations
Your API client secret
Your API client ID
Page number
x >= 1
Items per page
1 <= x <= 100
Successful response
Show child attributes