Inbound
Reply-only number for AI agents
- Built for AI agents
- Real-time inbound webhooks
- Receive unlimited messages⁴
- Reply to anyone who messages you first
- Full API access
- Dedicated phone number
- Cannot initiate new conversations
Send and receive iMessages from Python with Blooio's official iMessage Python SDK. Ships with both a sync client (for scripts, Celery tasks, Jupyter notebooks) and an async client (for FastAPI and asyncio applications), pydantic-typed payloads, and first-class webhook helpers for Flask and FastAPI.
One command to add the iMessage Python SDK to your project.
pip install blooio
# or with uv
uv pip install blooioThis is the smallest working example — authenticate with your Blooio API key, then call the send-message method on the client.
from blooio import Blooio
blooio = Blooio(api_key="blooio_live_...")
blooio.chats.send_message(
phone="+15551234567",
body="Hey Alex — thanks for booking a demo. Reply with any questions.",
)Every inbound iMessage, delivery, read, and reaction event is POSTed to your webhook URL. Use the SDK's signature verifier to reject forged requests and deserialize the payload into typed objects.
from fastapi import FastAPI, Request, HTTPException
from blooio import verify_webhook, InvalidSignature
app = FastAPI()
@app.post("/webhooks/blooio")
async def blooio_webhook(request: Request):
body = await request.body()
signature = request.headers.get("x-blooio-signature", "")
try:
event = verify_webhook(
body=body,
signature=signature,
secret="whsec_...",
)
except InvalidSignature:
raise HTTPException(status_code=401, detail="bad signature")
if event.type == "message.received":
print("Inbound iMessage:", event.data.body)
return {"ok": True}6 lines → $195/line
Choose the plan that fits your volume and scale as you grow.
Reply-only number for AI agents
Maximum scale with tiered pricing
Number of lines
Save more as you scale. Best value: 6+ lines → $195/line
Reply-only number for AI agents
Maximum scale with tiered pricing
Number of lines
Save more as you scale. Best value: 6+ lines → $195/line
Need a hands-on implementation? Let our team build it for you.
Step-by-step guide to sending iMessages via API from your application.
Read guideSend and receive business iMessages at scale with the Blooio API — higher open rates than SMS or email.
Read guideCreate automated iMessage bots for customer support, sales, and notifications.
Read guide