Does iMessage Have an API? What Works in 2027

Does iMessage have an API? No: Apple publishes none. The 3 ways to send iMessages from code in 2027, what each costs, and the rules that keep a line alive.

LinkupAPI blog thumbnail
Article

By The LinkupAPI Team · Reviewed by Eliott · Updated

Written by the LinkupAPI Team, reviewed by Eliott. Facts checked December 2026.

Does iMessage have an API? Developers ask it the same way every year. A Reddit thread on r/iOSProgramming puts it plainly: any APIs that let me read and text using iMessage?

They expect a yes. Twilio has one for SMS. Meta has one for WhatsApp. Telegram hands out bot tokens in a minute.

Short answer: no. Apple has no public iMessage API. Nothing lets a server send or receive iMessages with an Apple-issued key. What exists in 2027 is three workarounds: Apple's own limited tools, a Mac you run yourself, or a managed line that a provider runs for you.

This guide covers all three, what each costs you in time, and the sending rules that decide whether a number survives.

Key Takeaways

  • Apple publishes no public iMessage API for sending or receiving messages from a server.
  • Apple's developer tools only open a prefilled message that a person must send by hand.
  • A self-hosted Mac bridge works, but you carry the hardware and the risk of a blocked Apple account.
  • A managed iMessage API sends blue bubbles from a dedicated number with one call and no Mac.
  • Sending rules matter more than code: few new conversations a day, plain first messages, real replies.

Does iMessage Have an API?

iMessage does not have a public API. Apple offers no endpoint, no key and no documentation for sending an iMessage from a server. An iMessage API, as the term is used today, is a third-party service that sends and receives blue-bubble messages through real Apple devices or lines it operates.

That gap is unusual. Every other large messaging channel sells developer access.

Lindy's engineering team summed it up in a post on their own build: these are platforms that want developers building on them, and Apple does none of this.

So the word "API" covers two very different things. One is what Apple gives iOS developers. The other is what outside providers built around the gap.

What Does Apple Offer Developers Instead?

Apple offers two official tools near iMessage, and neither sends a message for you. The message composer in iOS opens a prefilled draft that the user must send. Apple Messages for Business lets a customer open a chat with a brand. Outbound messaging from a server is not part of either.

The message composer. Apple's developer documentation describes it as an interface that "lets the user compose and send SMS or MMS messages". Your app fills in the recipient and the text. The person taps send. Apple adds that the interface "doesn't guarantee the delivery of your message".

That is a share sheet, not a channel. It needs an iPhone in someone's hand.

Apple Messages for Business. This is the customer-service product. A customer taps a Message button and starts the chat. The business answers through an approved messaging platform. The business cannot write first.

Good for support. Useless for outreach, reminders to people who never wrote, or an agent that opens a conversation.

What Are the Three Ways to Send an iMessage From Code?

There are three ways to send an iMessage from code in 2027: Apple's composer inside your own iOS app, a self-hosted bridge running on a Mac, and a managed iMessage API on a dedicated number. Only the last two send without a person tapping a button. They differ on who carries the hardware and the risk.

RouteSends without a humanWhat you runMain limit
Apple's message composerNo, the user taps sendYour own iOS appOne message, one person, by hand
Apple Messages for BusinessOnly repliesAn approved messaging platformThe customer must write first
Self-hosted Mac bridgeYesA Mac that stays on, an Apple account, your own codeYou own the upkeep and the block risk
Managed iMessage APIYesNothing, you call an endpointA monthly fee per line and daily sending rules

The self-hosted route is real. Open-source projects such as BlueBubbles turn a Mac into a message server. A script reads the Messages app and sends through it.

It also breaks in ways nobody plans for. macOS updates change things. The Mac sleeps. And Apple can block the account.

Lindy wrote about exactly that. Their first bridge was a Mac mini in a data center. Launch-day volume got their Apple account banned within half a day. They rebuilt on a managed API in four hours.

The mistake most teams make is treating the bridge as the hard part. Sending is easy. Staying unblocked is the work.

How Does a Managed iMessage API Work?

A managed iMessage API gives you a dedicated phone number that a provider keeps online. Your code calls one endpoint with the recipient's number and the text. The message leaves as a blue bubble from that number. Replies, reactions and read receipts come back to your server as webhook events.

You never touch a Mac. You never sign in with your own Apple ID. The line is a number bought for the job, not your personal phone.

Take a four-person sales tooling startup in Austin. They spent three weeks keeping a Mac mini alive under a desk. Their founder put it this way: "I don't want to babysit hardware. I want a number that sends."

They moved to a managed line on a Monday. By Tuesday, their app sent its first message with one call. The reply showed up in the same handler that already processed email replies.

On LinkupAPI, a line also handles files and voice notes once the contact has replied, tapbacks, and the typing indicator. The iMessage API page has the request format.

Diagram of how a managed iMessage API works: an app or AI agent makes one API call, a dedicated line sends a real blue-bubble iMessage, and replies and tapbacks come back on a webhook, with no Mac to run

A first line takes a few minutes to set up. Get your API key at linkupapi.com to try it.

What Rules Keep an iMessage Line Alive?

An iMessage line stays alive when it behaves like a person texting, not a broadcast system. That means a low number of new conversations a day, a first message in plain text, and replies coming back. A provider that enforces these rules before each send protects the number better than any clever code.

Here are the limits we apply per line, as documented in December 2026:

RuleValue per line
New conversationsUp to 50 a day, 15 minutes apart
Different contacts300 per rolling 24 hours, 1,000 per month
Follow-ups without a reply2 at most, 24 hours apart
First messagePlain text: no link, email, phone number, price or attachment
Reply rate to aim forAbove roughly 30%

Replies do not count against the daily quota. Once someone answers, the thread is a normal conversation.

A brand-new number starts slower. It opens 2 new conversations a day at first, then 5, 10, 20 and 30. It reaches 50 after three weeks.

Bar chart of new iMessage conversations allowed per day on a brand-new line through an iMessage API: 2 on days 1 to 2, 5, 10, 20, then 30 on days 15 to 21, and 50 a day from day 22

These numbers look small next to email. That is the point. iMessage is a channel for 50 good conversations, not 5,000 cold ones.

The first-message rule surprises people most. No link on the opener means your message has to earn a reply by itself. "Hi Jane, saw your team is hiring SDRs. Open to a quick chat this week?" works. A pitch with a calendar link does not go out.

Where Does iMessage Fit in a Multichannel Sequence?

iMessage fits late in a multichannel sequence, after a prospect has shown interest on another channel. LinkedIn opens the relationship and email carries the detail. iMessage is the short, personal nudge for people who already know who you are, in markets where most contacts carry an iPhone.

Picture an AI SDR agent at a Series A payroll startup. On Monday it sends 40 LinkedIn connection requests to US finance leads. Eighteen accept.

The agent messages those 18 on LinkedIn. Six reply. For the 12 who stay silent, it finds a work email and sends a short note on Thursday.

The following Tuesday, five of them still have not answered, and their mobile number is on file from an earlier demo request. Those five get one iMessage, two lines, no link. Three answer within the hour.

The figures are an illustration, not a promise. The mechanism is what matters. Each channel filters the list, so the most personal channel only reaches the warmest people.

One practical detail makes this workable. LinkedIn, email, WhatsApp and iMessage events arrive on the same webhook, with the platform named on each event. One handler covers the whole sequence, and a product can show one inbox.

The iMessage outreach page goes deeper on sequences. For the agent side, see how to build an AI SDR agent.

What an iMessage API Is Not

An iMessage API is not an SMS gateway, a bulk messaging tool or a way to use your personal Apple ID from a server. It is one dedicated line that holds real conversations. Three neighbours get confused with it, and each solves a different problem.

  • Not an SMS API. Twilio or Vonage send green-bubble texts through carriers, billed per message. That suits one-time codes and alerts at volume. It carries no read receipts, no typing indicator and no tapbacks.
  • Not a bulk sender. Tools built for campaigns of 10,000 texts work against everything that keeps a line healthy. A line capped at 50 new conversations a day is the opposite design.
  • Not Apple Messages for Business. That product is inbound customer service through an approved platform. An iMessage API lets your side write first, within the rules above.

Who Should Use an iMessage API, and Who Should Not?

An iMessage API suits teams whose contacts are in the United States, expect a personal tone and have already engaged once. It does not suit mass notification or cold blasts. The honest test is volume: if you need thousands of first messages a day, pick another channel.

It fits:

  • Sales and recruiting products that want a warm follow-up channel next to LinkedIn and email.
  • AI agents that hold real back-and-forth conversations with a small list.
  • Products whose users already ask to "just text" their contacts.

It does not fit:

  • One-time passcodes, delivery alerts and anything that must reach every phone. Use SMS.
  • Audiences outside the iPhone-heavy markets. Use WhatsApp.
  • Lists that never opted in. A low reply rate ends the line.

There is a trade-off on cost. A managed line is a fixed monthly fee whether you send 10 messages or 1,000. A self-hosted Mac looks cheaper until someone spends a week on it.

You might think a managed line removes all risk. It does not. It removes the hardware and enforces the pacing. What you write still decides whether people reply.

How Do You Send a First iMessage From an AI Agent?

You send a first iMessage from an AI agent by connecting an MCP server that exposes the send action as a tool, then giving the agent a line and a short brief. Claude, Cursor and any MCP client can then send, read replies and follow up inside the line's limits.

  1. Get your API key and add a dedicated iMessage line from the dashboard.
  2. Connect the MCP server in Claude, under Settings, then Connectors. ChatGPT uses Custom GPT Actions instead.
  3. Paste a brief: "Text the 5 prospects who accepted my LinkedIn invitation but never replied, using the mobile numbers in the sheet. Two lines each, no link, mention their open SDR roles. Show me the drafts before sending."
  4. Make it a routine. Claude Cowork runs it on a schedule from claude.ai. Claude Code routines do the same for developers.

The Claude to LinkedIn guide walks through the connector setup, which is the same for every channel.

Frequently Asked Questions About the iMessage API

Does Apple have an official iMessage API?

No. Apple has no official iMessage API for sending or receiving messages from a server. Its developer tools open a prefilled draft that a person must send, and Apple Messages for Business only lets a brand answer customers who wrote first. Every iMessage API on the market is a third-party service.

Can you send an iMessage without a Mac?

Yes, with a managed iMessage API. The provider runs the line on its own infrastructure, and you call an endpoint with a phone number and a text. Without a provider, sending from code requires a Mac that stays online with an Apple account, which you then have to maintain yourself.

How much does an iMessage API cost?

Managed iMessage APIs usually charge a monthly fee per dedicated line instead of a price per message. As one example, a line at linkupapi.com costs $199 a month on top of a plan, with messages not metered. A self-hosted Mac has no fee but costs hardware and engineering time.

Can you automate messages on iMessage?

Yes, within limits. A managed line or a self-hosted Mac bridge can send iMessages from code or from an AI agent. Automation that stays healthy opens few new conversations a day, sends a plain first message and stops after two unanswered follow-ups. High-volume blasts get numbers blocked.

What is the difference between an iMessage API and an SMS API?

An SMS API sends green-bubble texts through carriers and bills per message, which suits codes and alerts at volume. An iMessage API sends blue bubbles from a dedicated line, with read receipts, typing indicators and tapbacks. It suits a small number of real conversations with iPhone users.

Want iMessage next to LinkedIn, email and WhatsApp in one integration? Get your API key at linkupapi.com.

LinkupAPI V2 - See what’s new

LinkedIn, email, WhatsApp and iMessage through one API. Unlimited accounts, one fixed price.

50
+

Endpoints

99.9
%

Uptime

< 3
s

Avg Response