How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Samsara Codes API

The Codes API from Samsara — 1 operation(s) for codes.

Samsara Codes API is one of 90 APIs that Samsara publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Codes. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a GitHub repository.

This API exposes 3 operations across 1 path, and defines 35 schemas. It is described by OpenAPI 3.0.1, at version 2024-11-18.

Requests are made against 2 base URLs: https://api.samsara.com/, https://api.eu.samsara.com/.

3 operations 1 paths 35 schemas 1 DELETE1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
2024-11-18
Base URL
https://api.samsara.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Samsara Codes API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (AccessTokenHeader). By default, every request must be authenticated.

Paths & Operations 3

Across 1 path, the API surfaces 3 operations — 1 DELETE, 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Codes 3
DELETE
/drivers/qr-codes
Revoke Driver's QR Code
deleteDriverQrCode body → 204401404405429500501502
GET
/drivers/qr-codes
Get Driver QR Codes
getDriversQrCodes 1 param → 200401404405429500501502
POST
/drivers/qr-codes
Create New QR Code for Driver
createDriverQrCode body → 200401404405429500501502

Schemas 35

The contract defines 35 schemas that model the data the API accepts and returns. The most detailed are DriverQrCodesGetDriversQrCodesMethodNotAllowedErrorResponseBody (2 properties), DriverQrCodesDeleteDriverQrCodeGatewayTimeoutErrorResponseBody (2 properties), DriverQrCodesGetDriversQrCodesGatewayTimeoutErrorResponseBody (2 properties), DriverQrCodesGetDriversQrCodesServiceUnavailableErrorResponseBody (2 properties). Each schema is shown below with its type and property counts.

DriverQrCodesDeleteDriverQrCodeUnauthorizedErrorResponseBody
object
Unauthorized
2 properties 2 required
DriverQrCodesGetDriversQrCodesGatewayTimeoutErrorResponseBody
object
Gateway timeout
2 properties 2 required
DriverQrCodesDeleteDriverQrCodeGatewayTimeoutErrorResponseBody
object
Gateway timeout
2 properties 2 required
DriverQrCodesGetDriversQrCodesMethodNotAllowedErrorResponseBody
object
Method not allowed
2 properties 2 required
DriverQrCodesGetDriversQrCodesNotFoundErrorResponseBody
object
Resource not found
2 properties 2 required
DriverQrCodesCreateDriverQrCodeMethodNotAllowedErrorResponseBody
object
Method not allowed
2 properties 2 required
DriverQrCodesDeleteDriverQrCodeServiceUnavailableErrorResponseBody
object
Service unavailable
2 properties 2 required
DriverQrCodesGetDriversQrCodesUnauthorizedErrorResponseBody
object
Unauthorized
2 properties 2 required
DriverQrCodesCreateDriverQrCodeNotFoundErrorResponseBody
object
Resource not found
2 properties 2 required
DriverQrCodesDeleteDriverQrCodeNotFoundErrorResponseBody
object
Resource not found
2 properties 2 required
DriverQrCodesGetDriversQrCodesBadRequestErrorResponseBody
object
Bad Request parameters
2 properties 2 required
DriverQrCodesGetDriversQrCodesResponseBody
object
1 property 1 required
DriverQrCodesCreateDriverQrCodeResponseBody
object
1 property 1 required
DriverQrCodesGetDriversQrCodesBadGatewayErrorResponseBody
object
Bad Gateway
2 properties 2 required
DriverQrCodesDeleteDriverQrCodeRequestBody
object
Driver to revoke active QR code from.
1 property 1 required
DriverQrCodesGetDriversQrCodesInternalServerErrorResponseBody
object
An internal server error occurred
2 properties 2 required
DriverQrCodesCreateDriverQrCodeRequestBody
object
Driver to assign a new QR code to.
1 property 1 required
DriverQrCodesCreateDriverQrCodeGatewayTimeoutErrorResponseBody
object
Gateway timeout
2 properties 2 required
DriverQrCodesCreateDriverQrCodeServiceUnavailableErrorResponseBody
object
Service unavailable
2 properties 2 required
DriverQrCodesDeleteDriverQrCodeInternalServerErrorResponseBody
object
An internal server error occurred
2 properties 2 required
DriverQrCodesCreateDriverQrCodeTooManyRequestsErrorResponseBody
object
Too many requests
2 properties 2 required
QrCodeResponseObjectResponseBody
object
A single document.
2 properties 1 required
DriverQrCodesDeleteDriverQrCodeBadGatewayErrorResponseBody
object
Bad Gateway
2 properties 2 required
DriverQrCodesGetDriversQrCodesNotImplementedErrorResponseBody
object
Requested endpoint is not yet implemented
2 properties 2 required
DriverQrCodesDeleteDriverQrCodeBadRequestErrorResponseBody
object
Bad Request parameters
2 properties 2 required
DriverQrCodesCreateDriverQrCodeUnauthorizedErrorResponseBody
object
Unauthorized
2 properties 2 required
DriverQrCodesCreateDriverQrCodeBadRequestErrorResponseBody
object
Bad Request parameters
2 properties 2 required
DriverQrCodesCreateDriverQrCodeNotImplementedErrorResponseBody
object
Requested endpoint is not yet implemented
2 properties 2 required
DriverQrCodesDeleteDriverQrCodeTooManyRequestsErrorResponseBody
object
Too many requests
2 properties 2 required
DriverQrCodesCreateDriverQrCodeInternalServerErrorResponseBody
object
An internal server error occurred
2 properties 2 required
DriverQrCodesCreateDriverQrCodeBadGatewayErrorResponseBody
object
Bad Gateway
2 properties 2 required
DriverQrCodesDeleteDriverQrCodeNotImplementedErrorResponseBody
object
Requested endpoint is not yet implemented
2 properties 2 required
DriverQrCodesDeleteDriverQrCodeMethodNotAllowedErrorResponseBody
object
Method not allowed
2 properties 2 required
DriverQrCodesGetDriversQrCodesTooManyRequestsErrorResponseBody
object
Too many requests
2 properties 2 required
DriverQrCodesGetDriversQrCodesServiceUnavailableErrorResponseBody
object
Service unavailable
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

samsara-codes-api-openapi.yml Raw ↑

Other APIs Samsara publishes across the network.

Samsara Activity API
Samsara Addresses API
Samsara Aemp API
Samsara Applications API
Samsara Assets API
Samsara Assignments API
Samsara Attributes API
Samsara Audit API
Samsara Beta A P Is API
Samsara Camera API
Samsara Cameras API
Samsara Cargo API
Where this information came from

This is an independent, third-party profile of Samsara Codes API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.