List all points of interest

Retrieve the points of interest available to an account: the account's own and the built-in ones provided by Sensos. Result order is not specified.

Path Params
string
required

ID of the account. An account you don't have access to returns 403.

Query Params
string

Filter by name. Case-insensitive; supports * as a wildcard (for example *port*).

string

Filter by reference ID (exact match).

boolean

true returns only built-in points of interest, false only the account's own. Omit to return both.

type
array of objects, unique

Filter by type. Repeat the parameter for several types (?type=Airport&type=SeaPort).

id
array of strings, unique

Filter by ID. Repeat the parameter for several IDs (?id=a&id=b).

id
string

Opaque cursor from metadata.nextCursor of the previous page. Omit it for the first page. Cursors expire after 2 days; an invalid or expired cursor returns 400.

int32
≤ 100
Defaults to 50

Maximum number of results per page. Default 50, maximum 100; values outside 1-100 are clamped.

boolean
Defaults to false

When true, the response includes metadata.total.

Responses

401

Missing, invalid or expired access token. Returned by the gateway with an empty body.

403

The token lacks the required permission, the account is not accessible to the caller, or the tenant is inactive. Returned by the gateway with an empty body.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json