Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You may use this endpoint to retrieve all surveys in your account.

Request

...

GET $apihost/$basepath/surveys

($apihost is the environment against which you are testing,  All Buy API calls will require access_token parameter in the header) 

...

Code Block
languagejs
linenumberstrue
collapsetrue
[
{
"click_balancing": 0,
"estimated_clicks": 0,
"ps_survey_status": 22,
"offer_price": 0.5,
"incl_excl": 0,
"survey_title": "AUTOMATEDTest TESTSurvey SURVEY1",
"live_url": "http://mysurvey.com/survey/1",
"completes_required": 2,
"field_time": 15,
"billing_id": "1234",
"buyer_message": "This is automateda test survey",
"uniqueLinks": false,
"survey_category_code": 231,
"quotas": [],
"qualifications": [],
"expected_loi": 15,
"expected_ir": 15,
"ps_survey_id": 295337123456,
"buyer_surveygroup_ref": null,
"test_ps_survey_entry_link": "https://spectrumsurveys.com/#/start-survey?survey_id=1supplier123456supplier_id=0",
"survey_localization": "en_US"
},
{
"click_balancing": 0,
"estimated_clicks": 0,
"ps_survey_status": 22,
"offer_price": 0.5,
"incl_excl": 0,
"survey_title": "AUTOMATEDTest TESTSurvey SURVEY2",
"live_url": "http://mysurvey.com/survey/2",
"completes_required": 2,
"field_time": 15,
"billing_id": "1234",
"buyer_message": "This is automateda test survey",
"uniqueLinks": false,
"survey_category_code": 231,
"quotas": [],
"qualifications": [],
"expected_loi": 15,
"expected_ir": 15,
"ps_survey_id": 295317123457,
"buyer_surveygroup_ref": null,
"test_ps_survey_entry_link": "https://spectrumsurveys.com/#/start-survey?survey_id=1123457&supplier_id=0",
"survey_localization": "en_US"
}
]

...