Send a message on a specific channel
/channels/{channel}/messagesChannel-scoped equivalent of POST /messages with an explicit from: :channel accepts the same phone number (URL-encode + as %2B), alias, or ch_... value from accepts, and the body omits from. Multiple recipients on a group-capable channel (blooio/whatsapp) form a single group thread; on other channels they fan out to individual sends (max 100).
AuthorizationRequiredstringYour API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.
A channel-agnostic interactive template. Blooio's channel adapter manifests each kind natively on the target channel (Apple Messages quick reply / list picker / time picker / form / Apple Pay / rich link / authenticate; WhatsApp reply buttons / list / CTA URL; RCS suggestion chips; P2P iMessage and SMS numbered text and links).
A channel-agnostic interactive template. Blooio's channel adapter manifests each kind natively on the target channel (Apple Messages quick reply / list picker / time picker / form / Apple Pay / rich link / authenticate; WhatsApp reply buttons / list / CTA URL; RCS suggestion chips; P2P iMessage and SMS numbered text and links).
With template only. What to do when the recipient's device lacks a native capability for a template (for example an older Apple Messages device without FORM). auto (the default) sends the closest thing the device can show in place of only the part it can't (a numbered list for a menu, the reply instruction for a confirmation). reject fails the whole send with a 422 before any part of it is sent.
"auto""reject"A recipient: a raw identifier string (phone/email/opaque provider id), an array of identifier strings (multiple recipients), an existing { group_id } with an exact sender, or (for routed sends) a { contact_id }. A contact_id enables cross-channel-type routing via the contact's identities; a bare identifier reaches phone/email-addressable channels only.
A recipient: a raw identifier string (phone/email/opaque provider id), an array of identifier strings (multiple recipients), an existing { group_id } with an exact sender, or (for routed sends) a { contact_id }. A contact_id enables cross-channel-type routing via the contact's identities; a bare identifier reaches phone/email-addressable channels only.
Transport state or resolved wire service; never null. pending = accepted and dispatched, wire service not resolved yet; imessage / rcs / sms = the device-confirmed transport (iMessage blue bubble, RCS, or SMS/MMS green bubble); whatsapp = sent over P2P WhatsApp; whatsapp_business = sent over the WhatsApp Business Platform (WABA); rcs_business = sent over Blooio RCS, from a verified RCS business sender; amb = sent over Apple Messages for Business; unknown = accepted but the transport could not be resolved before the tracking window closed (see error).
"pending""unknown""imessage""sms""rcs""whatsapp""whatsapp_business""rcs_business""amb"Initial lifecycle state for the send: normally queued (accepted for delivery), pending when the message waits behind the channel's opener (see routing.opener), or failed if rejected before dispatch. Later transitions (sent → delivered / read, or failed) are reported via the message status endpoint and message.* webhooks.
Present when a v4.1 template send expanded into multiple messages on the target channel (for example a lead-in text followed by an Apple Messages interactive card or a P2P numbered-options text), in the order they went out. The top-level fields describe the last message attempted. Sending stops at the first message that fails, so a failed top-level status with an earlier entry not failed means the contact already got part of the send; an automatically routed send then stays on this channel instead of repeating it on the next.
Present when a v4.1 template send expanded into multiple messages on the target channel (for example a lead-in text followed by an Apple Messages interactive card or a P2P numbered-options text), in the order they went out. The top-level fields describe the last message attempted. Sending stops at the first message that fails, so a failed top-level status with an earlier entry not failed means the contact already got part of the send; an automatically routed send then stays on this channel instead of repeating it on the next.
Present on v4.1 template sends a customer answers by picking (choices, time_slots, confirm): what each answer means, so a reply can be matched to it. On iMessage and SMS the options go out as a numbered list, and a reply of 2 means the entry with index 2. options includes the appended talk_to_person option when include_person_option added one. Confirm buttons carry confirm_id (confirm_yes) and cancel_id (confirm_no).
Present on v4.1 template sends a customer answers by picking (choices, time_slots, confirm): what each answer means, so a reply can be matched to it. On iMessage and SMS the options go out as a numbered list, and a reply of 2 means the entry with index 2. options includes the appended talk_to_person option when include_person_option added one. Confirm buttons carry confirm_id (confirm_yes) and cancel_id (confirm_no).
Why this channel was tried (priority mode): last_inbound / last_outbound = the contact's most recent conversation was on it; claim = the pool number the contact was first sent from; switch_number = their number was banned and they were moved to another in the pool; priority = the priority's step order.
"priority""last_inbound""last_outbound""claim""switch_number"Array of RoutingAttempt
Present when the message waits behind the channel's opener: an Apple Messages for Business invitation, or a WhatsApp Business template outside the contact's 24-hour window. The message reports pending until the contact answers, then goes out in order with the messages sent to them since, or fails (message.failed, amb_invitation_declined) if they decline the invitation. A dry run has no message_id. See the channel's opener setting.
Present when the message waits behind the channel's opener: an Apple Messages for Business invitation, or a WhatsApp Business template outside the contact's 24-hour window. The message reports pending until the contact answers, then goes out in order with the messages sent to them since, or fails (message.failed, amb_invitation_declined) if they decline the invitation. A dry run has no message_id. See the channel's opener setting.
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X POST https://api.blooio.com/v4.1/channels/string/messages \{ "id": "obj_a1b2c3d4", "chat_id": "chat_a1b2c3d4", "channel_id": "ch_a1b2c3d4", "channel_type": "blooio", "protocol": "pending", "from": "+15551234567", "direction": "inbound", "type": "string", "status": "active", "group_id": "grp_a1b2c3d4", "error": { "code": null, "message": "Hello from Blooio!" }, "fallback": { "recommended": false, "reason": "string" }, "downgraded_from": "string", "to": "+15551234567", "dry_run": false, "would_send": false, "preview": {}, "poll": { "title": "Example title", "options": [ "string" ] }, "rendered_as": "string", "messages": [ { "id": "msg_a1b2c3d4", "type": "string", "status": "active" } ], "reply_options": { "kind": "choices", "title": "Example title", "multiple": false, "options": [ { "index": 0, "id": "obj_a1b2c3d4", "label": "vip", "detail": "string" } ], "slots": [ { "index": 0, "id": "obj_a1b2c3d4", "start_time": "2025-01-15T09:30:00Z", "duration_minutes": 1200, "label": "vip" } ], "recap": "string", "confirm_id": "obj_a1b2c3d4", "cancel_id": "obj_a1b2c3d4", "confirm_label": "string", "cancel_label": "string" }, "routing": { "mode": "explicit", "channel_type": "blooio", "number": "+15551234567", "alias": "string", "priority_id": "obj_a1b2c3d4", "priority": 0, "source": "priority", "fallthrough": [ { "channel_id": "ch_a1b2c3d4", "channel_type": "blooio", "outcome": "skipped", "code": "string", "message": "Hello from Blooio!" } ], "transition": { "mode": "pre", "message_id": "msg_a1b2c3d4", "error": { "code": "string", "message": "Hello from Blooio!" } }, "opener": { "type": "invitation", "message_id": "msg_a1b2c3d4" } }}