Skip to main content
POST
/
questionnaires
/
{id}
/
questions
Adds a new question to an existing questionnaire.
curl --request POST \
  --url https://api.example.com/questionnaires/{id}/questions \
  --header 'Content-Type: application/json' \
  --data '
{
  "position": 123,
  "prompt": "<string>",
  "type": "<string>",
  "metadata": "<string>"
}
'

Path Parameters

id
integer<int32>
required

The unique identifier of the questionnaire.

Body

The question data including position, type, prompt, and metadata.

position
integer<int32>
prompt
string | null
type
string | null
metadata
string | null

Response

OK