Create Question

Query Params
string
required

A string that uniquely identifies the survey to which the question will be added. In this example, the survey ID is "714234fb-5dec-4d1d-a5c0-a0d74ada73ff".

string
required

A string representing the name of the question. Here, it is named "QeustionTwo".

json
required

content: An array of objects, each representing a part of the question content. Each object includes: mediaType: Specifies the type of media for the question part. Set to "TTS" (Text-To-Speech) in this case. content: The actual content or text of this part of the question, given here as "ldsnkj;vna;shlk". order: An integer indicating the order in which this part appears within the question.

string
enum
required
Allowed:
answers
array
required

answers: An array of objects, each representing a possible answer for the question. Each object includes: digit: An integer representing the option number. value: The content or value of the answer. In this example, there are three options with values "10", "20", and "30".

answers*
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json