For developers

Build with our iMessage API/MCP. Get our sandbox for free.

Integrations

Send an iMessage via API

The short answer

To send an iMessage programmatically with Blue Reacher, POST a phone number and a message to https://api.bluereacher.com/v1/send with your dashboard key. The text leaves your dedicated line as a blue bubble, with RCS then SMS fallback from the same number. A free brk_test_ key runs the Bearer routes, replies included, against a simulator that sends nothing. No A2P registration required. Lines pace at 50 opted-in and 30 cold new contacts a day; replies are never metered.

$249 per line per month, published No A2P registration required 50 opted-in / 30 cold new contacts a day, unlimited replies
Languages

6 tools in this group

Trigger

REST API (curl)

Under 9 seconds

Send iMessage

Result

Reply back in REST API (curl)

iMessage

Hi Alex, following up on your demo request. Worth a quick chat this week?

Sent from your REST API (curl) workflow

Yeah, tomorrow works.

Key takeaways

  • One POST with two fields. Send your dashboard key in the x-custom-location-key header; x-api-key and Authorization: Bearer also work.
  • A successful send returns HTTP 202, with the message queued on your line:
  • Use a test key. Keys that start with brk_test_ run the Bearer routes against a simulator: the same checks and response shapes as live, nothing sent, and "sandbox": true on every reply.
  • Register an HTTPS endpoint with POST /v1/webhooks.
  • Each line paces at 50 opted-in and 30 cold new contacts a day.

How a message falls back

Every message is attempted as iMessage first, falls back to RCS if the number cannot receive iMessage, and falls back to SMS if it cannot receive RCS, so the message arrives either way.iMessageBlue bubble, read in minutesRCSIf the number is Android and RCS-...SMSIf neither, so it still arrives
Every message is attempted as iMessage first, falls back to RCS if the number cannot receive iMessage, and falls back to SMS if it cannot receive RCS, so the message arrives either way.

What is the exact request to send an iMessage via API?

One POST with two fields. Send your dashboard key in the x-custom-location-key header; x-api-key and Authorization: Bearer also work.

curl -X POST https://api.bluereacher.com/v1/send \
  -H "x-custom-location-key: YOUR_SEND_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "phone": "+15551234567", "message": "First message from the API" }'
  • This sends a real message, so use a number you own for the first test.

phone

Required
Yes
What it holds
The full number with country code. A 10-digit US number is also accepted.

message

Required
Yes
What it holds
The text.

message_id

Required
No
What it holds
Your own id for the message.

location_id

Required
No
What it holds
Needed only when your key covers more than one workspace.

What does the API send back?

A successful send returns HTTP 202, with the message queued on your line:

{
  "success": true,
  "message_id": "...",
  "status": "queued",
  "delay_seconds": null
}
  • Keep message_id as your reference. Status lookup does not cover messages sent through /v1/send yet, so do not poll for them.

How do I test without sending a real message?

Use a test key. Keys that start with brk_test_ run the Bearer routes against a simulator: the same checks and response shapes as live, nothing sent, and "sandbox": true on every reply.

curl -X POST https://api.bluereacher.com/v1/messages \
  -H "Authorization: Bearer brk_test_YOUR_TEST_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "to": "+15551234567", "message": "Hello from a test key" }'
  • A simulated message moves from queued to sent to delivered in about 8 seconds on GET /v1/status/{message_id}. Live keys on the Bearer routes work once live access is connected; /v1/send is the live route today.

Everything above describes the mechanism. The Blue Funnel Map marks the stages where your own funnel is losing replies, and you keep the map whether or not you buy.

Map this against your funnel

How do replies reach my code?

Register an HTTPS endpoint with POST /v1/webhooks. The response carries a webhook_id and a secret, shown once. On a test key, POST /v1/sandbox/inbound fires a simulated reply at it.

  • Each reply arrives as a message.received event, the only event sent today. Verify the X-BlueReacher-Signature header, sha256= plus the HMAC-SHA256 of the raw body, before you parse it:
{
  "event": "message.received",
  "event_id": "EVENT_ID",
  "timestamp": "2026-11-04T09:00:00Z",
  "api_version": "2026-10-22",
  "data": {
    "message_id": "MESSAGE_ID",
    "phone_number": "+15551234567",
    "contact_id": "CONTACT_ID",
    "contact_name": "Jane Doe",
    "content": "Yes, Thursday works",
    "media_urls": [],
    "direction": "incoming",
    "service_type": "iMessage",
    "received_at": "2026-11-04T09:00:00Z"
  }
}
What are the limits and the price?

What are the limits and the price?

Each line paces at 50 opted-in and 30 cold new contacts a day. Replies inside an open thread are never metered, and no A2P registration is required.

  • Blue Reacher is $249 per line a month, $199 a line at 4 or more, plus $449 activation once per account. Annual is $1,949 per line with activation waived.
  • API access, webhooks and the MCP server are included in the line price. Full schemas are in the API docs, and the iMessage API page covers the wider surface.

Frequently asked questions

Can you send an iMessage through an API?

Yes. Blue Reacher exposes a REST API on a dedicated iMessage line: POST a phone number and a message to https://api.bluereacher.com/v1/send and the text is delivered as a blue bubble, with RCS then SMS fallback from the same number.

How do I send an iMessage programmatically?

Make one HTTPS POST with a JSON body from any language. curl, Node, Python, Go and Java all work, and official SDKs are on npm and PyPI as bluereacher. An MCP server, listed on the official MCP Registry as com.bluereacher/mcp, gives AI agents the same send as a tool.

Is there a free way to test the iMessage API?

Yes. Test keys start with brk_test_ and run against a simulator, so nothing is sent and every reply carries "sandbox": true. The sandbox is free, and on a demo call we send one free test iMessage to your phone.

Do I need A2P 10DLC registration to send through the API?

No A2P registration required for iMessage: no brand vetting and no campaign approval. TCPA consent and opt-out rules still apply to every message on every channel.

What does it cost to send iMessages by API?

$249 per line a month, $199 a line at 4 or more lines, plus $449 activation once per account, or $1,949 per line a year with activation waived. There is no per-message fee, and API access is included.

Send your first iMessage from code

Book a demo and we set up your line and keys on the call. You run the request yourself and watch it land as a blue bubble.