This API lets suppliers fetch all questions linked to a specific country and language, as defined in the request. The retrieved questions act as survey criteria, helping align respondent profiles with the survey’s requirements.
Request
Path Params
Header Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://supplier-stage.surveysherpa.com/api/v1/QuestionLibrary/AllQuestions/IN or US/Ex. ENGLISH or FRENCH' \
--header'x-access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NmUyOWUzMWE0MzRlNzUyYWRjZTgyMWMiLCJzdXBwbGllcl9pZCI6OCwiaWF0IjoxNzI2MTI3NjY1fQ.AuJsf6xCrSstkKUDHdsuX8PzJP08f5QINy0S_9i7V50'
Responses
🟢200OK
application/json
Body
Example
{"apiStatus":"success","msg":"Questions are successfully fetched","result":[{"questionId":2814,"questionText":"What is your age?","questionKey":"AGE","questionType":"Numeric Open End","language":"ENGLISH","questionCategory":["Demographic"]},{"questionId":2815,"questionText":"Are you...?","questionKey":"GENDER","questionType":"Single Punch","language":"ENGLISH","questionCategory":["Demographic"]}]}