We hope you enjoy our updated documentation! The old documentation website is still available here. Reach out to us with feedback or questions. Happy programming! 🎉
This endpoint will return all survey templates that have been created via the User Interface of the PureSpectrum MarketPlace.The template ID will allow you to create a survey based on that template without specifying other settings. The template ID can be added during survey creation. You can check the list of templates IDs using this endpoint.
Request
Authorization
Add parameter in header
access-token
Example:
access-token: ********************
Query Params
Request Code Samples
Shell
JavaScript
Java
Go
PHP
Python
C#
Ruby
Request Request Example
Shell
JavaScript
Java
Go
curl--location--request GET 'https://staging.spectrumsurveys.com/buyers/v2/templates?UI=0' \
--header'access-token: <api-key>'
Responses
🟢200Success
application/json
Body
Example
[{"id":1,"name":"PureSpectrum Default Templates","owner":25,"is_service_buyer":false,"is_default":true,"templates":[{"id":9,"name":"Default template","title":"Default Template"}]},{"id":201,"name":"Set-up template","owner":4046,"is_service_buyer":false,"is_default":false,"templates":[{"id":881,"name":"Parents of children, car owners","title":"Test Set-up"}]}]