Headers

A set of HTTP headers must be set when making a request to OCTO API.

These headers can include both standard HTTP headers as well as some custom OCTO API headers. Below are the standard request headers and OCTO custom headers that are required to use:

Request Headers

Header
Required
Description

Authorization

Required

Your Authentication Bearer token.

Content-Type

Required

This must be application/json for all POST PATCH and DELETE requests.

Octo-Capabilities

Required

A list of the Capabilities (their IDs) to be included in the response. See Endpoints and Capabilities to learn more about Capabilities.

Response Headers

Header
Required
Description

Content-Type

Required

application/json

Octo-Capabilities

Required

A list of the Capabilities (their IDs) initialized with your request. See Endpoints and Capabilities to learn more about Capabilities.

Last updated