Skip to content
OpenCode
Esc
navigateopen⌘Jpreview

Reply to pending question request

Answer a pending question request owned by a session.

POST/api/session/{sessionID}/question/{requestID}/reply
Path parameters
sessionIDobjectrequired
requestIDobjectrequired
Request body
requiredapplication/json
answersQuestionV2.Answer[]required
User answers in order of questions (each answer is an array of selected labels)
Responses
204<No Content>
400InvalidRequestError
_tagstringrequired
Allowed:InvalidRequestError
messagestringrequired
kindstring | any
Show properties
Any of:
string
string
any
any
fieldstring | any
Show properties
Any of:
string
string
any
any
401UnauthorizedError
_tagstringrequired
Allowed:UnauthorizedError
messagestringrequired
404SessionNotFoundError | QuestionNotFoundError
Any of:
QuestionNotFoundError
_tagstringrequired
Allowed:QuestionNotFoundError
requestIDstringrequired
messagestringrequired
SessionNotFoundError
_tagstringrequired
Allowed:SessionNotFoundError
sessionIDstringrequired
messagestringrequired
SessionNotFoundError
_tagstringrequired
Allowed:SessionNotFoundError
sessionIDstringrequired
messagestringrequired
Request
curl -X POST "/api/session/%5Bobject%20Object%5D/question/%5Bobject%20Object%5D/reply" \
  -H "Content-Type: application/json" \
  -d '{
  "answers": [
    [
      "string"
    ]
  ]
}'
Response
<No Content>