Provision a Phone Number
Provision a phone number and attach it to an agent identity. Each identity can own one phone number at a time. Numbers are available in the United States and Canada. You can request a local or toll-free number and optionally provide a region or area code.sms_status: "pending" before it can receive messages. Wait until the status is ready.
Receive SMS and MMS
Inbound messages include the sender, recipients, message type, text, read state, and any MMS media attachments.sms or mms. MMS media is returned with a signed URL that expires one hour after the response is generated.
Handle Messages with Webhooks
Subscribe to thesms.received event to process incoming messages as soon as they arrive instead of polling the inbox. Webhook payloads include the receiving phone number, sender, recipients, message type, and text.
You can still use the SDK or REST API to retrieve the complete message and its media attachments after receiving the event.