Creates a new question or criterion for a posting. The modality field determines the question type.
Documentation Index
Fetch the complete documentation index at: https://docs.heymilo.ai/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Pass your key in the X-API-KEY header.
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.
Question modality: voice, sms, form, resume_eligibility, resume_scoring, voice_tags.
voice, sms, form, resume_eligibility, resume_scoring, voice_tags "voice"
The question text, criterion text, or tag name.
"Tell me about a challenging project you led."
Evaluation criteria.
Score-1 description.
Score-5 description.
Importance weight for scoring (1–10).
1 <= x <= 10Ask but don't score.
Question format.
Min follow-ups.
x >= 0Max follow-ups.
x >= 0Per-question instructions.
Post-interview evaluation criteria.
Expected answer (SMS).
Expected numeric value (SMS).
Dealbreaker flag (SMS).
Expected answer (form).
Knockout flag (form).
Dropdown options.
Require answer (form).
MCQ type (form).
Validation operator (form).
Allowed file types (form).
Multiple files (form).
Slider min (form).
Slider max (form).
Slider step (form).
Response format for voice_tags: 'text', 'freeform', 'date', or 'number'.
text, freeform, date, number Instructions (voice_tags).
Options (voice_tags).
Advanced structured configuration (voice). Opaque key-value object forwarded to the AI interviewer.
Successful Response
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.
Optional metadata. Shape varies by endpoint.