1. Supplier API
  • Supplier API
    • Guides
    • Retrieve Global Definitions
      GET
    • Question Library Lookup
      GET
    • Question Library Answer Lookup
      GET
    • Get Available Surveys (all live surveys)
      GET
    • Get Available Surveys By Id
      GET
    • Get Survey Transactions Data
      GET
    • Get Survey Stats
      GET
    • Get Recontacts
      GET
  1. Supplier API

Question Library Answer Lookup

Sandbox Env
https://supplier-stage.surveysherpa.com
Sandbox Env
https://supplier-stage.surveysherpa.com
GET
https://supplier-stage.surveysherpa.com
/api/v1/QuestionLibrary/AllQuestionOptions/{Question Key}
This API returns all available answer options for a given question, based on the specified question key, country, and language.
Note: The parameter names for country and language are case-sensitive.
Example URL: https://example.com/api/v1/QuestionLibrary/AllQuestionOptions/AGE?country=IN&language=ENGLISH

Request

Path Params

Query 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/AllQuestionOptions/AGE or GENDER?country=IN or US&language=ENGLISH or FRENCH' \
--header 'x-access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NmUyOWUzMWE0MzRlNzUyYWRjZTgyMWMiLCJzdXBwbGllcl9pZCI6OCwiaWF0IjoxNzI2MTI3NjY1fQ.AuJsf6xCrSstkKUDHdsuX8PzJP08f5QINy0S_9i7V50'

Responses

🟢200OK
application/json
Body

Example
{
    "apiStatus": "success",
    "msg": "Answers are successfully fetched",
    "result": [
        {
            "questionKey": "AGE",
            "questionId": 2814,
            "questionText": "What is your age?",
            "questionType": "Numeric Open End",
            "questionCategory": [
                "Demographic"
            ],
            "questionOptions": []
        }
    ]
}
Modified at 2025-09-02 12:58:08
Previous
Question Library Lookup
Next
Get Available Surveys (all live surveys)
Built with