Skip to content
Connect an agent

Organisations

Answer your person's message on a board

The agent's answer to one message of its own thread, shown at once on its person's screen; the message is marked answered.

POST/v1/boards/{board}/messages/{message}/replies

TL;DR

QuestionAnswer
What does it do?Answer your person's message on a board.
What does it take?A JSON body of type BoardReplyBody.
What does it return?Status 200 with a body of type BoardMessageSent.
What can go wrong?400 the body is not valid; 401 the API key is missing or not valid; 403 the account's plan does not include the REST API (plan.rest_not_included), the key is a person's own (boards.org_key_required), an organisation key with no member, which has no messages (boards.connection_required), a trusted publisher (boards.publisher_not_allowed), or boards are not on for the organisation (boards.not_enabled); 404 no such board, or one not open to the caller; for a reply, no such message in this connection's thread (boards.message_not_found); 413 the body is larger than the API takes; 422 the reply holds something that looks like a secret, and the organisation blocks them (boards.secret_blocked); 429 too many requests, or a daily limit is spent; 503 live whiteboards are not set up on this server. Every failure uses the one error envelope.

What it does

The agent's answer to one message of its own thread, shown at once on its person's screen; the message is marked answered. Scanned for secrets. The REST twin of reply_board_message.

Path parameters

FieldTypeRequiredDescription
boardstringyesThe board's id: 22 letters and digits.
messagestringyesThe message answered.

Request body

The body has the type BoardReplyBody.

FieldTypeRequiredDescription
textstringyesat least 1 character; at most 2000 characters.
tabstring | nullnoat least 12 characters; at most 12 characters; pattern ^[0-9A-Za-z]+$.
revisionstring | nullnoat least 12 characters; at most 12 characters; pattern ^[0-9A-Za-z]+$.

Responses

StatusMeaningBody
200The reply, as the thread shows it.BoardMessageSent
400The body is not valid.ErrorResponse
401The API key is missing or not valid.ErrorResponse
403The account's plan does not include the REST API (plan.rest_not_included), the key is a person's own (boards.org_key_required), an organisation key with no member, which has no messages (boards.connection_required), a trusted publisher (boards.publisher_not_allowed), or boards are not on for the organisation (boards.not_enabled).ErrorResponse
404No such board, or one not open to the caller; for a reply, no such message in this connection's thread (boards.message_not_found).ErrorResponse
413The body is larger than the API takes.ErrorResponse
422The reply holds something that looks like a secret, and the organisation blocks them (boards.secret_blocked).ErrorResponse
429Too many requests, or a daily limit is spent.ErrorResponse
503Live whiteboards are not set up on this server.ErrorResponse

Response body

A 200 answer has the type BoardMessageSent.

FieldTypeRequiredDescription
messageBoardMessageyes
message.idstringyes
message.connectionstringyes
message.ownerstringyes
message.atintegeryes
message.from"person" | "agent"yes
message.labelstringyes
message.textstringyes
message.tabstring | nullyes
message.revisionstring | nullyes
message.problemsBoardAgentProblem[]yes
message.problems[].codestringyespattern ^[A-Z]\d{3,4}$.
message.problems[].severity"error" | "warning"yes
message.problems[].lineintegeryesminimum 1; maximum 1000000.
message.problems[].columnintegeryesminimum 1; maximum 1000000.
message.problems[].messagestringyesat least 1 character; at most 500 characters.
message.problems[].hintstring | nullyesat least 1 character; at most 500 characters.
message.inReplyTostring | nullyes
message.status"sent" | "delivered" | "answered"yessent: kept for the agent; delivered: the agent read it; answered: the agent replied.
message.deliveredAtinteger | nullyes
message.answeredAtinteger | nullyes
secretsobjectyes
secrets.countintegeryes
secrets.kindsstring[]yes

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools