Last updated

Request Headers

Mandatory headers are required with every request. We strongly recommend including the Accept-Encoding header if your client supports compression as this will make the API much more responsive.

Header NameValueRequiredComments
Content-Typeapplication/jsonyesAll requests must specify application/json as the Content-Type.
AuthorizationBearer myAPIkeyyesYou can register a new Collective2 API key by logging on to Collective2, then go to your profile and select the API Key tab..
Accept-Encodinggzip,brnoBrotli (br) has a very high compression ratio with JSON. Recommended.
X-AppIdThe client application IDnoProvided by C2
X-VersionThe client application versionnoProvided by the client