Company
Date Published
Author
Mark Lewin
Word count
1114
Language
English
Hacker News points
None

Summary

You can send a text message through your Vonage virtual number using their SMS API, but it's not possible to confirm if the message was actually delivered without access to the device associated with that number. However, many networks will provide a delivery receipt programmatically, which you can access and display in your application. To request a delivery receipt, you need to create a publicly-accessible webhook and configure your Vonage account to use it. You'll need to make your webhook accessible by using ngrok during development, and then tell Vonage to use the URL of your webhook in their dashboard settings page. By setting up your application to handle both GET and POST requests on your webhook endpoint, you can capture delivery receipts regardless of the HTTP method used to send them.