Driver QR Codes

Create new QR code for driver

Assign a new QR code for the requested driver. Return error if an active QR code already exists.

<b>Rate limit:</b> 100 requests/min (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).

To use this endpoint, select Write Drivers under the Drivers category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

post/drivers/qr-codes

Request

  • Base URL
    https://api.samsara.com
  • Auth
    HTTP bearer

Request body

driverIdinteger required

Unique ID of the driver.

Example request

{
  "driverId": 494123
}

Response

OK response.

Example response

{
  "data": {
    "driverId": 494123,
    "qrCodeLink": "https://cloud.samsara.com/qr_code/18979ef6-663e-446b-8d5a-0ff0781b8bab"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.