Check Account prices
to specific country
Start building for free

Country Pricing API Reference

The Messaging API allows businesses send text messages to their customers. The API accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes. A single channel represent an individual messaging channel eg. sms, email, etc. This API allows businesses send text messages to their customers across any of these single channels.


API URL V1:

https://api.helliomessaging.com/v1/route/pricing


Available HTTP methods: POST


Version: v1


Content-Type: application/json


Request Parameters

Parameter Type Description Required
username String Your Hellio username Required
password String Your Hellio password Required
country_code String Two-letter country code. Example: GH for Ghana Required

PHP Sample Code Overview


    $baseUrl = 'https://api.helliomessaging.com/v1/route/pricing';

    $username = 'YOUR-HELLIO-MESSAGING-USERNAME';
    $password = 'YOUR-HELLIO-MESSAGING-PASSWORD';
    $country_code = 'GH';

    $params = array(
        'username' => $username,
        'password' => $password,
        'country_code' => $country_code
    );

    // Send through CURL
    $ch = curl_init($baseUrl);
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

    // Process your response here
      $result = curl_exec($ch);
      echo var_export($result, true);
     curl_close($ch);
    


Response Object


    {
        "responseCode": 200,
            "message": {
            "country": "Ghana",
            "full_name": "Scancom Ltd",
            "nice_name": "MTN",
            "sms_price": "0.035",
            "hlr_price": "0.022",
            'currency' => "GHS",
            "prefix": "23324, 23354, 23355",
            "updated_at": "2020-12-29"
            },
        "status": "success"
    }