Skip to main content
POST
Create a question

Authorizations

X-API-KEY
string
header
required

API key for authentication. Pass your key in the X-API-KEY header.

Headers

X-API-KEY
string | null
Authorization
string | null
X-Workspace-Id
string | null

Path Parameters

posting_id
string
required

Body

application/json

Request body for creating a new question or criterion.

The modality field determines the question type. Only fields relevant to the chosen modality need to be provided.

modality
enum<string>
required

Question modality: voice, sms, form, resume_eligibility, resume_scoring, voice_tags.

Available options:
voice,
sms,
form,
resume_eligibility,
resume_scoring,
voice_tags
Example:

"voice"

text
string
required

The question text, criterion text, or tag name.

Example:

"Tell me about a challenging project you led."

evaluation_criteria
string | null

Evaluation criteria.

score_of_1
string | null

Score-1 description.

score_of_5
string | null

Score-5 description.

score_weight
integer | null

Importance weight for scoring (1–10).

Required range: 1 <= x <= 10
not_scored
boolean | null

Ask but don't score.

question_type
string | null

Question format.

min_follow_ups
integer | null

Min follow-ups.

Required range: x >= 0
max_follow_ups
integer | null

Max follow-ups.

Required range: x >= 0
additional_instructions
string | null

Per-question instructions.

post_processing_evaluation_criteria
string | null

Post-interview evaluation criteria.

expected_answer
string | null

Expected answer (SMS).

expected_value
integer | null

Expected numeric value (SMS).

is_dealbreaker
boolean | null

Dealbreaker flag (SMS).

answer
any | null

Expected answer (form).

is_knockout
boolean | null

Knockout flag (form).

dropdown_values
Dropdown Values · object[] | null

Dropdown options.

is_answer_mandated
boolean | null

Require answer (form).

mcq_type
string | null

MCQ type (form).

operator
string | null

Validation operator (form).

file_types
string[] | null

Allowed file types (form).

allow_multiple_files
boolean | null

Multiple files (form).

slider_min
number | null

Slider min (form).

slider_max
number | null

Slider max (form).

slider_step
number | null

Slider step (form).

response_format
enum<string> | null

Response format for voice_tags: 'text', 'freeform', 'date', or 'number'.

Available options:
text,
freeform,
date,
number
instructions
string | null

Instructions (voice_tags).

options
string[] | null

Options (voice_tags).

structured_config
Structured Config · object | null

Advanced structured configuration (voice). Opaque key-value object forwarded to the AI interviewer.

Response

Successful Response

data
QuestionResponse · object
required

A question or criterion belonging to a posting.

The modality field indicates the question type (voice, sms, form, resume_eligibility, resume_scoring, voice_tags). Fields that are not applicable to a given modality will be null.

meta
Meta · object | null

Optional metadata. Shape varies by endpoint.