Questionnaire

Mark a survey as completed — defaults to "intake" if surveyKey is omitted

Changed on
post/api/questionnaire/complete

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/questionnaire/complete
  • Auth
    HTTP bearer

Request body

surveyKeystring

Survey key being completed — defaults to "intake" for backward compatibility with existing clients that never sent this.

Example request

{
  "surveyKey": "healthy_2_0"
}

Response

unknown required

Example response

{
  "success": true,
  "message": "Questionnaire completed"
}

Changes