Leave a draft message on a conversation
Leaves a suggested reply on an existing conversation for an agent to review, edit and send from the portal composer. Nothing is sent and the client is not notified. Every agent of the partner sees the draft, labelled as coming from the Public API. A conversation holds one such draft per isPrivate value: posting again replaces its text and returns the same draft id. When an agent has dismissed or sent a draft, posting the exact same text again leaves it retired and the response reports status: dismissed. The draft retires on its own once the client or an agent replies, or the conversation is solved or closed; a solved or closed conversation rejects new drafts with 422. Requires the partner’s suggested replies access and the conversation:write scope.
Path Parameters
Body
The draft text, as plain text: HTML is not interpreted and shows up literally. Each line becomes its own paragraph in the composer, and a blank line stays blank. In a private draft (isPrivate: true) users and assignee groups can be mentioned with the same <@{userId}> and <@group:{conversationAssigneeGroupId}> tokens as POST /v1/conversation/{id}/message; mentioned users and groups are notified only when an agent sends the draft. A public draft (isPrivate: false) rejects mention tokens with 400.
1"On my way, about 20 minutes out."
Response
Created or updated draft