v2

latestOpenAPI 3.0.3AGPL-3.0 license2026-07-2613501.9 MB
scheduledMessages

Edit a draft DM

Edit the text or scheduled-send time of a draft DM. Only rows in draft status are editable — scheduled/sending/sent/failed/cancelled are terminal for text edits. Returns {updated, ineligible} so the caller can distinguish missing ids from already-approved rows.

patch/scheduled-messages/update

Request body

messageIdstring required

Scheduled message id to edit

messagestring

New DM text

scheduledSendAtstring nullable

New ISO datetime, or null to clear

Response

Message updated

successtrue required
creditsUsedinteger required

Credits consumed (always 0 for workspace operations).

retryAfterinteger required

Seconds to wait (always 0 for workspace operations).