Send and manage iMessage, SMS, and RCS business messages, contacts, and webhooks through Sendblue.
Sendblue ships in the w6w first-party pack. It declares 47 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.
io.w6w.sendblueSendblue puts business messaging into a workflow — send and manage iMessage, SMS and RCS messages, reactions, read receipts, typing indicators, media and carousel cards, plus the contacts, webhooks, seats, phone lines, TOTP codes, location sharing and phone verification underneath a messaging program. Group messaging, contact bulk import and removal, and per-line health status are all covered alongside the core send and receive surface.
Sendblue’s phone verification works differently from the send-a-code-and-check-it pattern most vendors use: there is no endpoint to submit a code a user typed in. Instead the recipient texts the code back to a pool number, and Sendblue verifies it automatically the moment that reply arrives — a workflow watches verification status rather than submitting an answer. TOTP support goes further, letting a workflow read a rotating two-factor code as if it were the account holder, useful for automations that must clear a 2FA gate on the recipient’s behalf.
Provisioning a new phone line or requesting a subaccount is deliberately left out of this first pass, since both are agency-only operations that charge the card on file; direct raw-file uploads and open-ended event-streaming endpoints are also out of scope since they don’t fit a single request/response call.
Three routes to the same 47 actions. The Workflow tab is generated from Sendblue's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.
carousel-send Send 2–20 HTTPS images as a swipeable carousel. Requires a V2 (Mac Mini) line.
contact-bulk-delete Delete multiple contacts by phone number (the field is named `contact_ids` but takes phone numbers).
contact-opt-out Opt a contact out (default) or back in (optedOut = false) from receiving messages.
contact-update Update a contact. custom_variables merges into the existing map; it does not replace it.
contact-verify Send a verification message to a contact (required before messaging them on free shared-line plans).
group-modify Add or remove an external participant from an existing iMessage group (beta).
group-send-message Send a message to an existing group or a fresh list of recipients (beta).
location-get Read one contact's currently-shared Find My location, if they already share with a V2 Sendblue line.
location-list Read every Find My location currently shared with a V2 Sendblue line.
location-request-create Send a Find My location request to an iMessage recipient. Requires a V2 line.
media-upload-from-url Download media from a URL and re-host it on Sendblue's CDN.
message-app-card-update Continue an existing App Card session with a new Apple message.
message-delete Soft-delete a message from Sendblue's database. Does NOT unsend/recall it on the recipient's device.
message-list List messages with filtering and pagination. Rate limited to 100 req/10s.
message-status-get Retrieve the current status of a message by its handle (avoids duplicate sends).
reaction-send Add (or remove, with a `-` prefix) an iMessage tapback on a received message.
read-receipt-send Mark a conversation as read (iMessage/RCS only). Requires read receipts to be enabled for the account.
totp-get-code Generate the current TOTP code for a stored secret, and how long until it rotates.
totp-secret-create Store a TOTP secret for this account, from either an otpauth:// URI or a base32 secret.
totp-secret-list List stored TOTP secrets. The base32 secret value itself is never included here.
typing-indicator-send Show the animated typing indicator to a recipient. iMessage 1:1 only.
verified-contact-create Create (or return the existing) verified-contact route for the account's shared iMessage line. Becomes verified once the contact texts that line.
verified-contact-list List every verified-contact route attached to the account's shared line.
verify-service-create Create a Sendblue Verify service — configuration shared by the Verifications created against it.
verify-verification-create Start an inverted-OTP verification: the recipient must TEXT the returned code back to Sendblue — there is no separate "check code" call.
verify-verification-list Account-scoped verification state, for recovering terminal Verify events.
webhook-update Replace ALL webhooks for the account. This overwrites the existing configuration — read webhook-list first if you only want to add or remove one entry.
A workflow step names the app and the action, and the editor fills in the
connection when you pick one. This is the Step shape from the
workflow spec, carrying Sendblue's real ids.
{
"manifestVersion": "2",
"name": "sendblue-example",
"steps": [
{
"id": "carousel-send",
"uses": {
"app": "io.w6w.sendblue",
"action": "carousel-send",
"connection": "conn_YOUR_CONNECTION_ID"
},
"with": {
"fromNumber": "<fromNumber>",
"number": "<number>",
"mediaUrls": "<mediaUrls>"
}
}
]
}carousel-send contact-bulk-create contact-count contact-create contact-get +42 more actions available
Every app-specific value here is a blank you have to fill in. An
app action is reached through the connection that authenticates it, so the
address is a connection id, not the app id — and connections belong to your account,
so a public page cannot know yours. Create one for Sendblue, then fill in
the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the
parameters that action declares. The call itself is real — the shape is transcribed
from the studio's own snippet builder, which prints the same kind of blanks — but
nothing in it is specific to Sendblue. The Workflow tab is where this app's
real ids are.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { W6wClient, isActionRun } from "@w6w/sdk";
// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();
const envelope = await client.run({
urn: "conn_YOUR_CONNECTION_ID",
action: "carousel-send",
payload: {
fromNumber: "<value>",
number: "<value>",
mediaUrls: "<value>",
// sendStyle: "<value>",
// seatId: "<value>",
// statusCallback: "<value>",
},
});
if (isActionRun(envelope)) console.log(envelope.value); npm install -g @w6w/cli w6w run conn_YOUR_CONNECTION_ID --action carousel-send --payload '{"fromNumber":"<value>","number":"<value>","mediaUrls":"<value>"}' Give an AI agent Sendblue — without giving it Sendblue's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.
One tool call{
"name": "w6w_invoke",
"arguments": {
"ref": "app:io.w6w.sendblue#carousel-send",
"input": {
"fromNumber": "<fromNumber>",
"number": "<number>",
"mediaUrls": "<mediaUrls>"
}
}
}
Every tool names its target with a single ref. The
app: form above doesn't name a connection at all — the
host resolves which of the caller's Sendblue connections to sign
with, and refuses rather than guesses when the answer is ambiguous.
The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.
Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.
Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.
Sendblue's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.
The MCP surface is part of the hosted platform. Sendblue itself is MIT, and the runtime that executes it is source-available (FSL).
Sendblue declares its own checks, so its health is a property of the app rather than something the host guesses at.
Per-line ONLINE/OFFLINE/DEGRADED status for this account's Sendblue numbers, from GET /api/v2/lines/state.