Add Survey Question

post/api/surveys/{survey_id}/questions

Request

  • Base URL: https://api.ascendkit.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.ascendkit.dev/api/surveys/{survey_id}/questions
  • Auth: API key in header X-AscendKit-Public-Key and HTTP bearer

Path parameters

survey_idstring required

Request body

type'text' | 'comment' | 'radiogroup' | 'checkbox' | 'rating' | 'boolean' | 'dropdown' | 'ranking' required
titlestring required
namestring nullable
isRequiredboolean
choicesstring[] nullable
rateMininteger nullable
rateMaxinteger nullable
minRateDescriptionstring nullable
maxRateDescriptionstring nullable
inputTypestring nullable
visibleIfstring nullable
requiredIfstring nullable
positioninteger nullable

Response

Successful Response

dataunknown
errorstring nullable
metaobject nullable

Changes

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