iMessage and WhatsApp for AI agents: answer where people already message
Obsession connects your AI agents to iMessage, WhatsApp, Slack and Telegram through one API and one webhook. Your agent gets an iMessage line of its own, and WhatsApp for support, sales, bookings and notifications.
import { Obsession } from "obsession"const obsession = new Obsession({ apiKey: process.env.OBSESSION_API_KEY })// Connect each app onceawait obsession.messaging.connect({ channel: "imessage" })await obsession.messaging.connect({ channel: "whatsapp" })await obsession.messaging.connect({ channel: "slack" })await obsession.messaging.connect({ channel: "telegram" })// Every message, from every app, reaches one webhookawait obsession.events.subscribe({ url: "https://your-app.example/hooks/messages", events: ["message.received"],})One agent on WhatsApp, iMessage, Slack and Telegram.
Customers write where they already are, and your team works in Slack. The same agent answers each, under one name, with one history.
- 01A guest writes on WhatsApp
- 02Another writes on iMessage
- 03Your team asks in Slack
- 04One agent, one history
- 08:02message.receivedWhatsApp: “Is late checkout still free on Sunday?”
- 08:02message.receivediMessage: “Can you book us a taxi for 6am?”
- 08:03page.visitedtaxi.example/book · 06:00 pickup · screenshot saved
- 08:05message.receivedSlack, #front-desk: “Who asked for the 6am taxi?”
- 08:05blueprint.resultAll three answered in 3 min, each in its own app
WhatsApp, iMessage and Slack, one agent
Your agent answers on the apps people open first.
Each app connects in one call, and your code handles them all alike.
An iMessage line
Your agent texts from its own line, with blue bubbles, read receipts and typing dots.
WhatsApp for business
Answer support questions, follow up on leads, confirm bookings and send order and delivery updates.
Slack
Your agent joins channels and direct messages, answers when mentioned and posts when work is done.
Telegram
A Telegram bot for your agent, for groups and for 1 to 1 chats.
One webhook for every app
Every message arrives in the same shape, so your code is written once.
Photos, voice notes and files
Media goes both ways on every app, ready for your agent to read.
Every event reaches your webhook, your code or your agent.
Each event is saved in your event log, then sent where you listen.
The events it sends
message.received- A message arrives on iMessage, WhatsApp, Slack or Telegram.
Where they reach you
One signed webhook
Subscribe once for every piece and blueprint. Each event is signed.
Your event log, by cursor
Read every event since the last one you saw.
Your own agent, over MCP
Events as tools, in Claude Code, Cursor or any MCP client.
Your handler, on our runtime
Your code runs about 50 ms after the event lands. No server to run.
A live stream while you build
Every event, forwarded to your laptop.
Zapier, Make and n8n
Each event starts a Zap, scenario or workflow.
If your server is down, events retry for 27 hours, and any event can be replayed.
See the code for each channelEach app is priced the way it charges, on one bill.
An iMessage line is billed by the month, WhatsApp by the message, and Slack and Telegram come with every plan.
See every price- iMessage line
- $170 a line a month
- Meta’s fee plus $0.004 a message
- Meta prices each message by country and kind; we pass its fee through at cost.
- Slack and Telegram
- Free on every plan
Messaging carries the conversation the other pieces start.
One API key and one bill cover every piece.
- EmailKeep email for receipts and long replies, beside the chat.
- PersonasOne name across iMessage, WhatsApp, email and phone.
- BrowserLook up an order or a booking in the browser while the person waits in the chat.
- PhoneA phone number for plain texts, for people on neither iMessage nor WhatsApp.
- SandboxRun code on a file someone sends, such as a spreadsheet, and reply with the result.
Your agent answers where people already are.
Yes. Your agent sends and receives on its own iMessage line through the API. People see an ordinary iMessage conversation, blue bubbles included.
Support, sales, bookings and notifications, the uses WhatsApp sets for businesses. Your agent replies any time within 24 hours of a person’s last message, and opens a new conversation with a template WhatsApp has approved.
No. Each app connects with one call, every message reaches the same webhook in the same shape, and your agent replies through the same API.
iMessage line: $170 a line a month. WhatsApp: Meta’s fee plus $0.004 a message. Slack and Telegram: Free on every plan.