Real iPhones. One API.
Send and receive iMessage from real iPhone lines. One REST API, a TypeScript SDK and signed webhooks.
No per-message fees · US numbers
The Starter plan is $0. No credit card required.
Your code texts through a real iPhone.
iSnap puts a real iPhone line behind a REST API. Your agent, CRM or app sends with one call, and replies come back to your server.
- AI agents
Give your agent a number people answer, and let it hold the conversation. - CRMs and marketing platforms
Flat per-line pricing instead of per-message A2P fees, and no 10DLC registration. - Product and operations teams
Reminders, updates and two-way support threads, sent from your backend.
- Base URL
https://api.isnap.ai/v1- Authentication
Authorization: Bearer isnap_live_…- SDK
@isnap/sdkfor TypeScript, on Node 20+ or Bun- Other languages
- Plain HTTPS and JSON. The docs show Python with requests.
- Channels
- iMessage, with SMS fallback chosen by the device
- Webhooks
- 37 event types, signed with Standard Webhooks
- Spec
- OpenAPI 3.0 at
api.isnap.ai/openapi.json - Numbers
- US numbers
Every operation, field and error code: the API reference.
Send, deliver, reply.
A send is one HTTPS call. Everything after it, from delivery to the reply, comes back to you as an event.
- You call POST /v1/messages
with a line, a phone number and a body. iSnap answers 202 and queues it. - The line sends it
as iMessage, or as SMS when the device knows the recipient isn't on iMessage. - Apple reports delivery
as message.delivered, then message.read if the contact shares read receipts. - They reply
and message.received reaches your webhook with the chat_id, so you answer in the same thread.
Install, set a key, send.
Keep the idempotency key with your record of the message. A retry with the same key returns the same message, so nothing goes out twice.
- Create a key
in the dashboard. Live keys start with isnap_live_ and are shown once. - Install the SDK
with npm install @isnap/sdk, or call the API over plain HTTPS. - Send
A 202 means accepted, not sent. Read the status, or wait for the events.
import { randomUUID } from 'node:crypto'
import { APIError, ISnapClient } from '@isnap/sdk'
const client = new ISnapClient({ apiKey: process.env.ISNAP_API_KEY ?? '', maxRetries: 2 })
const idempotencyKey = randomUUID() // Store it with your record of the message: reuse it to retry.
try {
const message = await client.messages.send(
{
line_id: 'line_8Xk2mQ4vTn7Bw9Rz3Lc6Yp1Hd',
to: '+14155550123',
body: 'Hello from iSnap'
},
{ idempotencyKey }
)
console.log(message.id, message.status, message.scheduled_for, message.schedule_reason)
} catch (err) {
if (!(err instanceof APIError)) throw err
console.error(err.status, err.code, err.message, `trace_id=${err.traceId}`, `request_id=${err.requestId}`)
process.exitCode = 1
}IDEMPOTENCY_KEY=$(uuidgen) # Store it with your record of the message: reuse it to retry.
curl -sS https://api.isnap.ai/v1/messages \
-H "Authorization: Bearer $ISNAP_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"line_id": "line_8Xk2mQ4vTn7Bw9Rz3Lc6Yp1Hd",
"to": "+14155550123",
"body": "Hello from iSnap"
}'import os
import time
import uuid
import requests
idempotency_key = str(uuid.uuid4()) # Store it with your record of the message: reuse it to retry.
for attempt in range(3):
try:
response = requests.post(
"https://api.isnap.ai/v1/messages",
headers={
"Authorization": f"Bearer {os.environ['ISNAP_API_KEY']}",
"Idempotency-Key": idempotency_key,
},
json={
"line_id": "line_8Xk2mQ4vTn7Bw9Rz3Lc6Yp1Hd",
"to": "+14155550123",
"body": "Hello from iSnap",
},
timeout=30,
)
break
except (requests.ConnectionError, requests.Timeout):
# No response: iSnap may have accepted the message. Retry with the same key, up to 2 times.
if attempt == 2:
raise
time.sleep(2**attempt)
body = response.json()
if response.status_code != 202:
error = body["error"]
raise SystemExit(
f"{error['status']} {error['code']}: {error['message']} "
f"(trace_id={body['trace_id']}, request_id={body['request_id']})"
)
message = body["data"]
print(message["id"], message["status"], message["scheduled_for"], message["schedule_reason"])From the docs: Quickstart, send a message
Type, react and reply like a person.
On iMessage your agent can type, react, reply in a thread and send read receipts. When the device falls back to SMS, those features are off.
Rented iMessage lines provide every feature above. On a bring-your-own iPhone line they depend on your own Mac and iPhone. Details in the docs: chat features and sending messages.
Every reply arrives as a signed event.
Subscribe once and iSnap posts each event to your HTTPS endpoint, signed with the Standard Webhooks scheme.
- 37 event types
Messages, reactions, line health, trials and pre-orders. Subscribe by type, by family or to all. - Verify the signature
on the raw body, and refuse timestamps more than 300 seconds off. The SDK's verifyWebhook does both. - Answer within 10 seconds
Return 2xx, then do the work. Delivery is at least once, so dedupe on event_id.
One conversation, as your endpoint sees it:
- message.queuedYour send was accepted and queued
- message.sentThe line sent it as iMessage
- message.deliveredApple reported delivery
- message.readDana opened it
- reaction.receivedShe tapped a reaction on your message
- message.receivedHer reply, with the chat_id to answer in
Limits that keep a line healthy.
Every line sends inside rolling limits. Over a limit, a message waits in the queue instead of failing.
- Quiet hours
By default a line sends from 08:00 to 20:59 in the recipient's local time. - The reply lane
Replies to someone who wrote in the last 24 hours skip the hourly and daily caps and quiet hours. - Not supported
Group sends, sending to email addresses, and a sandbox: test keys send real messages.
- New contacts
- 50 per 24 hours
- Known contacts
- 200 per 24 hours (they wrote to the line in the last 30 days)
- All messages
- 600 per 24 hours, 60 per hour, 5 per minute
- First messages
- At least 5 minutes apart, so at most 12 new contacts an hour
- Over a limit
- Held in the queue for up to 48 hours
- API requests
- 100 per minute per network address
- Message calls
- 60 per minute per network address, on POST and GET /v1/messages together
Rented lines can lower these limits; bring-your-own iPhone lines can raise them. Sending limits in the docs.
Flat per line. No per-message fees.
Every line, rented or your own, works with the same API. You pay for lines, not for messages.
- Starter
- $0: test with one contact, no credit card
- Shared
- $77: outreach from a shared line, no cold inbound
- Inbound
- $97: a dedicated number that leads text first
- Business
- $275: a dedicated number for outreach and inbound
- Bring your own iPhone
- $15 a line, every line. Plus your own iPhone, its phone plan, and a Mac (yours or a hosted macOS session)
Where to go next.
Put a real iPhone
to work.
Start free with no credit card. Rent a line, or bring your own iPhone.