List locations

This endpoint retrieves a list of locations based on various parameters. At least one of _id, sourceId, _createdAt or _updatedAt must be provided.

Query Params
_id
array of strings

List of location IDs

_id
string

Location source ID (default: work)

string

Selector object for created at timestamp — supports $gt (greater than) and $lt (less than) attributes using Unix timestamp(s) in milliseconds

string

Selector object for updated at timestamp — supports $gt (greater than) and $lt (less than) attributes using Unix timestamp(s) in milliseconds

integer

Skip from index count (default: 0)

integer

Number of items to return (default: 10, max: 100)

string
Defaults to { _updatedAt: 1 }

Field(s) to sort by (sort options : 1 for ascending, -1 for descending)

Headers
string
required

Session ID

Responses

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json