API referenceMessages
Archive a Draft
Archives a Draft (`deleted_at`). Non-draft Messages return 409. Archived Drafts are omitted from lists and GET returns 404.
DELETE
Archives a Draft (deleted_at). Non-draft Messages return 409. Archived Drafts are omitted from lists and GET returns 404.
bearerAuthheader
AuthorizationBearer <API key>Project API key (cr_sk_...)
id*stringFormat
uuidArchived
application/json- response
message_id?stringFormat
uuidstatus?"draft"Value in
"draft"archived?booleancurl -X DELETE 'https://api.comraid.io/messages/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2", "status": "draft", "archived": true}Update a Draft PATCH
Edits a Message in `draft` status. Requires the `updated_at` loaded from GET (optimistic concurrency); a stale value returns 409. Non-draft Messages return 409.
Send a Draft POST
Runs full create validation on a Draft, then moves the same Message row to `scheduled` or `preparing`. The Message ID does not change.