Docy Child

Inbound Webhook

Estimated reading: 1 minute 639 views

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.


fromThis is the mobile number of the handset which sent in the message
bodyThis is the text message content that was received
received_atThis is the date the message was received
message_idInbound Message ID
custom_stringCustom String Value
typeMessage Type: SMS or MMS

PHP Code to retrieve POST data

					$json = file_get_contents('php://input');
$data = json_decode($json, true);