Home / Companies / Vonage / Blog / Post Details
Content Deep Dive

Receiving an SMS with PHP

Blog post from Vonage

Post Details
Company
Date Published
Author
Michael Heap
Word Count
793
Company Posts That Month
62
Language
English
Hacker News Points
-
Post removed?
No
Summary

You can receive an SMS with PHP using the Vonage API, which makes an HTTP request to your application containing information about the incoming SMS. To do this, you'll need a Vonage API account and a virtual phone number purchased through the Vonage CLI. You'll use the Slim framework to handle both GET and POST requests to the `/webhooks/inbound-sms` endpoint, logging the received parameters in the console. Once your application is complete, you can expose it with ngrok to send HTTP requests to your local application, configuring your Vonage account to use this URL as the callback for inbound SMS.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.