The triage agent replies in the report's chat
POST
/api/v1/chat/reply
const url = 'https://deck.example.com/api/v1/chat/reply';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"text":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://deck.example.com/api/v1/chat/reply \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”doc
string
Request Bodyrequired
Section titled “Request Bodyrequired”quietdeck chat reply: the agent’s answer to the person’s chat in the Inbox, shown as a toast.
Media typeapplication/json
quietdeck chat reply: the agent’s answer to the person’s chat in the Inbox, shown as a toast.
object
text
required
string
Example generated
{ "text": "example"}Responses
Section titled “Responses”Media typeapplication/json
Example generated
exampledefault
Section titled “default”An error, with its message.
Media typeapplication/json
Every error the REST API returns, with an HTTP status.
object
error
required
string
Example generated
{ "error": "example"}