APIs must include the following headers:

API Version

Content-Type: application/json
Accept: application/json;api-version=<api-version>
To get the current API version, use the following API:
API
/api/versions
Method
GET
Sample Response
{
  "supportedApiVersions": [
    "0.1
0.2
"
  ],
  "currentApiVersion": "0.2"
}

User Access Token

You require a user access token to perform API operations.

Authorization : {UserAccessToken}

For information about generating user access tokens, see the User Authentication section.

Set the Current Organization ID

Use this header to set the current organization ID for which you want to run the APIs.
x-current-org-id:<orgId>