Authentication

Most endpoints on the API require a Subscription Key (API Key) to be passed in the request headers. This Subscription Key is unique to the user and product on which it is associated to, and is used to authenticate and identify the sender of the request. The header key is Ocp-Apim-Subscription-Key and the value is the key.

e.g: Ocp-Apim-Subscription-Key : 60153e77bec05c509242c2421b213074

To access Subscription Keys, go to Profile and locate the relevant Subscription you want to generate/use and key for. Each subscription has a Primary and Secondary key which can be used interchangably. Keys can be view and re-gerenated on the Profile page.

Failure to provide the Subscription Key will result in the API returning 401 Unauthorised