Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »


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

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. 

Postman example:

  • No labels