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); });
Key |
Value |
Description |
---|---|---|
sender_id (string)
|
TESTING
|
Name or title for Caller ID
|
mobile_no (number)
|
8225838383
|
REQUIRED 10 digit mobile number
|
curl --location --request POST 'https://obligr.io/api_v2/voice-call/add_caller_id' \ --header 'Authorization: Bearer [YOUR_API_KEY]' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Cookie: [COOKIES]' \ --data-urlencode 'title=TESTING' \ --data-urlencode 'mobile_no=8225838383'
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/voice-call/add_caller_id",<br ?--> CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => "title=TESTING&mobile_no=8225838383", CURLOPT_HTTPHEADER => array( "Authorization: Bearer [YOUR_API_KEY]", "Content-Type: application/x-www-form-urlencoded", "Cookie: [COOKIES]" ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
https://obligr.io/api_v2/voice-call/add_caller_id?api_key=[YOUR_API_KEY]&title=TESTING&mobile_no=8225838383
var client = new RestClient("https://obligr.io/api_v2/voice-call/add_caller_id"); 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("title", "TESTING"); request.AddParameter("mobile_no", "8225838383"); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);
import http.client import mimetypes conn = http.client.HTTPSConnection("obligr.io") payload = 'title=TESTING&mobile_no=8225838383' headers = { 'Authorization': 'Bearer [YOUR_API_KEY]', 'Content-Type': 'application/x-www-form-urlencoded', 'Cookie': '[COOKIES]' } conn.request("POST", "/api_v2/voice-call/add_caller_id", 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, "title=TESTING&mobile_no=8225838383"); Request request = new Request.Builder() .url("https://obligr.io/api_v2/voice-call/add_caller_id") .method("POST", body) .addHeader("Authorization", "Bearer [YOUR_API_KEY]") .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({ 'title': 'TESTING', 'mobile_no': '8225838383' }); var config = { method: 'post', url: 'https://obligr.io/api_v2/voice-call/add_caller_id', headers: { 'Authorization': 'Bearer [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/add_caller_id", "method": "POST", "timeout": 0, "headers": { "Authorization": "Bearer [YOUR_API_KEY]", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "[COOKIES] " }, "data": { "title": "TESTING", "mobile_no": "8225838383" } }; $.ajax(settings).done(function (response) { console.log(response); });
{
“success”: true,
“error”: null,
“data”: {
“mobile_no”: “8225838383”,
“title”: “TESTING”,
“status”: “pending”
}
}
Key |
Value |
Description |
---|---|---|
verify_otp
|
|
REQUIRED
|
curl --location --request POST 'https://obligr.io/api_v2/voice-call/verify_caller_id/8225838383' \ --header 'Authorization: Bearer [YOUR_API_KEY]' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Cookie: [COOKIES]' \ --data-urlencode 'verify_otp=7682173'
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/voice-call/verify_caller_id/8225838383", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => "verify_otp=7682173", CURLOPT_HTTPHEADER => array( "Authorization: Bearer [YOUR_API_KEY]", "Content-Type: application/x-www-form-urlencoded", "Cookie: [COOKIES]" ), )); $response = curl_exec($curl); curl_close($curl);echo $response;
https://obligr.io/api_v2/voice-call/verify_caller_id/{mobile_no}?api_key=[YOUR_API_KEY]&verify_otp=9876543
var client = new RestClient("https://obligr.io/api_v2/voice-call/verify_caller_id/8225838383"); 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("verify_otp", "7682173"); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);
import http.client import mimetypes conn = http.client.HTTPSConnection("obligr.io") payload = 'verify_otp=7682173' headers = { 'Authorization': 'Bearer [YOUR_API_KEY]', 'Content-Type': 'application/x-www-form-urlencoded', 'Cookie': '[COOKIES]' } conn.request("POST", "/api_v2/voice-call/verify_caller_id/8225838383", 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, "verify_otp=7682173"); Request request = new Request.Builder() .url("https://obligr.io/api_v2/voice-call/verify_caller_id/8225838383") .method("POST", body) .addHeader("Authorization", "Bearer [YOUR_API_KEY]") .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({ 'verify_otp': '7682173' }); var config = { method: 'post', url: 'https://obligr.io/api_v2/voice-call/verify_caller_id/8225838383', headers: { 'Authorization': 'Bearer [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/verify_caller_id/8225838383", "method": "POST", "timeout": 0, "headers": { "Authorization": "Bearer [YOUR_API_KEY]", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "[COOKIES]" }, "data": { "verify_otp": "7682173" } }; $.ajax(settings).done(function (response) { console.log(response); });
{
“success”: true,
“error”: null,
“data”: {
“mobile_no”: “8225838383”,
“title”: “TESTING”,
“status”: “active”
}
}
curl --location --request POST 'https://obligr.io/api_v2/voice-call/delete_caller_id/8225838383' \ --header 'Authorization: Bearer [YOUR_API_KEY]' \ --header 'Cookie: [COOKIES]'; });
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://demo.obligr.com/api_v2/voice-call/delete_caller_id/8225838383",<br ?--> CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_HTTPHEADER => array( "Authorization: Bearer UU-V5BS9_UWd3wRdWdEpTw4av5TR29SOYabzxpsb9RcHPX1P_-XXcvp6qifTnTzA", "Cookie: __cfduid=d659b54143769c92b55ef19f4ab55821b1596017761" ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
https://obligr.io/api_v2/voice-call/delete_caller_id/{mobile_no}?api_key=[YOUR_API_KEY]
var client = new RestClient("https://obligr.io/api_v2/voice-call/delete_caller_id/8225838383"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Authorization", "Bearer [YOUR_API_KEY]"); request.AddHeader("Cookie", "[COOKIES]"); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);
import http.client import mimetypes conn = http.client.HTTPSConnection("obligr.io") payload = '' headers = { 'Authorization': 'Bearer [YOUR_API_KEY]', 'Cookie': '[COOKIES]' } conn.request("POST", "/api_v2/voice-call/delete_caller_id/8225838383", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient().newBuilder() .build(); MediaType mediaType = MediaType.parse("text/plain"); RequestBody body = RequestBody.create(mediaType, ""); Request request = new Request.Builder() .url("https://obligr.io/api_v2/voice-call/delete_caller_id/8225838383") .method("POST", body) .addHeader("Authorization", "[YOUR_API_KEY]") .addHeader("Cookie", "[COOKIES]") .build(); Response response = client.newCall(request).execute();
var axios = require('axios'); var qs = require('qs'); var data = qs.stringify({ }); var config = { method: 'post', url: 'https://obligr.io/api_v2/voice-call/delete_caller_id/8225838383', headers: { 'Authorization': 'Bearer [YOUR_API_KEY]', '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/delete_caller_id/8225838383", "method": "POST", "timeout": 0, "headers": { "Authorization": "Bearer [YOUR_API_KEY]", "Cookie": "[COOKIES]" }, }; $.ajax(settings).done(function (response) { console.log(response); });
Key |
Value |
Description |
---|---|---|
date_from (string)
|
2020-07-28 00:00:00
|
REQUIRED Y-m-d h:i:s Format
|
date_to (string)
|
2020-07-28 23:59:59
|
REQUIRED Y-m-d h:i:s Format
|
campaign_id (number)
|
556093
|
Note : if search by "campaign_id" then no need to enter date_from or date_to.
|
answered: The destination has answered the call
rejected: The call attempt was rejected by the destination
busy: The destination is on the line with another caller
unanswered: The call was canceled by the caller
timeout: The call timed out before it was answered
failed: The call failed before reaching the destination
completed: The call is completed successfully
curl --location --request POST 'https://obligr.io/api_v2/voice-call/report' \ --header 'Authorization: Bearer [YOUR_API_KEY]' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Cookie: [COOKIES]' \ --data-urlencode 'campaign_id=556093'
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/voice-call/report",<br ?--> CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => "campaign_id=556093", CURLOPT_HTTPHEADER => array( "Authorization: Bearer [YOUR_API_KEY]", "Content-Type: application/x-www-form-urlencoded", "Cookie: [COOKIES]" ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
https://obligr.io/api_v2/voice-call/report?api_key=[YOUR_API_KEY]&date_from=2020-07-31 00:00:00&date_to=2020-07-31 23:59:59&campaign_id=556093
var client = new RestClient("https://obligr.io/api_v2/voice-call/report"); 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("campaign_id", "556093"); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);
import http.client import mimetypes conn = http.client.HTTPSConnection("obligr.io") payload = 'campaign_id=556093' headers = { 'Authorization': 'Bearer [YOUR_API_KEY]', 'Content-Type': 'application/x-www-form-urlencoded', 'Cookie': '[COOKIES]' } conn.request("POST", "/api_v2/voice-call/report", 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, "campaign_id=556093"); Request request = new Request.Builder() .url("https://obligr.io/api_v2/voice-call/report") .method("POST", body) .addHeader("Authorization", "Bearer [YOUR_API_KEY]") .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({ 'campaign_id': '556093' }); var config = { method: 'post', url: 'https://obligr.io/api_v2/voice-call/report', headers: { 'Authorization': 'Bearer [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/report", "method": "POST", "timeout": 0, "headers": { "Authorization": "Bearer [YOUR_API_KEY]", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "[COOKIES]" }, "data": { "campaign_id": "556093" } }; $.ajax(settings).done(function (response) { console.log(response); });
{
“success”: true,
“error”: null,
“data”: [
{
“campaign_id”: 556093,
“total_call”: 2,
“total_number”: 1,
“date_submitted”: “2020-07-31 14:01:36”,
“duration”: 54,
“status”: “completed”,
“parent_campaign_id”: null,
“voice_source”: “voice_file”,
“voice_file”: “202007311401359900225777707.mp3”,
“voice_name”: “”,
“voice_text”: “”,
“voice_pitch_rate”: “”,
“is_conversation”: 0,
“re_schedule_time”: 0,
“voice_interval”: 0,
“conversation_resp”: “”,
“summary”: {
“unanswered”: “1”
},
“call_response_summary”: null
}
]
}
curl --location --request POST 'https://obligr.io/api_v2/voice-call/details/556093' \ --header 'Authorization: Bearer [YOUR_API_KEY]' \ --header 'Cookie: [COOKIES]
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/voice-call/details/556093",<br ?--> CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_HTTPHEADER => array( "Authorization: Bearer [YOUR_API_KEY]", "Cookie: [COOKIES]" ), )); $response = curl_exec($curl); curl_close($curl); echo $response; '
https://obligr.io/api_v2/voice-call/details/{campaign_id}?api_key=[YOUR_API_KEY]
var client = new RestClient("https://obligr.io/api_v2/voice-call/details/556093"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Authorization", "Bearer [YOUR_API_KEY]"); request.AddHeader("Cookie", "[COOKIES]"); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);
import http.client import mimetypes conn = http.client.HTTPSConnection("obligr.io") payload = '' headers = { 'Authorization': 'Bearer [YOUR_API_KEY]', 'Cookie': '[COOKIES]' } conn.request("POST", "/api_v2/voice-call/details/556093", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient().newBuilder() .build(); MediaType mediaType = MediaType.parse("text/plain"); RequestBody body = RequestBody.create(mediaType, ""); Request request = new Request.Builder() .url("https://obligr.io/api_v2/voice-call/details/556093") .method("POST", body) .addHeader("Authorization", "[YOUR_API_KEY]") .addHeader("Cookie", "[COOKIES]").build(); Response response = client.newCall(request).execute();
var axios = require('axios'); var qs = require('qs'); var data = qs.stringify({ }); var config = { method: 'post', url: 'https://obligr.io/api_v2/voice-call/details/556093', headers: { 'Authorization': '[YOUR_API_KEY]', '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/details/556093", "method": "POST", "timeout": 0, "headers": { "Authorization": "Bearer [YOUR_API_KEY]", "Cookie": "[COOKIES]" }, }; $.ajax(settings).done(function (response) { console.log(response); });
curl --location --request POST 'https://obligr.io/api_v2/voice-call/delete_scheduled/556094' \ --header 'Authorization: Bearer [YOUR_API_KEY]' \ --header 'Cookie: [COOKIES]'
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/voice-call/delete_scheduled/556094",<br ?--> CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_HTTPHEADER => array( "Authorization: Bearer [YOUR_API_KEY]", "Cookie: [COOKIES]" ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
https://obligr.io/api_v2/voice-call/delete_scheduled/{campaign_id}?api_key=[YOUR_API_KEY]
var client = new RestClient("https://obligr.io/api_v2/voice-call/delete_scheduled/556094"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Authorization", "Bearer [YOUR_API_KEY]"); request.AddHeader("Cookie", "[COOKIES]"); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);
import http.client import mimetypes conn = http.client.HTTPSConnection("obligr.io") payload = '' headers = { 'Authorization': 'Bearer [YOUR_API_KEY]', 'Cookie': '[COOKIES]' } conn.request("POST", "/api_v2/voice-call/delete_scheduled/556094", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient().newBuilder() .build(); MediaType mediaType = MediaType.parse("text/plain"); RequestBody body = RequestBody.create(mediaType, ""); Request request = new Request.Builder() .url("https://obligr.io/api_v2/voice-call/delete_scheduled/556094") .method("POST", body) .addHeader("Authorization", "Bearer [YOUR_API_KEY]") .addHeader("Cookie", "[COOKIES]") .build(); Response response = client.newCall(request).execute();
var axios = require('axios'); var config = { method: 'post', url: 'https://obligr.io/api_v2/voice-call/delete_scheduled/556094', headers: { 'Authorization': 'Bearer [YOUR_API_KEY]', 'Cookie': '[COOKIES]' } }; 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/delete_scheduled/556094", "method": "POST", "timeout": 0, "headers": { "Authorization": "Bearer [YOUR_API_KEY]", "Cookie": "[COOKIES]" }, }; $.ajax(settings).done(function (response) { console.log(response); });
Key |
Value |
Description |
---|---|---|
voice_title (string)
|
|
|
voice_file (string)
|
|
REQUIRED voice_file URL or form_data file
|
curl --location --request POST 'https://obligr.io/api_v2/voice-call/voice_file_upload' \ --header 'Authorization: Bearer [YOUR_API_KEY]' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Cookie: [COOKIES]' \ --data-urlencode 'voice_title=TESTING' \ --data-urlencode 'voice_file=https://dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3'
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/voice-call/voice_file_upload",<br ?--> CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => "voice_title=TESTING&voice_file=https%3A//dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3", CURLOPT_HTTPHEADER => array( "Authorization: Bearer [YOUR_API_KEY]", "Content-Type: application/x-www-form-urlencoded", "Cookie: [COOKIES]" ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
https://obligr.io/api_v2/voice-call/voice_file_upload?api_key=[YOUR_API_KEY]&voice_title=TESTING&voice_file=https://dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3
var client = new RestClient("https://obligr.io/api_v2/voice-call/voice_file_upload"); 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("voice_title", "TESTING"); request.AddParameter("voice_file", "https://dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3"); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);
import http.client import mimetypes conn = http.client.HTTPSConnection("obligr.io") payload = 'voice_title=TESTING&voice_file=https%3A//dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3' headers = { 'Authorization': 'Bearer [YOUR_API_KEY]', 'Content-Type': 'application/x-www-form-urlencoded', 'Cookie': '[COOKIES]' } conn.request("POST", "/api_v2/voice-call/voice_file_upload", 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, "voice_title=TESTING&voice_file=https://dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3"); Request request = new Request.Builder() .url("https://obligr.io/api_v2/voice-call/voice_file_upload") .method("POST", body) .addHeader("Authorization", "[YOUR_API_KEY]") .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({ 'voice_title': 'TESTING', 'voice_file': 'https://dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3' }); var config = { method: 'post', url: 'https://obligr.io/api_v2/voice-call/voice_file_upload', 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/voice_file_upload", "method": "POST", "timeout": 0, "headers": { "Authorization": "[YOUR_API_KEY]", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "[COOKIES]" }, "data": { "voice_title": "TESTING", "voice_file": "https://dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3" } }; $.ajax(settings).done(function (response) { console.log(response); });
{
“success”: true,
“error”: null,
“data”: {
“title”: “202007311409099900886395626 2020-07-31 14:09:10 (54 sec : 2 Credit)”,
“voice_file”: “202007311409099900886395626.mp3”,
“duration”: 54
}
}
curl --location --request POST 'https://obligr.io/api_v2/voice-call/voice_file' \ --header 'Authorization: Bearer [YOUR_API_KEY]' \ --header 'Cookie: [COOKIES]'
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/voice-call/voice_file",<br ?--> CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_HTTPHEADER => array( "Authorization: Bearer [YOUR_API_KEY]", "Cookie: [COOKIES]" ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
var client = new RestClient("https://obligr.io/api_v2/voice-call/voice_file"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("Authorization", "Bearer [YOUR_API_KEY]"); request.AddHeader("Cookie", "[COOKIES]"); IRestResponse response = client.Execute(request); Console.WriteLine(response.Content);
import http.client import mimetypes conn = http.client.HTTPSConnection("obligr.io") payload = '' headers = { 'Authorization': 'Bearer [YOUR_API_KEY]', 'Cookie': '[COOKIES]' } conn.request("POST", "/api_v2/voice-call/voice_file", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient().newBuilder() .build(); MediaType mediaType = MediaType.parse("text/plain"); RequestBody body = RequestBody.create(mediaType, ""); Request request = new Request.Builder() .url("https://obligr.io/api_v2/voice-call/voice_file") .method("POST", body) .addHeader("Authorization", "Bearer [YOUR_API_KEY]") .addHeader("Cookie", "[YOUR_API_KEY]") .build(); Response response = client.newCall(request).execute();
var axios = require('axios'); var qs = require('qs'); var data = qs.stringify({ }); var config = { method: 'post', url: 'https://obligr.io/api_v2/voice-call/voice_file', headers: { 'Authorization': 'Bearer [YOUR_API_KEY]', '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/voice_file", "method": "POST", "timeout": 0, "headers": { "Authorization": "[YOUR_API_KEY]", "Cookie": "[COOKIES]" }, }; $.ajax(settings).done(function (response) { console.log(response); });
{
“success”: true,
“error”: null,
“data”: [
{
“title”: “lr_20200617113021_3466 2020-07-31 17:33:42”,
“voice_file_name”: “202007311733429900921610003.mp3”,
“voice_file_url”: “http://demo.obligr.com/frontend/web/media/recording/9900/202007311733429900921610003.mp3”,
“duration”: 20,
“date_created”: “2020-07-31 17:33:42”,
“add_by”: “panel”
}
]
}