ComRaidComRaid Docs
API referenceMessages

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.

POST
/messages/{id}/send

Runs full create validation on a Draft, then moves the same Message row to scheduled or preparing. The Message ID does not change.

Authorization

bearerAuth
headerAuthorizationBearer <API key>

Project API key (cr_sk_...)

Path Parameters

id*string
Formatuuid

Response Body

Draft accepted for send

application/json
  1. response
message_id*string
Formatuuid
channel*string
status*string
Value in"draft""scheduled""preparing""processing""completed""failed""cancelled"
delivery_count?integer

Single send only. Absent for Broadcasts, which are built after the response.

recipients?array<>

Single send only. Absent for Broadcasts.

Example Request
curl -X POST 'https://api.comraid.io/messages/497f6eca-6276-4993-bfeb-53cbbbba6f08/send'
Example Response
{  "message_id": "d7d9d9fd-478f-40e6-b651-49b7f19878a2",  "channel": "string",  "status": "draft",  "delivery_count": 0,  "recipients": [    {}  ]}