To assess whether PureSpectrum Buy API answers your online sample needs, start with a review of our Buy API Documentation.
Do not hesitate to get in touch with your PureSpectrum representative, for any questions that you might have.1
Discovery
We start with a kick-off call where both Commercial and Technical representatives on PureSpectrum and Client side cover the non-exhaustive list below.
1.
The various use cases for testing the Buy API
2.
Your development timeline for integrating our API
3.
API or hybrid (both UI & API) preference
4.
Phased development or trying all the features at once? If phased, which are the initial features required and which would be adopted later?
5.
List of users who require access to the Staging
environment
6.
Preferred communication channel, Email or Slack?
7.
Agreed cadence, to monitor progress.
8.
Any other helpful information that might ease the process
2
Staging Access
You are granted access to our Staging environment, for testing all available features. Staging login accounts are created for the confirmed users.
A staging access token is necessary to test all endpoints.
Make sure your testing in Staging will cover the points below, as a minimum. We will check your test surveys before granting you access to Production:1.
Usage of the feasibility endpoint to check feasibility and recommended price, without creating a survey
2.
Correct survey setup based on various qualifications, quotas and price
3.
Inbound and outbound hashing of redirects
3
Production Access
Once the PureSpectrum SaaS agreement has been signed and we successfully checked your correct test survey setups, redirects and hashing, you get access to our Production environment.
We can agree to arrange a meeting or recurrence, to review your API integration and address any question, concern or optimization option.A Production access token is necessary to use all endpoints.
If you are currently a user of the UI, please inform us whether you prefer to utilize the same account for API calls or if you require a distinct account.It is recommended to use a separate API account to maintain a clear distinction between API and UI surveys.
There are a few differences between our Staging and Production environments:Different qualification codes
Dummy feasibility on staging
Dummy suppliers on staging
No real traffic on staging
Getting Started with the API#
PureSpectrum Buy APIs are a suite of REST endpoints, purpose-built for secure, fast, and easy access.Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.ā
Requirements#
For a straightforward interaction with our Buy API, consider the following as minimum requirements:A PureSpectrum Buy API account.
API key or authentication credentials with appropriate permissions.
Basic understanding of programming, API consumption, and JSON schema.
Familiarity with HTTP methods (GET, POST, PUT, DELETE) and status codes.
Ability to handle API error codes.
Secure storage of API credentials to prevent unauthorized access.
Compliance with any applicable data privacy and security policies.
Understanding of response formats and how to parse relevant data for business needs.
API Versions#
There are two API Versions namely v2 and v3. Currently, v2 is mostly in use. Some end points are also using v3.Test It Out#
To get going quickly, we recommend using an API collaboration tool (i.e. Postman, Apidog).
You can also use this documentation to try our collection of endpoints directly within your browser window, by using the Try it button and your Staging token on each endpoint page.
All the testing done via the Try it button will be reflected in your PureSpectrum Staging account.
š Changelog#
Introducing a new endpoint? Updating an existing one? Deprecating or announcing a breakchange? All is found in the Changelog page.The Changelog allows users to view new releases, updates, and critical changes to all APIs. This provides an excellent way for developers to stay up-to-date with the latest changes that are occurring on Buy API.