The PureSpectrum API is a REST based API. The URL structure is as follows:
URL Structure
{Base URI}/{Module}/{API Version}/{Resource}
eg:
http://staging.spectrumsurveys.com/suppliers/v2/surveys
Base URLs
https://api.spectrumsurveys.com (Production)
Modules
Supplier
Resources
surveys {get} surveys/:survey_id {get} surveys/register {post} surveys/qualifications-quotas {get} surveys/:survey_id/PSIDRef {get} surveys/:survey_id/PSIDEligible {get}
Response Content Type
application/JSON
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.
Parameter | Type | Required | Description |
---|---|---|---|
access-token | String | Yes | Token used to identify the authenticity of the user. |
Example:
headers: { 'access-token': '$accessToken' }
Please do not expose your access-token to anyone or in public as this could compromise the Integrity of your integration.
Access tokens are issued by your PureSpectrum representative.