A local US number receives SMS only after its 10DLC campaign is approved and carrier assignment completes. Check
GET /numbers/{phone_number}/campaign — the number is ready when sms.enabled is true. See Register a number for SMS.1
Register a webhook endpoint
Use an administrator session, the account token, or an API key with Store the signing
webhooks:manage:secret from the 201 response immediately — it is shown once.2
Receive and verify the event
When an inbound message arrives, Omni sends a signed Verify the signature on the raw request body before trusting the payload, then return any The same event can be delivered more than once. Deduplicate on the event
POST request to your URL:2xx status:id.Pictures and other MMS attachments
Inbound MMS messages list their attachments inmedia_urls. These URLs point to authenticated Media resources on this API (never the carrier’s raw URLs) and are served only to the account that owns the message.
Fetch them with HTTP Basic authentication using your account ID and account token (or a standard SK… API key and secret), and follow the 302 redirect:
Inbound Media resource URLs require HTTP Basic auth with your account token or a
standard API key. Authorization: Bearer tokens and keys with custom/narrowed permissions are not accepted on these URLs.Read inbound messages without a webhook
You can also list inbound messages directly withGET /messages: