Reply to the user
reply_to_userAnswers the user, as the app's setting allows (see get_app, agent_replies): draft saves a suggested reply the team sends or discards in the inbox; send sends it right away (the user gets it in the app, as a push, and by email if unread), only when the user's message is the last one; off refuses. Write as the team, plainly, without promises the team hasn't made. The chat shows Markdown: write short chat-style Markdown (bold for the one thing to tap or remember, a numbered list for steps, code for exact names, settings and values, links as text); no headings in short replies, no tables or images.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The reply, in Markdown (shown formatted in the app, the inbox and emails). With options: the question. | |
| options | No | Answer buttons under the reply (one tap answers; the user can still type). Users answer buttons far more often than they type: use them for a quick choice, e.g. ["Too expensive", "Want to try more", "Payment problem"]. | |
| conversation_id | Yes | The conversation's id (from list_conversations or get_user). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sent | Yes | true: the user got it; false: saved as a draft for the team. | |
| app_id | No | Send mode: the app. | |
| status | No | Draft mode: what happens next. | |
| draft_id | No | Draft mode: the draft's id. | |
| message_id | No | Send mode: the message's id. | |
| conversation_id | Yes | The conversation. |