To access the API, you will need to include an authorization parameter in the
...
request header.
...
Each request needs to include your API access token (given to you by PureSpectrum) & your Supplier ID. You must include this request in your body in a x-www-form-urlencoded format.
Parameter | Type | Required | Description |
---|---|---|---|
access-token | String | Yes | Token used to identify the authenticity of the user. |
Example:
Code Block |
---|
headers: { 'access-token': '$accessToken' } |
Warning |
---|
Please do not expose your access |
...
-token to anyone or in public as this could compromise the Integrity of your |
...
integration. |
Making your First Call Using Postman:
Access tokens are issued by your PureSpectrum representative.
Postman example:
...