Receive message via callback

Once you register a callback URL with us, we will POST to it all incoming messages.

Our HTTP POST request to your callback will contain the following parameters:
  • from: The number that sent the message
  • to: The number to which the message was sent
  • text: The message content
  • date: The date and time when the message was received
  • id: The internal ID that we use to store this message
  • linkId: Optional parameter required when responding to an on-demand user request with a premium message
Click here to login into your dashboard and setup a callback on your apps.

PHP sample code

 $from = $_POST['from'];
 $to = $_POST['to'];
 $text = $_POST['text'];
 $date = $_POST['date'];
 $id = $_POST['id'];
 $linkId = $_POST['linkId']; //This works for onDemand subscription products
 //Manipulate the data as required