Every request sent to OpenAPI will be in this format. All parameters are added to HEADER
and BODY
is left empty. All requests are POST
requests.
Parameter | Description | Sample Data |
---|---|---|
KEY | OpenAPI partner key provided. | api-key |
TOKEN | Token generated using above method | token |
VERSION | Version of the API that is being called | 2.0 |
Content-Type | Content type of the request. Should be application/json | application/json |
Each API request will have a payload to shown in example below.
curl --location --request POST '{url}' \
--header 'KEY: your-api-key' \
--header 'TOKEN: token' \
--header 'VERSION: 2.0' \
--header 'Content-Type: application/json'
Make sure to replace API Key with your API key.