Admin Survey Questionnaires

Add Question

post/api/v1/admin/survey-questionnaires/questionnaires/{questionnaire_public_id}/questions

Request

  • Base URL: https://api.sanifu.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sanifu.ai/api/v1/admin/survey-questionnaires/questionnaires/{questionnaire_public_id}/questions
  • Auth: one of:
    • OAuth 2 (password, token URL auth/jwt/login)
    • HTTP basic

Path parameters

questionnaire_public_idstring uuid required

Request body

section_keystring nullable
section_titlestring nullable
section_orderinteger
order_indexinteger
question_textstring required
help_textstring nullable
question_type'single_select' | 'multi_select' | 'text_input' | 'long_text' | 'email' | 'phone' | 'url' | 'number' | 'date' | 'rating' | 'boolean' required
is_requiredboolean
allow_otherboolean
other_labelstring nullable
validation_type'email' | 'phone_e164' | 'url' | 'integer' | 'decimal' | 'date_iso' | 'regex' nullable
validation_patternstring nullable
min_valueinteger nullable
max_valueinteger nullable
max_selectionsinteger nullable

Response

Successful Response

titlestring required
descriptionstring nullable
purpose'user_onboarding' | 'post_first_agent_completion' | 'account_deletion' | 'subscription_cancellation' | 'payment_failure_recovery' | 'plan_change' | 'feature_feedback' required
is_activeboolean
expires_after_daysinteger nullable
allow_skip_allboolean
default_redirect_pathstring nullable
public_idstring uuid required
versioninteger required

Changes

No recorded changes to this operation across all 1 revision of this API.