Menu
Introduction Getting started SMS Promotional - Large campaigns Transactional - Basic Transactional (Alerts) - Virtual Number Route Transactional (Alerts) - Priority Routing Transactional (OTPs & Alerts) - Special route International route to Nigeria International route to Other Countries SMS DLR SMS DLR Webhooks Voice Voice OTP Voice Broadcasts Voice DLR Units Transfer Units to Sub-Account Transfer Units to Other Account Check Units Balance Sender IDs Register Sender IDs Check Sender ID status Categories Add Customer Remove Customer Virtual Number Inbox webhook Carrier Billing Run USSD Query Run Shortcode Query Query Status Carrier Callback Tools Create Sub-Account Check DND Status Check Service Status 3rd-party integrations ZOHO
Inbox Webhook Setup a callback url to programatically receive data(messages/sms) sent to your virtual number(bypass code) on your server.
Basically you are required to setup a callback url on your Bypass Code server interface to receive a GET REQUEST data push on your server end.
💡 USAGE To set-up the Callback url, kindly visit the 2-way Messaging under 'Virtual numbers' section.
Click on the "Access" button to open the server settings.
Insert the callback url you wish to receive the data.
PHP code
<?php
 // get variables
  $from=$_GET['from']; //this is the phone number / sender of the message
  $message=$_GET['message']; //this is the message content sent in the transactions
  $timereceived=$_GET['timereceived']; //this is the time the message was sent
  $bypasscode=$_GET['bypasscode']; //this is the virtual number/ bypass code the message was sent to.
  // use the data
?>
Response
Sample response (URL encoded plain text)
from=080xxxxxxxxxxxx&message=TestMessage&timereceived=TIMERECEIVED&bypasscode=234900000000000000