Let your Voice
be Heard with Hellio
Start building for free

Voice API

Hellio's Voice Messaging API allows you to add a more personalied approach to your marketing strategy. Let your customers and prospects hear your voice. If your goal is to be heard or to communicate an important information with your own voice, then our Voice Messaging solution is your prefered service.


Voice Messaging Endpoint:

https://api.helliomessaging.com/v1/messaging/voice


Request Method: POST


Content-Type: application/json


Request Parameters

Parameter Type Description Required
username String Your Hellio username Required
password String Your Hellio password Required
from String The name or number that would appear on the call Required
to String The recipient mobile number Required
audioFileUrl String We accept audio recording (form like: wav and mp3. The Size of the audio must be below 4 MB. Required

Code Snippet (PHP)


$baseUrl = 'https://api.helliomessaging.com/v2/messaging/voice';

$username = 'YOUR-HELLIO-MESSAGING-USERNAME';
$password = 'YOUR-HELLIO-MESSAGING-PASSWORD';
$from = 'HellioSMS';
$to = '0242813656';
$audioFileUrl = 'https://file-examples-com.github.io/uploads/2017/11/file_example_MP3_1MG.mp3';

$params = array(
    'username' => $username,
    'password' => $password,
    'from' => $from,
    'to' => $to,
    'audioFileUrl' => $audioFileUrl
);

// 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",
    "status": "success",
    "message": "Voice Message Sent Successfully",
    "summary": {
        "id": "GSfhsdZjVut8qDsXVi",
        "type": "BULK CALL",
        "total_recipient": 2,
        "total_cost": 0.045
    }
}