Send a Draft
Runs full create validation on a Draft, then moves the same Message row to `scheduled` or `preparing`. The Message ID does not change.
Runs full create validation on a Draft, then moves the same Message row to scheduled or preparing. The Message ID does not change.
bearerAuthAuthorizationBearer <API key>Project API key (cr_sk_...)
id*stringuuidDraft accepted for send
application/json- response
message_id*stringuuidchannel*stringstatus*string"draft""scheduled""preparing""processing""completed""failed""cancelled"delivery_count?integerSingle send only. Absent for Broadcasts, which are built after the response.
recipients?array<>Single send only. Absent for Broadcasts.
curl -X POST 'https://api.comraid.io/messages/497f6eca-6276-4993-bfeb-53cbbbba6f08/send'{ "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2", "channel": "string", "status": "draft", "delivery_count": 0, "recipients": [ {} ]}Archive a Draft DELETE
Archives a Draft (`deleted_at`). Non-draft Messages return 409. Archived Drafts are omitted from lists and GET returns 404.
List Deliveries for a Message GET
Cursor-paged Deliveries for one Message. Order is `created_at ASC, id ASC`. Pass `next_cursor` from a previous response as `cursor` to continue. Filter by Delivery `status` and Endpoint `platform` when set.