List Locations
Returns a list of your locations.
Query parameters
Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
Filter the locations using one of the available filters.
{
"created_at": {
"conditions": {
"$after": "2024-01-01T00:00:00.000Z",
"$before": "2024-01-01T00:00:00.000Z"
}
},
"updated_at": {
"conditions": {
"$after": "2024-01-01T00:00:00.000Z",
"$before": "2024-01-01T00:00:00.000Z"
}
}
}A filter on the list based on the end date. This will filter out all locations whose end date falls before the specified date and time. A date value must be presented in the ISO 8601 format (2016-11-16T14:14:31Z or 2016-11-16).
Response
Returns a dictionary that contains an array of locations. Each entry in the array is a separate location object. If no more locations are available, the resulting array will be empty. The result can be narrowed down according to specified (or default) filters.
Example response
{
"data": [
{
"id": "loc_NoMGXmHO9OUs7iz9mGWpamma",
"shape": {
"distance": {
"center": "geo:40.79372699823857,-74.15092132694554"
}
},
"created_at": "2022-02-14T15:12:06.817Z",
"updated_at": "2022-03-14T15:12:06.817Z"
}
]
}