Create auth token for a driver

Creates a short-lived auth token a driver can use to login.

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

To use this endpoint, select Write Driver Auth Token under the Drivers 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
length ≥ 12

Required. Random 12+ character string, used with the auth token to help secure the client from intercepted tokens.

int64

Optional. Samsara ID of the driver. One of id, externalId, or username is required.

string

Optional. External ID of the driver, in the format key:value (e.g., payrollId:ABFS18600). One of id, externalId, or username is required.

string

Optional. Username of the driver. This is the login identifier configured when the driver is created. One of id, externalId, or username is required.

Responses

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