cURL
curl --request GET \ --url https://api.egp.scale.com/v5/questions/{question_id} \ --header 'x-api-key: <api-key>'
{ "id": "<string>", "created_by": { "id": "<string>", "type": "user", "object": "identity" }, "created_at": "2023-11-07T05:31:56Z", "name": "<string>", "prompt": "<string>", "configuration": { "choices": [ "<string>" ], "multi": true, "dropdown": true }, "object": "question", "conditions": [ {} ], "question_type": "categorical" }
Successful Response
Unique identifier of the entity
The identity that created the entity.
Show child attributes
user
service_account
"identity"
ISO-timestamp when the entity was created
user-facing question prompt
Categorical answer choices (must contain at least one entry)
1
Whether the question allows multiple answers.
Whether the question is displayed as a dropdown in the UI.
"question"
Conditions for the question to be shown
"categorical"