Key |
Value |
Description |
---|---|---|
caller_id (number)
|
8225838383
|
REQUIRED 10 Digit mobile number.
|
voice_source (string)
|
voice_file
|
Optional voice_file or voice_text
|
voice_file (string)
|
|
REQUIRED IF use voice_source is voice_file file name or file_url only .wav,.mp3 file
|
voice_text (string)
|
|
REQUIRED IF use voice_source is voice_text
|
voice_pitch_rate (string)
|
medium
|
Optional slow,medium,fast
|
mobile_no
|
8225838383
|
REQUIRED comma separate multiple mobile no
|
posting_time (datetime)
|
2020-05-22 15:40:22
|
User posting_time for Schedule Voice Call. Format : 'Y-m-d H:i:s'
|
is_conversation (integer)
|
(integer) 1 OR 0
|
Track call response after call press by user.
|
re_schedule_time (integer)
|
Default 0
|
Number of time auto Reschedule
|
re_schedule_status (string)
|
|
Answered,NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed
|
voice_interval (integer)
|
|
Reschedule Time Interval (In Minutes).
|
country_code (string)
|
(string) eg.IN (default)
|
Select country if you want to sent International Call(Outside India).
|
|
|
+267 - Botswana (+267)
|
|
|
+86 - China (+86)
|
|
|
+49 - Germany (Germany) (+49)
|
|
|
+30 - Greece (Greece) (+30)
|
|
|
+62 - Indonesia (Indonesia) (+62)
|
|
|
+964 - Iraq (+964)
|
|
|
+39 - Italy (+39)
|
|
|
+60 - Malaysia (Malaysia) (+60)
|
|
|
+960 - Maldives (Maldives) (+960)
|
|
|
+230 - Mauritius (Mauritius) (+230)
|
|
|
+52 - Mexico (Mexico) (+52)
|
|
|
+95 - Myanmar (Myanmar) (+95)
|
|
|
+977 - Nepal (Nepal) (+977)
|
|
|
+64 - New Zealand (New Zealand) (+64)
|
|
|
+234 - Nigeria (Nigeria) (+234)
|
|
|
+968 - Oman (Oman (+968)
|
|
|
+63 - Philippines (Philippines) (+63)
|
|
|
+7 - Russian Federation (Russian Federation) (+7)
|
|
|
+65 - Singapore (Singapore) (+65)
|
|
|
+66 - Thailand (+66)
|
|
|
+971 - United Arab Emirates (United Arab Emirates) (+971)
|
|
|
+44 - United Kingdom (United Kingdom) (+44)
|
|
|
+1 - United States (+1)
|
curl --location --request POST 'https://obligr.io/api_v2/voice-call/campaign' \ --header 'Authorization: Bearer [YOUR_API_KEY]' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Cookie: [COOKIES]' \ --data-urlencode 'caller_id=8225838383' \ --data-urlencode 'voice_source=voice_file' \ --data-urlencode 'voice_file=https://dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3' \ --data-urlencode 'mobile_no=8225838383' \ --data-urlencode 're_schedule_status=NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed' \ --data-urlencode 'voice_interval=5'
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/voice-call/campaign",
CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => "caller_id=888888XXXX&voice_file=2018032510455421853753553.wav&mobile=987654XXXX", CURLOPT_HTTPHEADER => array( "authorization: Bearer [YOUR_API_KEY]", "cache-control: no-cache", "content-type: application/x-www-form-urlencoded" ), )); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
https://obligr.io/api_v2/voice-call/campaign?api_key=UU-V5BS9_UWd3wRdWdEpTw4av5TR29SOYabzxpsb9RcHPX1P_-XXcvp6qifTnTzA&caller_id=8225838383&voice_source=voice_file&voice_file=https://dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3&mobile_no=8225838383&re_schedule_status=NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed&voice_interval=5
var client = new RestClient("https://obligr.io/api_v2/voice-call/campaign"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Authorization", "Bearer [YOUR_API_KEY]"); request.AddHeader("Content-Type", "application/x-www-form-urlencoded"); request.AddHeader("Cookie", "[COOKIES]"); request.AddParameter("caller_id", "8225838383"); request.AddParameter("voice_source", "voice_file"); request.AddParameter("voice_file", "https://dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3"); request.AddParameter("mobile_no", "8225838383"); request.AddParameter("re_schedule_status", "NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed"); request.AddParameter("voice_interval", "5"); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);
import http.client import mimetypes conn = http.client.HTTPSConnection("obligr.io") payload = 'caller_id=8225838383&voice_source=voice_file&voice_file=https%3A//dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3&mobile_no=8225838383&re_schedule_status=NoAnswer%2CFailed%2CBusy%2CRING_TIMEOUT%2CRejected%2CCompleted&voice_interval=5' headers = { 'Authorization': 'Bearer [YOUR_API_KEY]', 'Content-Type': 'application/x-www-form-urlencoded', 'Cookie': '[COOKIES]' } conn.request("POST", "/api_v2/voice-call/campaign", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient().newBuilder() .build(); MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded"); RequestBody body = RequestBody.create(mediaType, "caller_id=8225838383&voice_source=voice_file&voice_file=https://dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3&mobile_no=8225838383&re_schedule_status=NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed&voice_interval=5"); Request request = new Request.Builder() .url("https://obligr.io/api_v2/voice-call/campaign") .method("POST", body) .addHeader("Authorization", "Bearer [YOUR_API_KEY]A") .addHeader("Content-Type", "application/x-www-form-urlencoded") .addHeader("Cookie", "[COOKIES]") .build(); Response response = client.newCall(request).execute();
var axios = require('axios'); var qs = require('qs'); var data = qs.stringify({ 'caller_id': '8225838383', 'voice_source': 'voice_file', 'voice_file': 'https://dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3', 'mobile_no': '8225838383', 're_schedule_status': 'NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed', 'voice_interval': '5' }); var config = { method: 'post', url: 'https://obligr.io/api_v2/voice-call/campaign', headers: { 'Authorization': '[YOUR_API_KEY]', 'Content-Type': 'application/x-www-form-urlencoded', 'Cookie': '[COOKIES] ' }, data : data }; axios(config) .then(function (response) { console.log(JSON.stringify(response.data)); }) .catch(function (error) { console.log(error); });
var settings = { "url": "https://obligr.io/api_v2/voice-call/campaign", "method": "POST", "timeout": 0, "headers": { "Authorization": "Bearer [YOUR_API_KEY]", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "[COOKIES]" }, "data": { "caller_id": "8225838383", "voice_source": "voice_file", "voice_file": "https://dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3", "mobile_no": "8225838383", "re_schedule_status": "NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed", "voice_interval": "5" } }; $.ajax(settings).done(function (response) { console.log(response); });