Sends a message by submitting an outbound message request.
Field | Notes |
---|---|
from |
The sending phone number (i.e., source of the message) can be one of your existing SMS-enabled phone numbers or blank if using the Number Pool feature. |
|
Default: "" Delivery status webhooks are configured on a per request basis (i.e., included in the payload of each request).
When configured, the Telnyx Messaging Services will attempt to
POST to it each time the state (i.e.,
A valid webhook URL sting must include the HTTP(S) scheme. Using
HTTPS is highly encouraged. |
Extended documentation
status |
MDR status field |
status |
MDR delivery_status field |
Details of the outbound message requested
Details the submitted request
{- "from": "+18665550001",
- "to": "+18445550001",
- "body": "Hello!",
- "check_sender_health": true
}
{- "sms_id": "c51c89d9-68ad-4db2-a471-cf622d21c40d",
- "gw_sms_id": "",
- "user_id": "834f3d53-8a3c-4aa0-a733-7f2d682a72df",
- "status": "sending",
- "delivery_status": "success",
- "profile_id": "16fd2706-8baf-433b-82eb-8c7fada847da",
- "msg": {
- "src": "+18665550001",
- "dst": "+18005550001",
- "body": "Hello!",
- "is_mms": true
},
}