GET

Get Survey Question

Returns detailed information about a specified survey question, including its type, title, options, and configuration properties.

Endpoint

GET v5/survey/{survey_id}/surveyquestion/{question_id}

Requires authentication

Path Parameters

The survey and specific question to retrieve.

survey_id
string
required
The ID of the survey the question belongs to.
question_id
string
required
The ID of the specific question to retrieve.

Query Parameters

This endpoint does not accept additional query parameters beyond authentication credentials.

None

Response

Returns a single survey question object wrapped in a data envelope.

result_ok
boolean
Whether the request succeeded.
data
object
The survey question object.

Examples

Note GET requests are cached for 60 seconds. Repeated identical requests within that window will return cached results.

Request (cURL)
curl -X GET "https://api.alchemer.com/v5/survey/123456/surveyquestion/5?api_token=YOUR_API_TOKEN&api_token_secret=YOUR_API_TOKEN_SECRET"
Response
{
  "result_ok": true,
  "data": {
    "id": 5,
    "base_type": "Question",
    "type": "CHECKBOX",
    "title": {
      "English": "Checkbox question 1"
    },
    "shortname": "",
    "varname": [],
    "description": [],
    "has_showhide_deps": false,
    "comment": false,
    "properties": {
      "option_sort": "NONE",
      "required": false,
      "hidden": false,
      "element_style": "OS",
      "orientation": "VERT",
      "labels_right": true,
      "show_title": false,
      "question_description": {
        "English": ""
      },
      "question_description_above": false,
      "soft-required": false,
      "disabled": false,
      "save_logic_data": false,
      "messages": {
        "inputmask": [],
        "r_extreme_label": [],
        "l_extreme_label": [],
        "th_content": []
      },
      "hide_after_response": false,
      "admin_question": false,
      "custom_css": "",
      "break_after": false,
      "url": "http://",
      "show_rules": {
        "atom": {
          "type": "3",
          "value": "4",
          "case_sensitive": true
        },
        "operator": "12",
        "atom2": {
          "type": "17",
          "value": [
            "4-10005"
          ],
          "case_sensitive": false
        },
        "id": "690921b33dc9c",
        "same_page_skus": []
      }
    },
    "options": [
      {
        "id": 10007,
        "title": { "English": "Option 1" },
        "value": "Option 1",
        "properties": { "disabled": false }
      },
      {
        "id": 10008,
        "title": { "English": "Option 2" },
        "value": "Option 2",
        "properties": { "disabled": false }
      },
      {
        "id": 10009,
        "title": { "English": "Option 3" },
        "value": "Option 3",
        "properties": { "disabled": false }
      }
    ],
    "show_rules_ids": "690921b33dc9c"
  }
}