Get Multiple Trips API
Explore how to get multiple trips with our Trip API
Get Multiple Trips
GET
https://api.roam.ai/v2/trips
Returns a list of your trips.
Query Parameters
starting_after
String
A cursor for use in pagination. starting_after is a trip id that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.
ending_before
String
A cursor for use in pagination. ending_before is a trip id that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.
created_at
Condition
A filter on the list based on the object created_at field.
description
Condition
A filter on the list based on the object description field.
trip_state
Condition
A filter on the list based on the object trip_status field.
is_local
Condition
A filter on the list based on the object is_local field.
user_id
Conditon
A filter on the list based on the object user_id field.
limit
Number
A limit on the number of objects to be returned, between 1 and 100.
Headers
Authorization*
String
Bearer <API-KEY>
The following logical operators are generally supported for filters.
Equality operators
Equals eq
Not equals ne
Negation not
In in
Relational operators
Less than lt
Greater than gt
Less than or equal to le
Greater than or equal to ge
Conditional operators
And and
Or or
Functions
Starts with startsWith
Ends with endsWith
Contains contains
Like like
Example
Last updated