[beta] Create a ridership route setup.

Create the passenger assignment setup for a route.

Rate limit: 100 requests/min (learn more about rate limits here).

To use this endpoint, select Write Ridership under the Ridership category when creating or editing an API token. Learn More.

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.

Body Params
string
required

The Samsara UUID of the ridership account.

passengers
array of objects
required

List of passenger assignments for the route.

passengers*
string
required

The route ID. This is the Samsara route ID returned by the Routing API.

Responses

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