List locations for a specific hub
Note: This endpoint is deprecated. Use GET /places instead. Access closes for new customers on November 1, 2026, and the endpoint will be removed on November 1, 2027. It will continue to function as documented until then. See the migration guide.
Retrieve locations for a specific hub.
<b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
To use this endpoint, select Read Routes under the Driver Workflow category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
Request
- Base URLhttps://api.samsara.com
- AuthHTTP bearer
Query parameters
The hub identifier
A comma-separated list of location IDs that can be used for filtering
A comma-separated list of customer provided location IDs that can be used for filtering
Time filter of when the location was updated, in RFC 3339 format
Time filter of when the location was updated, in RFC 3339 format
If specified, should be the endCursor from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
Maximum number of objects to return. Default and maximum is 100
Response
OK response.
Example response
{
"data": [
{
"address": "123 Industrial Blvd, Los Angeles, CA 90210, US",
"createdAt": "2024-01-15T10:30:00Z",
"customerLocationId": "LOC-123",
"driverInstructions": "sample instructions",
"hubId": "550e8400-e29b-41d4-a716-446655440000",
"id": "750e8400-e29b-41d4-a716-446655440002",
"latitude": 34.0522,
"longitude": -118.2437,
"name": "Customer ABC Warehouse",
"plannerNotes": "sample note",
"serviceTimeSeconds": 1800,
"serviceWindows": [
{
"daysOfWeek": [
"monday",
"monday"
],
"endTime": "17:00:00",
"startTime": "08:00:00"
}
],
"skillsRequired": [
{
"id": "650e8400-e29b-41d4-a716-446655440001",
"name": "Heavy Lifting"
}
],
"updatedAt": "2024-01-15T10:30:00Z"
}
],
"pagination": {
"endCursor": "YXJyYXljb25uZWN0aW9uOjEwMA=="
}
}Changes
No recorded changes to this operation across all 1 revision of this API.