To receive SMS messages in real-time, please log in to your Cellcast account to set up the URL where the messages will be forwarded to. Cellcast recommends using a HTTPS URL.
When receiving SMS messages in real-time, Cellcast’s server will send a HTTP POST to the URL you have specified, as soon as a message is received.
|This is the mobile number of the handset which sent in the message
|This is the text message content that was received
|This is the date the message was received
|Inbound Message ID
|Custom String Value
|Message Type: SMS or MMS
PHP Code to retrieve POST data
$json = file_get_contents('php://input');
$data = json_decode($json, true);