Skip to main content
POST
/
v1
/
interviews
/
{interview_id}
/
question-sets
/
{set_id}
/
questions
Add Question To Set
curl --request POST \
  --url https://api.ontora.com/v1/interviews/{interview_id}/question-sets/{set_id}/questions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "question_text": "<string>",
  "is_required": true,
  "sort_order": 0
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "question_set_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "question_text": "<string>",
  "is_required": true,
  "sort_order": 123,
  "created_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.ontora.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-API-Key
string | null

Path Parameters

interview_id
string<uuid>
required
set_id
string<uuid>
required

Body

application/json
question_text
string
required
is_required
boolean
default:true
sort_order
integer
default:0

Response

Successful Response

id
string<uuid>
required
question_set_id
string<uuid>
required
question_text
string
required
is_required
boolean
required
sort_order
integer
required
created_at
string<date-time>
required