questionnaires

Submit Answer

Submit an answer to a question

Supports file uploads for questions with input_type='file_upload'. Files are uploaded to Backblaze B2 and URLs are stored in the database.

post/questionnaires/{session_id}/answer

Request

  • Base URL
    https://api.threadchain.pro (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: auth/token

Path parameters

session_idstring uuid required

Query parameters

localestring nullable

Request body multipart/form-data

question_idstring required
answerstring nullable
filesstring[]

Response

Successful Response

successboolean required
messagestring nullable
next_phasestring nullable
is_completeboolean required
progressobject required
file_urlsstring[] nullable
conversation_titlestring nullable

Example response

{
  "next_question": {
    "question_text": "What size do you need?"
  }
}

Changes

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