Guides
Send an SMS
Verify 10DLC readiness, send your first SMS, track delivery, and register numbers for 10DLC.
Receive an SMS
Subscribe to signed
message.received webhooks and download inbound MMS attachments.Upload and send media
Upload images, video, audio, or PDFs and attach up to 10 files to an outbound MMS.
Webhooks
Verify HMAC-SHA256 signatures and handle delivery, failure, and 10DLC status events.
How A2P SMS works on Omni
1
Register your 10DLC brand and campaign
Submit your business details via
POST /brands, wait for verified, then submit your use case via POST /campaigns and wait for approved.2
Buy and assign a US number
Search with
GET /numbers/available, purchase with POST /numbers, and assign the number via PUT /numbers/{phone_number}/campaign. Wait until GET /numbers/{phone_number}/campaign reports sms.enabled: true.3
Send SMS and MMS
Call
POST /messages with an Idempotency-Key. Name from directly, or pass campaign_id to let the campaign pick a sender (and optionally schedule with send_at). Attach files via media_ids or media_urls.4
Track delivery and inbound replies
Register an endpoint at
POST /admin/webhooks for message.sent, message.delivered, message.failed, and message.received, plus brand.updated, campaign.updated, and number.updated.