messages
Regenerate message draft
Try again on one AI SDR draft: the pending_approval row is canceled and the run that wrote it is re-armed with your guidance and the discarded text; a plan step that failed after it is reopened first. The new draft arrives asynchronously: item is the canceled row, result.run the queued run. 409 conflict: message_not_editable (not pending, or no run behind it), message_superseded (its reason is gone: withdrawn, nothing armed), agent_disabled (the AI SDR off, or off for this thread).
Contract:
- MCP tool regenerate_message, registry package mcp.unibox/messages, mount unibox.inbox.
- Operation action, response envelope action.
- Flags: none.
post/api/messages/{sid}/regenerate
Request
- Base URLhttps://beta.getsales.io/unibox/v1
- AuthHTTP bearer and API key in header Team-SID
Path parameters
sidstring required
The draft to rewrite. It must be pending_approval AND carry an agent_run_sid, else 409 message_not_editable.
Request body
Response
action success envelope.
Changes
No recorded changes to this operation across all 1 revision of this API.