Create a batch of routes. The individual routes within the request will not be persisted atomically or transactionally. Each will be effectively handled as its own POST request after validating the request formatting & length. This endpoint will attempt to create all routes and return synchronously. The ordering of the input routes will correspond to the ordering of the response objects so customers can map them together.
Rate limit: 100 requests/min (learn more about rate limits here).
To use this endpoint, select Write Routes under the Driver Workflow category when creating or editing an API token. Learn More.
Endpoints in this section are in Preview. These APIs are not functional and are instead for soliciting feedback from our API users on the intended design of this API. Additionally, it is not guaranteed that we will be releasing an endpoint included in this section to production. This means that developers should NOT rely on these APIs to build business critical applications
-
Samsara may change the structure of a preview API's interface without versioning or any notice to API users.
-
When an endpoint becomes generally available, it will be announced in the API changelog.
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.