Reply in a conversation
postkey_send_replyPostkey: Sends a text message to the person in a conversation, as the business. It reaches a real person on Instagram and cannot be taken back. Assistants can reply only within 24 hours of the person's last message: after that nothing is sent (code outside_24h_window) and a person answers by hand. If this connection must ask a person first (the default), the reply is NOT sent: it waits in Approvals in Postkey, and the result has waiting_for_approval true, which is not an error: do not call it again or say it was sent. A reply that carries a link, a handle, a phone number or an email that is not the account's own always waits for approval. At most 3 replies an hour to one conversation. Call postkey_preview_action first. For a note only the team sees use postkey_add_conversation_note.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"conversation_id": "<conversation_id>",
"text": "<text>"
},
"name": "postkey_send_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The message, 1 to 1000 characters, plain text. | |
| close | No | true: also mark the conversation Closed after sending. Default false. | |
| preview_id | No | Optional: the preview_id postkey_preview_action gave for exactly these arguments today (UTC). Approvals then shows the person that you showed them the preview. A preview_id that does not match is ignored, never refused. | |
| conversation_id | Yes | The conversation id from postkey_list_conversations (or conversation_id in postkey_get_contact), as it was given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | When it was sent. | |
| ok | Yes | false: refused (isError; code, message, guide_topic, url); no change. | |
| sent | No | true: the message went out. false: it failed, or it waits for approval. | |
| state | No | The conversation's state now (open or closed). | |
| message | No | What happened. | |
| message_id | No | The sent message's id. | |
| request_id | No | The held request: read it with postkey_get_approval or postkey_list_waiting_for_approval. A post held in Posts > Approvals has none. | |
| held_because | No | Why it waits on a direct connection. | |
| conversation_id | No | The conversation id. | |
| waiting_for_approval | No | true: NOT sent; waits for a person in Approvals. |