messages
Update message draft
Edit a draft in place before it goes out: subject, body_text, scheduled_at. Only a pending_approval row accepts it (any other state answers 409 conflict / message_not_editable, and a message already sent is immutable); an empty change set is 422 nothing_to_update. The edit is stored on the row, so approve_messages afterwards can be a bare confirmation. To have the agent rewrite the draft instead, use regenerate_message.
Contract:
- MCP tool update_message, registry package mcp.unibox/messages, mount unibox.inbox.
- Operation update, response envelope update.
- Flags: none.
patch/api/messages/{sid}
Request
- Base URLhttps://beta.getsales.io/unibox/v1
- AuthHTTP bearer and API key in header Team-SID
Path parameters
sidstring required
The draft to edit. Any state but pending_approval answers 409 message_not_editable.
Request body
Response
update success envelope.
Changes
No recorded changes to this operation across all 1 revision of this API.