iMessage API for AI agents
Coming soon: an iMessage number for your business that your AI agent runs. It answers the texts customers send, follows up with people who expect to hear from you, and schedules messages, with blue bubbles on iPhone and a normal text on other phones.
What your agent can do on iMessage
- Answer the iMessages customers send to your business number
- Text a customer who expects to hear from you, such as a booking reminder
- Schedule messages and run automations
- A dedicated number for your business, set up by Spaces
Three steps
- When iMessage opens, Spaces sets up your number. Email hello@spacesos.com to be told first.
- Add Spaces to your AI agent with one URL,
https://api.spacesos.com/mcp/imessage, or use the REST API athttps://api.spacesos.com/v1. Steps for each AI client. - Your agent reads and answers. Spaces paces every message inside the limits that keep the account safe.
Or paste this into your agent and let it set things up with you:
Set up Spaces for me by following https://www.spacesos.com/agentsThe core tools
| What it does | MCP tool | REST |
|---|---|---|
| Your conversations, newest first, with their tags and owner. Filter to unread, unanswered, a tag or an owner. | list_messaging_chats | GET …/chats |
| The messages in one conversation. | list_messaging_messages | GET …/chats/{chat_id}/messages |
| An image, file, voice note or video from a message. | get_messaging_attachment | GET …/chats/{chat_id}/messages/{message_id}/attachments/{attachment_id} |
| Reply in a conversation, with text or attachments. | reply_in_chat | POST …/chats/{chat_id}/messages |
| Start a new conversation with someone who expects to hear from you. | start_chat | POST …/chats |
| Send a message at a set local time, inside working hours you choose. | schedule_message | POST /v1/messaging/schedules |
Every iMessage tool · iMessage MCP guide · Full reference
Limits that keep the account safe
Up to 200 messages a day per account, at least 10 seconds apart, with 20 new chats a day at most and a four-week warm-up for new accounts. iMessage limits in full · How accounts are kept safe.
FAQ
Does Apple have an iMessage API?
No. Apple offers Messages for Business only to large companies through approved partners, and customers must start every chat. Spaces gives you a dedicated iMessage number through a specialist provider instead. Spaces is not affiliated with Apple.
Is it my own number?
No. Spaces will set up a new number for your business. Your personal iMessage is never connected.
Can I send bulk texts?
No. Spaces paces every message and keeps new conversations to a few a day. Numbers that send messages nobody answers get blocked, and a blocked number cannot be appealed.
When can I use it?
iMessage is coming soon. Email hello@spacesos.com and we will tell you when it opens.
How much does the iMessage API cost?
Plans from $19 a month for one connected account, with a trial. You pay per connected account, not per message or per contact.