post https://example.com/callback
YCloud uses webhooks to notify your application when SMS delivery report is updated.
Before trying it...
This endpoint should be provided by your server instead of YCloud.
https://www.example.com/callback
is only for test purpose, and be sure to replace it with your actual endpoints before making a request.
Steps to receive delivery report
- Provide a
callback_url
when Send an SMS or Send a voice code. - Handle requests from YCloud by parsing Delivery Report Object and returning
2xx
response status codes.
Build-in retries
Your endpoint must quickly return a successful status code (e.g.
200
) prior to any complex logic that could cause a timeout. If YCloud doesn't quickly receive a2xx
response status code, we will retry up to 5 times.
Delivery Report Object
BODY EXAMPLE
{
"sid": "3310228982",
"status": "delivered",
"status_timestamp": 1641038400000,
"mobile": "+447901614024"
}