Request Headers
Mandatory headers are required with every request.
Header Name | Value | Required | Comments |
---|---|---|---|
Content-Type | application/json | yes | All requests must specify application/json as the Content-Type. |
Authorization | Bearer myAPIkey | yes | You can register a new Collective2 API key by logging on to Collective2, then go to your profile and select the API Key tab.. |
Accept-Encoding | gzip | no | Gzip has a high compression ratio of around 95% with JSON. Recommended. |
X-AppId | The client application ID | no | Provided by C2 |
X-Version | The client application version | no | Provided by the client |