Retrieve the driver's unique QR code as an inline base64 encoded .png image

Get the driver QR code using the inline image. This API will be implemented for driver check-in with the future v3.12 firmware upgrade.

Request
Security:
path Parameters
driverId
required
string (driverId)

The unique ID of the driver. The ID is generated automatically by the Surfsight system when creating the driver in an organization. This is not the driver code that is used for assigning to devices. Obtain this from GET /drivers.

Example: qwerty12345
query Parameters
organizationId
string (Organization ID as string) ^[1-9]\d*$

Filter by the ID of the organization. Obtain this from GET /organizations. (Organization ID is required for partner token.)

Example: organizationId=17
Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

get/drivers/{driverId}/qr-code
Request samples
curl -i -X GET \
  'https://api-prod.surfsight.net/v2/drivers/:driverId/qr-code?organizationId=17' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "data": "string",
  • "requestId": "df5fg-45fgfdsg-45fg-45454"
}