Updated 6 November 2026

iMessage API: what exists in 2026 and how to choose

Apple has no public iMessage API, and no bot API, for ordinary iMessage conversations. You have three routes: Apple Messages for Business for verified brands, self-hosting on a Mac with tools like BlueBubbles or imsg, or a managed iMessage API such as Sendblue, Blooio, LoopMessage, Photon or Claw Messenger. Claw Messenger is a managed API for AI agents, from $5 a month, with no Mac to run.

Claw Messenger publishes this page. We sell one of the products compared. Rival facts link to each company's own pages, checked 6 November 2026.

At a glance

Public Apple iMessage API
None for servers or bots
Apple's business route
Apple Messages for Business, through an approved provider; customers start the conversation
Self-hosted route
BlueBubbles, imsg or AppleScript on a Mac signed in to your Apple Account
Managed route
A provider runs the Apple side; your code calls an HTTPS API from any server
Typical managed price
Free shared tiers; $5 to $50 a month by message volume; $49 to $289 a month for your own number
Android recipients
Reached only through RCS or SMS fallback, where the provider offers it
Claw Messenger
Managed iMessage, RCS and SMS API for AI agents; $5/mo for 250 messages; no Mac

Prices checked 6 November 2026. Full table: best iMessage API by buyer.

Does Apple have an iMessage API?

No. Apple does not let a server, script or bot sign in to iMessage and hold conversations through a public API. What Apple does offer is narrower than most people expect:

What Apple offers for Messages developers and whether each can send from a server.
Apple offeringWhat it doesCan a server or bot use it?
Messages frameworkBuilds iMessage apps and sticker packs that run inside the Messages app on the user's device.No. It cannot send or read messages from a server.
MFMessageComposeViewController (MessageUI)Opens a prefilled compose sheet inside your iOS app.No. The person still taps Send, on their own phone.
Shortcuts and AppleScriptAutomate the Messages app on a Mac or iPhone signed in to an Apple Account.Only on that device. Reading replies means reading the local Messages database.
Apple Messages for BusinessA business channel with a verified brand name and logo, Apple Pay and pickers, run through an Apple-approved messaging provider.Yes, through the provider. Customers start the conversation.

So when people say “iMessage API”, they mean one of three things: Apple's business channel, software that drives the Messages app on a Mac, or a company that runs that work for you and sells API access.

The three ways to send and receive iMessage from code

Costs checked 6 November 2026.

The three iMessage API routes compared on fit, who starts the conversation, Mac requirement, cost and main risk, checked 6 November 2026.
RouteExamplesFitsWho startsMac neededCostMain trade-off
Apple Messages for BusinessThrough approved providers such as Twilio (private beta) or CM.comVerified brands: support, bookings, commerceCustomer startsNoSet by the provider; Apple publishes no priceBrand registration and Apple's Experience Review before launch
Self-hosting on a MacBlueBubbles, imsg (used by OpenClaw), AppleScript, ShortcutsDevelopers with a Mac they keep online; personal useEither sideYes, signed in to your Apple AccountFree software plus a Mac, power and your timeUptime, macOS updates and your own Apple Account are on you; no SMS fallback
Managed iMessage APISendblue, Blooio, LoopMessage, Photon, Inkbox, ZeroSettle, Miss Blue, Claw MessengerProducts and AI agents on Linux, Docker, Windows or a cloud serverDepends on plan: some are reply-only, some let you text firstNoFree shared tiers up to $289 a month per line (published prices)Provider limits on new contacts; you depend on the provider staying healthy

1. Apple Messages for Business

The only route Apple runs itself. Customers tap “Message” on your website, app, Apple Maps or a phone number, and see your verified name and logo. You must work through an Apple-approved messaging service provider, register your brand, and pass Apple's Experience Review. Automated agents are allowed, but they must reply quickly and say they are automated.

It fits support, bookings and checkout for an established brand. It does not fit an agent that texts people first, a personal assistant, or a product without a registered company. Read more about Apple Messages for Business.

2. Self-hosting on a Mac

Tools such as BlueBubbles, imsg (the command-line tool OpenClaw uses on a Mac) and AppleScript drive the Messages app on a Mac signed in to your Apple Account. BlueBubbles adds a REST API and webhooks on top.

The software is free and you control everything. You also own the hard parts: a Mac that stays awake and online, macOS updates that can break features, remote access to it, and the health of your own Apple Account. BlueBubbles has no SMS support, so Android recipients are out of reach. Mac mini server vs a managed API and BlueBubbles vs Claw Messenger go deeper.

3. A managed iMessage API

A provider runs the Apple side and gives you an API key. Your code can live anywhere: Linux, Docker, Windows, a serverless function or an AI agent framework. Providers differ in three ways that matter more than features: who may send the first message, how they count usage (messages, contacts, users or lines), and whether they fall back to RCS or SMS for Android phones.

Some plans are reply-only, where people must text first (Sendblue's $100 AI Agent line, Photon's free and $25 plans, Inkbox's shared router, LoopMessage's $20 shared sender). Others let your agent start conversations within daily limits (Claw Messenger from $5, ZeroSettle from $49, Miss Blue, Blooio). The best iMessage API comparison lists every price and limit.

How sending and receiving works with a managed API

The flow is the same at most providers, without any code:

  1. Get a key and a number. You sign up, receive an API key, and get a sending number: shared or your own, depending on the plan.
  2. Say who your agent may talk to. Most providers limit contacts, either by a list of registered numbers or by a cap on new conversations per day.
  3. Send. Your server makes an HTTPS request with a phone number and the text. If the number can receive iMessage, it arrives as a blue bubble; if not, providers with fallback send it as RCS or SMS.
  4. Receive. When the person replies, the provider passes the message to you, either as a webhook (an HTTPS request to a URL you host) or as an event on a connection your server keeps open, such as a WebSocket.
  5. Reply and track. Your agent decides what to say and sends again. Delivery and read status, typing indicators and tapbacks come back as events.

A setup is proven when a real reply reaches your agent, not when the first send is accepted. Claw Messenger sends over REST and streams replies over a WebSocket, so an agent behind a firewall needs no public webhook URL. Its API docs have the quickstart, and how Claw Messenger works follows one message from your agent to a phone and back.

What about an iMessage bot?

There is no Apple bot API like Telegram's or Slack's. An iMessage bot is two parts: a transport from one of the three routes above, and your own code or AI model that reads each message and writes the reply. Ready-made assistants exist too, where you just text a contact. If you want to build one, how to build an iMessage bot, with or without a Mac walks through each step.

What an iMessage API costs

  • Self-hosted: free software, plus a Mac (the BlueBubbles FAQ points to used Mac minis for $50 to $100) and your time to keep it running.
  • Managed, shared number: free tiers at Photon (10 users) and Inkbox (2,000 iMessages a month), $20 at LoopMessage (50 contacts), and $5 to $50 at Claw Messenger (250 to 15,000 messages).
  • Managed, your own number: $49 at ZeroSettle, $98 to $289 at Blooio, $100 at Sendblue, $149 on sale at Miss Blue, and $250 at Photon Business, per line per month.
  • Apple Messages for Business: priced by the provider you choose; Apple publishes no price.

See the cheapest option at each volume, Claw Messenger pricing and the longer iMessage API pricing guide.

How to choose

  • You are a verified brand and customers come to you: Apple Messages for Business.
  • You already run a Mac and the agent is for you: BlueBubbles or imsg.
  • People text your agent first and you want it free: Photon Free or Inkbox Free.
  • Your agent texts a few known people first, on a small budget: Claw Messenger from $5 a month.
  • You want your own number with no message count: ZeroSettle ($49, iMessage only) or Miss Blue ($149 on sale).
  • A buyer needs SOC 2 or HIPAA paperwork: Sendblue Enterprise.
  • You resell to many clients: Claw Messenger Agency, Blooio, Miss Blue or Photon Business.

Head-to-head pages: vs Sendblue, vs Blooio, vs LoopMessage, vs Photon, vs Inkbox, vs ZeroSettle, and the iMessage API matrix for Linux and cloud agents. Weighing the best-known hosted providers? See Sendblue vs LoopMessage vs Blooio and the Sendblue alternatives for small teams.

Connect an iMessage API to your agent

Setup guides for Claw Messenger, by framework:

Frequently asked questions

Does Apple have an iMessage API?

No. Apple has no public API that lets a server send and receive ordinary iMessage conversations. Apple offers the Messages framework for iMessage apps and stickers, a compose sheet that the person still sends themselves, and Apple Messages for Business for verified brands through approved providers.

Is there an iMessage bot API?

Not from Apple. An iMessage bot is built from a transport (a Mac you run, or a managed API) plus your own code or AI model that decides what to reply. Apple Messages for Business allows automated agents for verified brands, but customers must start the conversation.

Can I use an iMessage API without a Mac?

Yes. A managed iMessage API runs the Apple side for you, so your code can live on Linux, Docker, Windows or a cloud server. Apple Messages for Business also needs no Mac. Self-hosted tools such as BlueBubbles and imsg need a Mac signed in to your Apple Account.

How much does an iMessage API cost?

Self-hosting is free software plus a Mac. Managed APIs range from free shared tiers (Photon, Inkbox) to $5 a month (Claw Messenger, 250 messages), $49 for your own number (ZeroSettle), and $100 to $289 per line at Sendblue, Blooio, Miss Blue and Photon Business. Apple Messages for Business is priced by the provider. Prices checked 6 November 2026.

Can an iMessage API message Android phones?

Not over iMessage, which only works between Apple devices. Many managed APIs fall back to RCS or SMS when a number cannot receive iMessage, including Sendblue, Photon, Miss Blue and Claw Messenger. BlueBubbles and ZeroSettle do not fall back to SMS.

Can Apple block an iMessage bot?

Yes. Apple can restrict an account or number that sends unwanted messages, whichever route you use. That is why managed providers cap new conversations per day and ask for consent and opt-out handling. Message people who expect to hear from you and keep new-contact volume low.

Sources

Want your AI agent on iMessage without running a Mac? Claw Messenger starts at $5 a month, with RCS and SMS fallback.

Start the 7-day trial