Skip to main content
POST
Publish a client's answer to a person's question

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

discussion_id
string<uuid>
required

The discussion UUID.

Body

application/json
answer
object
required

Response

An identical retry, returning the saved message; or, with nothing saved, superseded with the reason newer_message (the person who asked has written again) or answered_elsewhere (the question has an answer, or another attempt holds the claim).

message
object
required

One message, numbered in the order the discussion accepted it. A person's message is immutable.

status
enum<integer>
required
Available options:
200,
201
meta
object
required