Basics

What you need to do to do your first request

Authentication

First, you must obtain your OCTO API Key. See Request Access for details.

OCTP uses Bearer authentication which you can use to authenticate:

GET integrations/octo/products HTTP/1.1
Host: octo.peek.com
Authorization: Bearer 5bd1629a-323e-4edb-ac9b-327ef51e6136

All communication must be sent over HTTPS

If the token is invalid or is deactivated a HTTP 403 Forbidden error will be returned.

JSON Content Type

Every POST, PATCH and DELETE request must use 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