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 Tools Create Sub-Account Check DND Status Check Service Status 3rd-party integrations ZOHO
International Route to Nigeria Send inbound OTPs / Transactional SMS / High Priority from outside Nigeria using your Sendername to all networks in Nigeria.
💡 USAGE You can only send SMS to a maximum of 1 phone number per transaction. There is no limit to how many times you can call the API. Just avoid sending the exact same message to the same number under the time frame of 5mins
PHP code
 // set variables            
  $message=str_replace(" ","|_","Your OTP is XXXXXX");

  file_get_contents("$key&sender=$sender&phone=$phone&message=$message&siscb=$siscb", false, stream_context_create($arrContextOptions));
cURL code
  $message=str_replace(" ","|_","Your OTP is XXXXXX"); //the str_replace() function is to replace the spacing in the text with '|_' so enable file_get_contents() function process the url

  // Get cURL resource
  $curl = curl_init();
  // Set some options - we are passing in a useragent too here
  curl_setopt_array($curl, [
    CURLOPT_URL => '$key&sender=$sender&phone=$phone&message=$message&siscb=$siscb',
  // Send the request & save response to $resp
  $resp = curl_exec($curl);
  // Close request to clear up some resources
Parameter Example Description
Key * XXXXX-XXXX-XXXXX This can be found in the Developers page of your dashboard. The key authorizes the transaction.
Sender * TEXTNGCOMM The sender same shown to the receiver.
phone * 070001000 The recipients phone number.
message * Your OTP is XXXXXX The content of the messsage.
custom_ref YOUR TRACE ID This is the reference code or ID set from your server side/application side to trace/track the message transaction pushed to us.
Single SMS (success)
x units used|| Status:Successful|| Route:3 || Type:single number|| Reference:##########|| CustomRef:###############
Error - Invalid key
Error Invalid Key
Error - Insufficient units
Error Insufficient units
Other Errors
ERROR (the error description would be displayed here)