Skip to content
OpenCode
Esc
navigateopen⌘Jpreview

Reply to form

Submit an answer to a pending form.

POST/api/session/{sessionID}/form/{formID}/reply
Path parameters
sessionIDstringrequired
formIDobjectrequired
Request body
requiredapplication/json
answerForm.Answerrequired
Responses
204<No Content>
400FormInvalidAnswerError | InvalidRequestError
Any of:
FormInvalidAnswerError
_tagstringrequired
Allowed:FormInvalidAnswerError
idstringrequired
messagestringrequired
InvalidRequestError
_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 | FormNotFoundError
Any of:
FormNotFoundError
_tagstringrequired
Allowed:FormNotFoundError
idstringrequired
messagestringrequired
SessionNotFoundError
_tagstringrequired
Allowed:SessionNotFoundError
sessionIDstringrequired
messagestringrequired
SessionNotFoundError
_tagstringrequired
Allowed:SessionNotFoundError
sessionIDstringrequired
messagestringrequired
409FormAlreadySettledError
_tagstringrequired
Allowed:FormAlreadySettledError
idstringrequired
messagestringrequired
Request
curl -X POST "/api/session/string/form/%5Bobject%20Object%5D/reply" \
  -H "Content-Type: application/json" \
  -d '{
  "answer": {}
}'
Response
<No Content>