Authentication

OCTO uses Bearer authentication. To authenticate requests, send an API key as a Bearer token in the Authorization header:

Authorization: Bearer {your_API_key}

The supplier issues your API key by creating a connection for your reseller account in Ventrata. The same connection also controls product access and applicable pricing.

The API key is a UUID value, for example: 5bd1629a-323e-4edb-ac9b-327ef51e6136

To obtain an API key for Ventrata's test supplier account during development, see Testing Credentials.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail.

Requests without authentication fail. If the token is invalid or deactivated by the supplier, the API returns 403 Forbidden.

Every POST, PATCH, and DELETE request must use the Content-Type: application/json header, and the request body must be a JSON-encoded string. Every endpoint will return JSON unless otherwise stated.

Last updated