Convo gives your agent real iMessage and phone-number lines. Send, reply, react and run group chats through one API. Your agent sends commands and reads events.
What your agent can do on iMessage
Text and replies
Send to a new address or into a one-to-one conversation your line already has open. Quote an earlier message, so the reply lands on the line it answers.
Group chats
Create a group with its opening message, rename it, add participants.
Tapbacks
The six classic tapbacks, added or removed, on any message in a direct or group thread.
Attachments
Send a photo, a file, or a voice note on the same line the text goes out on. Photos and files sent to your line arrive as ids on the event, fetched by id.
Also on iMessage: contact card, reachability check, typing indicators, polls, rich links and send effects.
Use cases
What agents do on a line.
Support
A customer asks in the thread, and the agent answers there.
Scheduling
The agent offers a time, reads the reply and confirms it.
Notification
An order update or a reminder, on a line the customer can reply to.
Sales
A buyer's question, answered in the thread where they asked it.
Coordination
A group chat for a job: the agent creates it, names it and adds the people it needs.
Reliability
Reliability you can check
Six properties of the architecture, not promises on a slide.
Sending
Retries never double-send: the same Idempotency-Key is adopted, not sent twice. Delivered means proved: a status settles on transport evidence, never on a guess.
Receiving
Nothing lost between reconnects: the stream replays 90 days from your Last-Event-ID. Signed webhooks: hMAC-SHA256 over the timestamp and the body, two signatures during rotation.
Isolation and access
Test cannot reach production: environment is a column on every row, and nothing joins across it. Isolation in the database: row-level security on every table. A query without its tenant returns nothing.
The fleet
The fleet behind the line.
iMessage lines run on Mac minis we rebuild as blade servers and rack in data centres. We run the hardware, so a line is ours to keep healthy.
- Mac servers
- 450
- iMessage lines
- 3,300
- messages in one pilot month
- 300K

Channels
One API, channel by channel
One command vocabulary and one event stream for iMessage, WhatsApp, Discord and Slack.

LarkspuriMessage
- YYouCan I move my delivery to Friday?
- LLarkspurAPPDone. It’s on Friday’s route now, and I’ll text you when it’s on the way.
- YYouThank you!
LarkspurWhatsApp
- YYouDo you have a table for two tonight?
- LLarkspurAPPWe do. Early or late evening?
- YYouEarly, please.
- LLarkspurAPPBooked for this evening. See you then!
# supportDiscord
- Mmira@Larkspur is the build green?
- LLarkspurAPPYes, every check passed. Want the release notes in this channel?
- MmiraYes please
# supportSlack
- JJo@Larkspur summarize this week’s support tickets
- LLarkspurAPPMost were about billing. Three are still open, and I’ve drafted a reply for each.
Developers
One unified API. Nothing to install.
Create a project and a test key, send a command, listen for events. Your code stays where it is: Mapier Convo is the lines, the transport and the proof, not a runtime.
Create a project and a test key
MAPIER_BASE_URL=… MAPIER_API_KEY=<paste-your-key-here>Keys are scoped to one project and one environment. A test key reaches a sandbox with a simulated phone — sends and reactions settle there as they would on a live line — and can never reach a real number.Send a command
POST /v1/commands/message.sendOne endpoint, 23 published command types. Add an Idempotency-Key to a send and a retry is adopted: the original result comes back and nothing goes out twice.Listen
GET /v1/response_streamInbound messages and command settlements arrive on a resumable event stream, or as signed webhooks with automatic retries. Request a live line from the console when you are ready.

curl
curl -sS -X POST "$MAPIER_BASE_URL/v1/commands/message.send" \
-H "Authorization: Bearer $MAPIER_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-2481-shipped" \
-d '{
"target": {
"channel": "imessage",
"recipient": "+15555550100"
},
"payload": {
"text": "Order 2481 shipped. Reply here if anything is off."
}
}'
# 202 { "commandId": "…", "status": "queued",
# "disposition": "queued" }
send.ts
const base = process.env.MAPIER_BASE_URL;
const response = await fetch(`${base}/v1/commands/message.send`, {
method: "POST",
headers: {
authorization: `Bearer ${process.env.MAPIER_API_KEY}`,
"content-type": "application/json",
// Same key twice: the second send is adopted, not resent.
"idempotency-key": "order-2481-shipped",
},
body: JSON.stringify({
target: { channel: "imessage", recipient: "+15555550100" },
payload: {
text: "Order 2481 shipped. Reply here if anything is off.",
},
}),
});
// 202 { commandId, status: "queued",
// disposition: "queued" | "adopted" }
const { commandId } = await response.json();
stream.ts
const base = process.env.MAPIER_BASE_URL;
const response = await fetch(`${base}/v1/response_stream`, {
headers: {
authorization: `Bearer ${process.env.MAPIER_API_KEY}`,
accept: "text/event-stream",
// Resume where you left off. Frames replay for 90 days.
"last-event-id": lastEventId,
},
});
for await (const frame of sseFrames(response.body)) {
if (frame.event === "message") {
// { conversationId, from, text, externalId,
// replyToExternalId, occurredAt, attachmentIds }
const inbound = JSON.parse(frame.data);
await send({
target: { conversationId: inbound.conversationId },
payload: { text: await reply(inbound.text) },
});
}
if (frame.event === "command") {
// { commandId, logicalActionId, status,
// errorCode, conversationId }
// status: succeeded | failed | ambiguous |
// no_effect | cancelled | expired
}
}
webhook.ts
import { createHmac, timingSafeEqual } from "node:crypto";
export async function POST(request: Request): Promise<Response> {
const body = await request.text();
const timestamp = request.headers.get("mapier-timestamp") ?? "";
const presented = request.headers.get("mapier-signature") ?? "";
// HMAC-SHA256 over `${timestamp}.${body}`.
// Two v1= entries arrive during secret rotation.
const expected = Buffer.from(
"v1=" +
createHmac("sha256", process.env.MAPIER_WEBHOOK_SECRET!)
.update(`${timestamp}.${body}`)
.digest("hex")
);
// Compare bytes of equal length: timingSafeEqual throws on a
// length mismatch, and a string length is not a byte length.
const valid = presented.split(",").some((entry) => {
const bytes = Buffer.from(entry.trim());
return (
bytes.length === expected.length &&
timingSafeEqual(bytes, expected)
);
});
const age = Math.abs(Date.now() / 1000 - Number(timestamp));
if (!valid || age > 300) {
return new Response(null, { status: 401 });
}
// { id, type, environment, occurredAt,
// deliveryId, attempt, data }
const event = JSON.parse(body);
if (event.type === "message.received") {
const { conversationId, from, text } = event.data;
// …
}
return new Response(null, { status: 204 });
}
Pricing
A plan for every stage of your agent.
Every plan includes the complete API, line health warnings, the event stream, signed webhooks and the sandbox. Ultra Scale adds dedicated lines and group chats; Enterprise adds the terms a business needs, sized with you on a demo.
Pro
For builders and early-stage teams.
$25 / month
- Community support, with your tickets answered first
- A managed iMessage line, shared with other projects
- Unlimited daily messages
- Line health warnings, before Apple stops delivering
- One-to-one messaging: text, attachments and voice notes
- Polls, rich links, send effects and chat backgrounds
- iMessage, Discord and Slack on one API
Ultra Scale
For agents in production.
$99 / month
- A shared support channel with our team in Slack or Discord
- Everything in Pro
- One dedicated iMessage line for your project
- Group chats: create, rename, add participants
- Contact card: your agent's name and photo in the thread
- iMessage, WhatsApp, Discord and Slack on one API
- Team roles and per-project access
Enterprise
For businesses that run on their own terms.
Custom
- Priority support with a named contact
- Everything in Ultra Scale
- Dedicated lines, as many as you need
- Dedicated relay capacity and retention terms by agreement
- Security review, DPA and sub-processor list
- Invoicing, purchase orders and annual terms
Also in Mapier Infra
Your agent needs a computer, too?
Pod is the computer the agent works on; Convo is the line people text.
FAQ
Questions we are asked
Is there an official iMessage API?
No. Apple does not publish one. Mapier operates real Macs signed into real Apple accounts and exposes them through a control plane, so your application sends genuine iMessages from a real number without running any Apple hardware.
What if an address cannot receive iMessage?
Ask first: a reachability check returns whether the address can receive and, when it cannot, why.
Is there an SDK?
None is required. The API is plain HTTPS with an OpenAPI description, so it works from any language. The Mac automation layer underneath, @mapier-labs/imsg-sdk, runs on our fleet; there is nothing for you to install.
How long do you keep data?
Live messages, contacts and conversations behind your dashboard have no end date today, and we delete them when you ask. Message text and attachments in our delivery system are deleted about 90 days after they were sent or received. We are switching on deletion of events after 90 days, webhook delivery records after 90 days and test-environment messages after 30 days. The audit log is never purged. The privacy policy has the full account.
Do you hold SOC 2 or HIPAA attestations?
We don't hold SOC 2 or HIPAA attestations today, and we won't imply we do. Both are in progress — if procurement needs one, talk to us before you build. Security review: a questionnaire and an architecture walkthrough, on Enterprise. DPA: a data processing agreement and the sub-processor list, on Enterprise.





