Integration

API Doc's

Sample Codes with Exclusive Documentation

Introduction

API Reference – v2.0

Your API Key is : [YOUR_API_KEY]
For Generate / Re-Generate API Key goto to Dashboard/My Account

Authentication

POST Method : authorization: Bearer [YOUR_API_KEY] (in header)
GET Method : ?api_key=[https://obligr.io/api_v2/] (in QueryString url)

Edit Content
Edit Content
				
					https://obligr.io/api_v2/dlt/config
				
			

Body Params

Key

Value

Description

principle_entity_id

(number)

100141211052496883

REQUIRED

19 Numeric Digits
Login to your DLT account to check

telemarketer_id

(number)

1001212110524968835

OPTIONAL

For Resellers only
19 Numeric Digits
Login to your DLT account to check

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/dlt/config' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'principle_entity_id=1001412110524968835'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/dlt/config',
  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 => 'principle_entity_id=1001412110524968835',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded',
    'Cookie: [COOKIES]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/config?api_key=[API_KEY]&principle_entity_id=1001412110524968835
				
			
Edit Content
				
					var client = new RestClient("[API_KEY]dlt/config");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer https://obligr.io/api_v2");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("principle_entity_id", "1001412110524968835");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'principle_entity_id=1001412110524968835'
headers = {
  'Authorization': 'Bearer [API_KEY],
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/dlt/config", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "principle_entity_id=1001412110524968835");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/dlt/config")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'principle_entity_id': '1001412110524968835' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/dlt/config',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/dlt/config",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "principle_entity_id": "1001412110524968835"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": false,
    "error": "DLT Config Successfully Saved.",
    "data": null
}
				
			
Edit Content
				
					https://obligr.io/api_v2/user/balance
				
			
Edit Content
				
					curl -X POST \
https://obligr.io/api_v2/user/balance  \
-H 'authorization: Bearer [API_KEY]' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json'
				
			
Edit Content
				
					<?php

$curl = curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL => "https://obligr.io/api_v2/user/balance",
  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 [API_KEY]",
    "Cookie: [COOKIES]"
  ),
));

$response = curl_exec($curl);
curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/user/balance?api_key=[API_KEY]
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/user/balance");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Cookie", "[COOKIES]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
'Authorization': 'Bearer [API_KEY]");
'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/user/balance", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/user/balance")
.method("POST", body)
.addHeader("Authorization", "Bearer [API_KEY]")
.addHeader("Cookie", "[COOKIES]")
.build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({

});
var config = {
method: 'post',
url: ' https://obligr.io/api_v2/user/balance',
headers: {
'Authorization': 'Bearer [API_KEY]
'Cookie': '[COOKIES]'
},
data : data
};

axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
				
			
Edit Content
				
					var settings = {
"url": " https://obligr.io/api_v2/user/balance",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer [API_KEY]",
"Cookie": "[COOKIES]"
},
};

$.ajax(settings).done(function (response) {
console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": {
        "sms_credit": 843813,
        "voice_credit": 311727
    }
}
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/config
				
			

Body Params

Key

Value

Description

username

(string)

DEMOABCD

REQUIRED

company_name

(string)

XYZ PVT LTD

REQUIRED

attn

(string)

XYZ

REQUIRED

address

(string)

Floor,3 North Avenue, Maker Maxity, Bandra Kurla Complex, Bandra East,

REQUIRED

pincode

(number)

400051

REQUIRED

6 DIGIT

city

(string)

Mumbai

REQUIRED

state

(string)

Maharashtra

REQUIRED

country

(string)

INDIA

REQUIRED

gst_number

(string)

06AACCG0527D1Z8

OPTIONAL

15 Characters

gst_code

(number)

06

OPTIONAL

2 DIGIT

pan_number

(string)

AACCG0527D

OPTIONAL

10 Characters

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/user/billing_address' \
--header 'Authorization: Bearer  [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'username=DEMOABCD' \
--data-urlencode 'company_name=XYZ PVT LTD' \
--data-urlencode 'attn=XYZ' \
--data-urlencode 'address=Floor, 3 North Avenue, Maker Maxity, Bandra Kurla Complex, Bandra East,' \
--data-urlencode 'pincode=400051' \
--data-urlencode 'city=Mumbai' \
--data-urlencode 'state=Maharashtra' \
--data-urlencode 'country=INDIA' \
--data-urlencode 'gst_number=06AACCG0527D1Z8' \
--data-urlencode 'gst_code=06' \
--data-urlencode 'pan_number=AACCG0527D'
				
			
Edit Content
				
					<?php
$curl = curl_init(); 
curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/user/billing_address", 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 => "username=DEMOABCD&company_name=XYZ%20PVT%20LTD&attn=XYZ&address=Floor,3%20North%20Avenue%20Maker%20Maxity%20Bandra%20Kurla%20Complex%20Bandra%20East,&pincode=400051&city=Mumbai&state=Maharashtra&country=INDIA&gst_number=06AACCG0527D1Z8&gst_code=06&pan_number=AACCG0527D",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer  [API_KEY]",
"Content-Type: application/x-www-form-urlencoded"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/user/billing_address");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("username", "DEMOABCD");
request.AddParameter("company_name", "XYZ PVT LTD");
request.AddParameter("attn", "XYZ");
request.AddParameter("address", "Floor, 3 North Avenue, Maker Maxity, Bandra Kurla Complex, Bandra East,");
request.AddParameter("pincode", "400051");
request.AddParameter("city", "Mumbai");
request.AddParameter("state", "Maharashtra");
request.AddParameter("country", "INDIA");
request.AddParameter("gst_number", "06AACCG0527D1Z8");
request.AddParameter("gst_code", "06");
request.AddParameter("pan_number", "AACCG0527D");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'username=DEMOABCD&company_name=XYZ%20PVT%20LTD&attn=XYZ&address=Floor,3%20North%20Avenue%20Maker%20Maxity%20Bandra%20Kurla%20Complex%20Bandra%20East,&pincode=400051&city=Mumbai&state=Maharashtra&country=INDIA&gst_number=06AACCG0527D1Z8&gst_code=06&pan_number=AACCG0527D'
headers = {
'Authorization': 'Bearer  [API_KEY]',
'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/user/billing_address", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "username=DEMOABCD&company_name=XYZ PVT LTD&attn=XYZ&address=Floor, 3 North Avenue,Maker Maxity,Bandra Kurla Complex, Bandra East,&pincode=400051&city=Mumbai&state=Maharashtra&country=INDIA&gst_number=06AACCG0527D1Z8&gst_code=06&pan_number=AACCG0527D");
Request request = new Request.Builder()
.url("https://obligr.io/api_v2/user/billing_address")
.method("POST", body)
.addHeader("Authorization", "Bearer [API_KEY]")
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
'username': 'DEMOABCD',
'company name': 'XYZ PVT LTD',
'attn': 'XYZ',
'address': 'Floor, 3 North Avenue,Maker Maxity,Bandra Kurla Complex,Bandra East,',
'pincode': '400051',
'city': 'Mumbai',
'state': 'Maharashtra',
'country': 'INDIA',
'gst_number': '06AACCG0527D1Z8',
'gst_code': '06',
'pan_number': 'AACCG0527D'
});
var config = {
method: 'post',
url: 'https://obligr.io/api_v2/user/billing_address',
headers: {
'Authorization': 'Bearer [API_KEY]',
'Content-Type': 'application/x-www-form-urlencoded'
},
data : data
};

axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
				
			
Edit Content
				
					var settings = {
"url": "https://obligr.io/api_v2/user/billing_address",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer [API_KEY]",
"Content-Type": "application/x-www-form-urlencoded"
},
"data": {
"username": "DEMOABCD",
"company_name": "XYZ PVT LTD",
"attn": "XYZ",
"address": "Floor, 3 North Avenue, Maker Maxity, Bandra Kurla Complex, Bandra East,",
"pincode": "400051",
"city": "Mumbai",
"state": "Maharashtra",
"country": "INDIA",
"gst_number": "06AACCG0527D1Z8",
"gst_code": "06",
"pan_number": "AACCG0527D"
}
};

$.ajax(settings).done(function (response) {
console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": "Billing Address Successfully Saved."
}
				
			
Edit Content
				
					https://obligr.io/api_v2/user/signup
				
			

Body Params

Key

Value

Description

name

(string)

DEMOABCD

REQUIRED

username

(string)

DEMOABCD

REQUIRED

Only characters or number, not space or special characters

email

(string)

REQUIRED

mobile_no

(number)

0000012345

REQUIRED

10 Digit Only

custom_field_1

(number)

OPTIONAL

custom_field_2

(string)

OPTIONAL

custom_field_3

(string)

OPTIONAL

custom_field_4

(string)

OPTIONAL

pan_number

(string)

AACCG0527D

OPTIONAL

10 Characters

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/user/signup' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'name=DEMOABCD' \
--data-urlencode 'username=DEMOABCD' \
--data-urlencode 'email=DEMOABCD@GMAIL.COM' \
--data-urlencode 'mobile_no=0000012345'
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/user/signup",
 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 => "name=DEMOABCD&username=DEMOABCD&email=DEMOABCD@GMAIL.COM&mobile_no=0000012345",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer [API_KEY]",
"Content-Type: application/x-www-form-urlencoded",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/user/signup/?api_key=[API_KEY]&name=DEMOABCD&username=DEMOABCD&email=DEMOABCD@GMAIL.COM&mobile_no=0000012345
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/user/signup");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer  [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("name", "DEMOABCD");
request.AddParameter("username", "DEMOABCD");
request.AddParameter("email", "DEMOABCD@GMAIL.COM");
request.AddParameter("mobile_no", "0000012345");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'name=DEMOABCD&username=DEMOABCD&email=DEMOABCD@GMAIL.COM&mobile_no=0000012345'
headers = {
'Authorization': 'Bearer [API_KEY]
'Content-Type': 'application/x-www-form-urlencoded',
'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/user/signup", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
'name': 'DEMOABCD',
'username': 'DEMOABCD',
'email': 'DEMOABCD@GMAIL.COM',
'mobile_no': '0000012345'
});
var config = {
method: 'post',
url: 'https://obligr.io/api_v2/user/signup',
headers: {
'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
"url": "https://obligr.io/api_v2/user/signup",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer [API_KEY]",
"Content-Type": "application/x-www-form-urlencoded",
"Cookie": "[COOKIES]
"
},
"data": {
"name": "DEMOABCD",
"username": "DEMOABCD",
"email": "DEMOABCD@GMAIL.COM",
"mobile_no": "0000012345"
}
};

$.ajax(settings).done(function (response) {
console.log(response);
});Copied!
				
			
Edit Content
				
					{
“success”: true,
“error”: null,
“data”: “User `DEMOABCD` created success. Password sent on email or mobile.”
} 
				
			
Edit Content
				
					https://obligr.io/api_v2/user/credit
				
			

Body Params

Key

Value

Description

username

(string)

DEMOABCD

REQUIRED

credit_type

(string)

SMS

REQUIRED

SMS, Voice

credit

(string)

20

REQUIRED

service_type

(string)

Transactional

REQUIRED

Transactional
Promotional
Open_Dnd
Voice_Call

price_per_credit

(number)

0.20

REQUIRED

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/user/credit' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'username=DEMOABCD' \
--data-urlencode 'credit_type=sms' \
--data-urlencode 'credit=20' \
--data-urlencode 'service_type=Transactional' \
--data-urlencode 'price_per_credit=0.20'
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/user/credit",
 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 => "username=DEMOABCD&credit_type=sms&credit=20&service_type=Transactional&price_per_credit=0.20",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer [API_KEY]",
"Content-Type: application/x-www-form-urlencoded",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/user/credit?api_key= [API_KEY]&username=DEMOABCD&credit_type=sms&credit=20&service_type=Transactional&price_per_credit=0.20
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/user/credit");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("username ", "DEMOABCD");
request.AddParameter("credit_type", "sms");
request.AddParameter("credit ", "20");
request.AddParameter("service_type", "Transactional");
request.AddParameter("price_per_credit", "0.20");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'username%20=DEMOABCD&credit_type=sms&credit%20=20&service_type=Transactional&price_per_credit=0.20'
headers = {
'Authorization': 'Bearer [API_KEY]',
'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/user/credit", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "username =DEMOABCD&credit_type=sms&credit =20&service_type=Transactional&price_per_credit=0.20");
Request request = new Request.Builder()
.url("https://obligr.io/api_v2/user/credit")
.method("POST", body)
.addHeader("Authorization", "Bearer [API_KEY]")
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
'username ': 'DEMOABCD',
'credit_type': 'sms',
'credit ': '20',
'service_type': 'Transactional',
'price_per_credit': '0.20'
});
var config = {
method: 'post',
url: 'https://obligr.io/api_v2/user/credit',
headers: {
'Authorization': 'Bearer [API_KEY]',
'Content-Type': 'application/x-www-form-urlencoded'
},
data : data
};

axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
				
			
Edit Content
				
					var settings = {
"url": "https://obligr.io/api_v2/credit",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer [API_KEY]",
"Content-Type": "application/x-www-form-urlencoded"
},
"data": {
"username ": "DEMOABCD",
"credit_type": "sms",
"credit ": "20",
"service_type": "Transactional",
"price_per_credit": "0.20"
}
};

$.ajax(settings).done(function (response) {
console.log(response);
});
				
			
Edit Content
				
					{
“success”: false,
“error”: “Validation error”,
“data”: {
“username”: [
“Username cannot be blank.”
],
“credit”: [
“Credit cannot be blank.”
]
} 
}
				
			
Edit Content
				
					https://obligr.io/api_v2/user/profile/
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/user/profile/' \
--header 'Authorization: Bearer [API_KEY]'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/user/profile/',
  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 [API_KEY]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/user/profile?api_key=[API_KEY] 
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/user/profile/");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [API_KEY]'
}
conn.request("POST", "/api_v2/user/profile/", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/user/profile/")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/user/profile/',
  headers: { 
    'Authorization': 'Bearer [API_KEY]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/user/profile/",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer gondLLx1DsosF[API_KEY]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": {
        "name": "DEMOABCD",
        "username": "DEMOABCD",
        "url": "abcxyz.com",
        "email": "DEMOABCD@GMAIL.COM",
        "mobile_no": "0000012345",
        "status": "active",
        "type": "User",
        "route_id": 00,
        "pe_id":"100000000000000000",
        "telemarketer_id": null,
        "details": {
            "app_name": "",
            "app_copyright_from": 0,
            "app_provider_name": "",
            "app_provider_url": "",
            "reseller_id": xx,
            "url_tracking": "true",
            "allow_voice_call": "true"
        }...
}
				
			
Edit Content
				
					https://obligr.io/api_v2/user/list
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/user/list' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Cookie: [COOKIES]'
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/user/list", 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 [API_KEY]",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/user/list/?api_key=[API_KEY]
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/user/list");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Cookie", "[COOKIES]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/user/list", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/user/list")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/user/list',
  headers: { 
    'Authorization': 'Bearer [API_KEY]', 
    'Cookie': '[COOKIES]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/user/list",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Cookie": "[COOKIES]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
“success”: true,
“error”: null,
“data”: [ {
“username”: “DEMOABCD”,
“name”: “DEMOABCD”,
“email”: “DEMOABCD@GMAIL.COM”,
“mobile”: “0000012345”,
“status”: “active”,
“type”: “User”,
“sms_credit”: 25,
“voice_credit”: 5
}]} 
				
			
Edit Content
				
					https://obligr.io/api_v2/user/detail
				
			

Body Params

Key

Value

Description

username

(string)

DEMOABCD

REQUIRED

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/user/detail' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'username=DEMOABCD'
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/user/detail", 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 => "username=DEMOABCD",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer [API_KEY]",
"Content-Type: application/x-www-form-urlencoded",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/user/detail/?api_key=[API_KEY]&username=DEMOABCD
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/user/detail");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("username", "DEMOABCD");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'username=DEMOABCD'
headers = {
'Authorization': 'Bearer [API_KEY]',
'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/user/detail", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "username=DEMOABCD");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/user/detail")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'username': 'DEMOABCD' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/user/detail',
  headers: { 
    'Authorization': 'Bearer [API_KEY]', 
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
"url": "https://obligr.io/api_v2/user/detail",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer [API_KEY]",
"Content-Type": "application/x-www-form-urlencoded"
},
"data": {
"username": "DEMOABCD"
}
};

$.ajax(settings).done(function (response) {
console.log(response);
});
				
			
Edit Content
				
					{
“success”: true,
“error”: null,
“data”: {
“username”: “DEMOABCD”,
“name”: “DEMOABCD”,
“email”: “DEMOABCD@GMAIL.COM”,
“mobile”: “0000012345”,
“status”: “active”,
“type”: “User”,
“sms_credit”: 25,
“voice_credit”: 5
}} 
				
			
Edit Content
				
					https://obligr.io/api_v2/user/login
				
			

Body Params

Key

Value

Description

password

(string)

*****

REQUIRED

Enter Password

username

(string)

DEMOABCD

REQUIRED

Digits and Special characters not allowed

mobile_no

(string)

0000012345

OPTIONAL

Either Mobile or Email ID

email_id

(string)

OPTIONAL

Either Mobile or Email ID

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/user/login' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'username=DEMOABCD' \
--data-urlencode 'password=123456' \
--data-urlencode 'mobile_no=8109112303'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/user/login',
  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 => 'username=DEMOABCD&password=123456&mobile_no=8109112303',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded',
    'Cookie: [COOKIES]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/user/login?api_key=[API_KEY]&username=DEMOABCD&password=123456&mobile_no=8109112303
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/user/login");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("username", "DEMOABCD");
request.AddParameter("password", "123456");
request.AddParameter("mobile_no", "8109112303");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'username=DEMOABCD&password=123456&mobile_no=8109112303'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/user/login", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "username=DEMOABCD&password=123456&mobile_no=8109112303");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/user/login")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'username': 'DEMOABCD',
'password': '123456',
'mobile_no': '8109112303' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/user/login',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/user/login",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "username": "DEMOABCD",
    "password": "123456",
    "mobile_no": "8109112303"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": "1ddbe819eee518"
}
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/filter_number
				
			

Body Params

Key

Value

Description

mobile_number

(string)

00000008369,910000098756, +910000698745, 8225898989,8225898989

REQUIRED

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/contact/filter_number' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'mobile_number=00000008369,910000098756,+910000698745,8225898989,8225898989'
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/contact/filter_number", 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 => "mobile_number=00000008369%20910000098756%20+910000698745%208225898989%208225898989",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer [API_KEY]",
"Content-Type: application/x-www-form-urlencoded",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/filter_number?api_key=[API_KEY]&mobile_number=00000008369,910000098756,+910000698745,8225898989,8225898989
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'mobile_number=00000008369%20910000098756%20+910000698745%208225898989%208225898989'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/contact/filter_number", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "mobile_number=00000008369,910000098756,+910000698745,8225898989,8225898989");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/contact/filter_number")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'mobile_number': '00000008369,910000098756,+910000698745,8225898989,8225898989' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/contact/filter_number',
  headers: { 
    'Authorization': '[API_KEY]',
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/contact/filter_number",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "mobile_number": "00000008369,910000098756,+910000698745,8225898989,8225898989"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
“success”: true,
“error”: null,
“data”: {
“valid_number”: [
“8225898989”
],
“invalid_number”: [
“00000008369”,“910000098756”,“+910000698745”],
“duplicate_number”: [
“8225898989”
] } }
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/group_list
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/contact/group_list' \
--header 'Authorization: Bearer [API_KEY]'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/contact/group_list',
  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 [API_KEY]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/group_list?api_key=[API_KEY]
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/contact/group_list");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [API_KEY]'
}
conn.request("POST", "/api_v2/contact/group_list", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/contact/group_list")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/contact/group_list',
  headers: { 
    'Authorization': 'Bearer [API_KEY]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/contact/group_list",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": [
        {
            "id": 9546,
            "name": "TEST",
            "total_contact": 5
        },
        {
            "id": 10273,
            "name": "testo",
            "total_contact": 53
        },
        {
            "id": 11477,
            "name": "Mine",
            "total_contact": 1
        }
    ]
}
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/group_contact/[GROUP_ID]
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/contact/group_contact/[GROUP_ID]' \
--header 'Authorization: Bearer [API_KEY]'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/contact/group_contact/[GROUP_ID]',
  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 [API_KEY]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/group_contact/[GROUP_ID]?api_key=[API_KEY]
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/contact/group_contact/[GROUP_ID]");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [API_KEY]'
}
conn.request("POST", "/api_v2/contact/group_contact/[GROUP_ID]", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/contact/group_contact/[GROUP_ID]")
  .method("POST", body)
      .addHeader("Authorization", "Bearer [API_KEY]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/contact/group_contact/[GROUP_ID]',
  headers: { 
    'Authorization': 'Bearer [API_KEY]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/contact/group_contact/[GROUP_ID]",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": [
        {
            "name": "Ramesh",
            "mobile_no": "8109112303",
            "email": ""
        }
    ]
}
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/add
				
			

Body Params

Key

Value

Description

group_id

(number)

13845

REQUIRED

Enter the Group ID

name

(number)

Tony Stark

OPTIONAL

mobile_no

(number)

8109112303

REQUIRED

+91,0,91 will be auto filtered to 10 Digit
Invalid number will not be added

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/contact/add' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'group_id=13845' \
--data-urlencode 'name=Tony Stark' \
--data-urlencode 'mobile_no=8109112303'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/contact/add',
  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 => 'group_id=13845&name=Tony%20Stark&mobile_no=8109112303',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					POST /api_v2/contact/add HTTP/1.1
Host: https://obligr.io/api_v2/
Authorization: Bearer [API_KEY]
Content-Type: application/x-www-form-urlencoded
Content-Length: 53

group_id=13845&name=Tony%20Stark&mobile_no=8109112303
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/contact/add");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("group_id", "13845");
request.AddParameter("name", "Tony Stark");
request.AddParameter("mobile_no", "8109112303");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'group_id=13845&name=Tony%20Stark&mobile_no=8109112303'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/contact/add", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "group_id=13845&name=Tony Stark&mobile_no=8109112303");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/contact/add")
  .method("POST", body)
  .addHeader("Authorization", "[API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  'group_id': '13845',
  'name': 'Tony Stark',
  'mobile_no': '8109112303' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/contact/add',
  headers: { 
    'Authorization': 'Bearer [API_KEY]', 
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/contact/add",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "group_id": "13845",
    "name": "Tony Stark",
    "mobile_no": "8109112303"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": {
        "id": 11908770,
        "name": "Tony Stark",
        "mobile": "8109112303",
        "email": null
    }
}
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/add_bulk_mobile_no
				
			

Body Params

Key

Value

Description

group_id

(number)

13845

REQUIRED

Enter the Group ID

mobile_no

(number)

+918225838383, 918225848484,
08225898989,+ 918225838383,
8824401044

REQUIRED

+91,0,91 will be auto filtered to 10 Digit
The invalid number will not be added

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/contact/add_bulk_mobile_no' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'group_id=[GROUP_ID]' \
--data-urlencode 'mobile_no=8109112303,8109112303,8109112303,8109112303,8109112303'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/contact/add_bulk_mobile_no',
  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 => 'group_id=[GROUP_ID]&mobile_no=8109112303,8109112303,8109112303,8109112303,8109112303',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					POST /api_v2/contact/add_bulk_mobile_no HTTP/1.1
Host: https://obligr.io/api_v2/
Authorization: Bearer [API_KEY]
Content-Type: application/x-www-form-urlencoded
Content-Length: 100

group_id=[GROUP_ID]&mobile_no=8109112303,8109112303,8109112303,8109112303,8109112303
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/contact/add_bulk_mobile_no");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("group_id", "[GROUP_ID]");
request.AddParameter("mobile_no", "8109112303,8109112303,8109112303,8109112303,8109112303");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'group_id=[GROUP_ID]&mobile_no=8109112303,8109112303,8109112303,8109112303,8109112303'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/contact/add_bulk_mobile_no", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "group_id=[GROUP_ID]&mobile_no=8109112303,8109112303,8109112303,8109112303,8109112303");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/contact/add_bulk_mobile_no")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  'group_id': '[GROUP_ID]',
  'mobile_no': '8109112303,8109112303,8109112303,8109112303,8109112303' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/contact/add_bulk_mobile_no',
  headers: { 
    'Authorization': 'Bearer [API_KEY]',  
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/contact/add_bulk_mobile_no",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "group_id": "[GROUP_ID]",
    "mobile_no": "8109112303,8109112303,8109112303,8109112303,8109112303"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": "1 Contact saved. in Group :Testing"
}
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/delete_bulk_mobile_no
				
			

Body Params

Key

Value

Description

group_id

(number)

13845

REQUIRED

Enter the Group ID

mobile_no

(number)

8225838383,8225848484,
8225898989,8824401044

REQUIRED

10 Digit Number only

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/contact/delete_bulk_mobile_no' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'group_id=[GROUP_ID]' \
--data-urlencode 'mobile_no=8109112303,8109112303,8109112303,8109112303,8109112303,8109112303'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/contact/delete_bulk_mobile_no',
  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 => 'group_id=[GROUP_ID]&mobile_no=8109112303,8109112303,8109112303,8109112303,8109112303,8109112303',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					POST /api_v2/contact/delete_bulk_mobile_no HTTP/1.1
Host: https://obligr.io/api_v2/
Authorization: Bearer [API_KEY]
Content-Type: application/x-www-form-urlencoded
Content-Length: 74

group_id=[GROUP_ID]&mobile_no=8109112303,8109112303,8109112303,8109112303,8109112303,8109112303
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/contact/delete_bulk_mobile_no");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("group_id", "[GROUP_ID]");
request.AddParameter("mobile_no", "8109112303,8109112303,8109112303,8109112303,8109112303,8109112303");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'group_id=[GROUP_ID]&mobile_no=8109112303,8109112303,8109112303,8109112303,8109112303,8109112303'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/contact/delete_bulk_mobile_no", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "group_id=[GROUP_ID]&mobile_no=8109112303,8109112303,8109112303,8109112303,8109112303,8109112303");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/contact/delete_bulk_mobile_no")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  'group_id': '[GROUP_ID]',
  'mobile_no': '8109112303,8109112303,8109112303,8109112303,8109112303,8109112303' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/contact/delete_bulk_mobile_no',
  headers: { 
    'Authorization': 'Bearer [API_KEY]', 
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/contact/delete_bulk_mobile_no",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "group_id": "[GROUP_ID]",
    "mobile_no": "8109112303,8109112303,8109112303,8109112303,8109112303,8109112303"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": "4 Contact Deleted. From Group :Testing"
}
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/group_update/[GROUP_ID]
				
			

Body Params

Key

Value

Description

name

(string)

Testing

REQUIRED

country_code

(string)

+91

OPTIONAL

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/group_update/[GROUP_ID]' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'name=Testing' \
--data-urlencode 'country_code=+91'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/group_update/[GROUP_ID]',
  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 => 'name=Testing&country_code=%2B91',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					POST /api_v2/contact/group_update/[GROUP_ID]HTTP/1.1
Host: https://obligr.io/api_v2/
Authorization: Bearer [API_KEY]
Content-Type: application/x-www-form-urlencoded
Content-Length: 31

name=Testing&country_code=%2B91
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/contact/group_update/[GROUP_ID]");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("name", "Testing");
request.AddParameter("country_code", "+91");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'name=Testing&country_code=%2B91'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/contact/group_update/[GROUP_ID]", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))  
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "name=Testing&country_code=+91");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/contact/group_update/[GROUP_ID]")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  'name': 'Testing',
  'country_code': '+91' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/contact/group_update/[GROUP_ID]',
  headers: { 
    'Authorization': 'Bearer [API_KEY]', 
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/contact/group_update/[GROUP_ID]",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "name": "Testing",
    "country_code": "+91"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": {
        "id": 13845,
        "name": "Testing",
        "country_code": "+91"
    }
}
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/group_delete/[GROUP_ID]
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/contact/group_delete/[GROUP_ID]' \
--header 'Authorization: Bearer [API_KEY]'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/contact/group_delete/[GROUP_ID]',
  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 [API_KEY]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					POST /api_v2/contact/group_delete/[GROUP_ID] HTTP/1.1
Host: https://obligr.io/api_v2/
Authorization: Bearer [API_KEY]
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/contact/group_delete/[GROUP_ID]");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "[API_KEY]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [API_KEY]'
}
conn.request("POST", "/api_v2/contact/group_delete/[GROUP_ID]", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/contact/group_delete/[GROUP_ID]")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
   
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/contact/group_delete/[GROUP_ID]',
  headers: { 
    'Authorization': 'Bearer [API_KEY]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/contact/group_delete/[GROUP_ID]",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": "Group Successfully Deleted."
}
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/group_create
				
			

Body Params

Key

Value

Description

name

(string)

Test

REQUIRED

country_code

(string)

+91

Optional

Create Separate Group for Internation Countries

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/contact/group_create' \
--header '[API_KEY] \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'name=Test' \
--data-urlencode 'country_code=+91'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/contact/group_create',
  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 => 'name=Test&country_code=%2B91',
  CURLOPT_HTTPHEADER => array(
    'Authorization:[API_KEY]',
    'Content-Type: application/x-www-form-urlencoded'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/contact/group_create?api_key=[API_KEY]&name=Test&country_code=%2B91
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/contact/group_create");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "[API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("name", "Test");
request.AddParameter("country_code", "+91");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'name=Test&country_code=%2B91'
headers = {
  'Authorization': '[API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/contact/group_create", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "name=Test&country_code=+91");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/contact/group_create")
  .method("POST", body)
  .addHeader("Authorization", "[API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  'name': 'Test',
  'country_code': '+91' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/group_create',
  headers: { 
    'Authorization': '[API_KEY]', 
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/contact/group_create",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "[API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "name": "Test",
    "country_code": "+91"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": {
        "id": 13845,
        "name": "Test",
        "country_code": "+91"
    }
}
				
			
Edit Content
Edit Content
				
					https://obligr.io/api_v2/message/count
				
			

Body Params

Key

Value

Description

message

(string)

THIS IS A TEST MESSAGE

REQUIRED

unicode

(boolean)

OPTIONAL

1 or 0

Edit Content
				
					curl --location --request POST ' https://obligr.io/api_v2/message/count' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'message=THIS IS A TEST MESSAGE' \
--data-urlencode 'unicode=0'
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => " https://obligr.io/api_v2/message/count", 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 => "message=THIS%20IS%20A%20TEST%20MESSAGE&unicode=0",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer [API_KEY]",
"Content-Type: application/x-www-form-urlencoded"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/message/count?api_key=[API_KEY]&message=THIS IS A TEST MESSAGE&unicode=0
				
			
Edit Content
				
					var client = new RestClient(" https://obligr.io/api_v2/message/count");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "[API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("message", "THIS IS A TEST MESSAGE");
request.AddParameter("unicode", "0");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'message=THIS%20IS%20A%20TEST%20MESSAGE&unicode=0'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/message/count", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "message=THIS IS A TEST MESSAGE&unicode=0");
Request request = new Request.Builder()
.url("https://obligr.io/api_v2/message/count")
.method("POST", body)
.addHeader("Authorization", "Bearer [API_KEY]")
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'message': 'THIS IS A TEST MESSAGE',
'unicode': '0' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/message/count',
  headers: { 
    'Authorization': '[API_KEY]', 
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/ message/count",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "message": "THIS IS A TEST MESSAGE",
    "unicode": "0"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
“success”: true,
“error”: null,
“data”: {
“msg_length”: 22,
“msg_count”: 1,
“unicode”: false
}}
				
			
Edit Content
				
					https://obligr.io/api_v2/message/send
				
			

Body Params

Note: You can send 500 Send SMS API request in a day in your plan, Please contact your manager for increasing your limit

Key

Value

Description

dlt_template_id

(number)

1207161849448858474

REQUIRED

19 Digit from DLT account

sender_id

(string)

REQUIRED

6 Character Header Name
Which should be approved on Template

message

(string)

Dear obligrdemo, We Wish you a Very Happy #var# Regards obligrdemo

REQUIRED

{#var#} 30 characters max
Note- Actual Template should be matched
Else message will get rejected on the operator network
No Refund for it

mobile_no

(number)

Transactional

REQUIRED

comma separate multiple mobile no

schedule_date_time

(datetime)

2020-05-20 13:44:43

OPTIONAL

User posting_time for Schedule SMS.
Format : 'Y-m-d H:i:s'

unicode

(boolean)

0

OPTIONAL

1 or 0 Unicode 1 SMS Count = 70 Characters

country_coded

(string)

eg.IN

OPTIONAL

Select country if you want to send International SMS(Outside India).

				
					+251	Ethiopia (+251)
+93	    Afghanistan (+93)
+880	Bangladesh (+880)
+218	Libya (+218)
+998	Uzbekistan (+998)
+359	Bulgaria (+359)
+94 	Sri Lanka (+94)
+256	Uganda (+256)
+679	Fiji (+679)
+31 	Netherlands (+31)
+20	    Egypt (+20)
+965	Kuwait (+965)
+380	Ukraine (+380)
+81	    Japan (+81)
+34	    Hungary (+36)
+53	    Cuba (+53)
+33	    France (+33)
+972	Israel (+972)
+353	Ireland (+353)
+41	    Switzerland (+41)
+54	    Argentina (+54)
+254	Kenya (+254)
+46     Sweden (+46)
+84	    Vietnam (+84)
+974	Qatar (+974)
+354	Iceland (+354)
+55     Brazil (+55)
+961	Lebanon (+961)
+385	Croatia (+385)
+886	Taiwan (+886)
+852	Hong Kong (+852)
+233	Ghana (+233)
+351	Portugal (+351)
+58 	Venezuela (+58)
+966	Saudi Arabia (+966)
+82  	South Korea (+82)
+98	    Iran (+98)
+57	    Colombia (+57)
+51 	Peru (+51)
+75 	Bhutan (+975)
+506	Costa Rica (+506)
+48 	Poland (+48)
+853	Macau (+853)
+90 	Turkey (+90)
+45 	Denmark (+45)
+61  	Australia (+61)
+1	    Canada (+1)
+27	    South Africa (+27)
+66 	Thailand (+66)
+964	Iraq (+964)
+1	    United States (+1)
+86	    China (+86)
+39	    Italy (+39)
+49	    Germany (+49)
+30	    Greece (+30)
+62	    Indonesia (+62)
+60 	Malaysia (+60)
+960	Maldives (+960)
+230	Mauritius (+230)
+52 	Mexico (+52)
+95 	Myanmar (+95)
+977	Nepal (+977)
+64 	New Zealand (+64)
+234	Nigeria (+234)
+968	Oman (+968)
+63	    Philippines (+63)
+7	    Russia (+7)
+65	    Singapore (+65)
+971	United Arab Emirates (+971)
+44 	United Kingdom (+44)

				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/message/send' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'dlt_template_id=1207161849448858474' \
--data-urlencode 'sender_id=' \
--data-urlencode 'mobile_no=8109112303' \
--data-urlencode 'message=Dear obligrdemo,
We Wish you a Very Happy Diwali
Regards
obligrdemo' \
--data-urlencode 'unicode=0'
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/message/send", 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 => "dlt_template_id=1207161849448858474&sender_id=&mobile_no=8109112303&message=Dear%20obligrdemo%2C%0AWe%20Wish%20you%20a%20Very%20Happy%20Diwali%0ARegards%0Aobligrdemo&unicode=0",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer [API_KEY]",
"Content-Type: application/x-www-form-urlencoded",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
'
				
			
Edit Content
				
					https://obligr.io/api_v2/message/send?api_key=[API_KEY]&dlt_template_id=1207161849448858474&sender_id=&mobile_no=8109112303&message=Dear%20obligrdemo%2C%0AWe%20Wish%20you%20a%20Very%20Happy%20Diwali%0ARegards%0Aobligrdemo&unicode=0

				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/message/send");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("dlt_template_id", "1207161849448858474");
request.AddParameter("sender_id", "");
request.AddParameter("mobile_no", "8109112303");
request.AddParameter("message", "Dear obligrdemo,
We Wish you a Very Happy Diwali
Regards
obligrdemo");
request.AddParameter("unicode", "0");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

dlt_template_id=1207161849448858474&sender_id=&mobile_no=8109112303&message=Dear%20obligrdemo%2C%0AWe%20Wish%20you%20a%20Very%20Happy%20Diwali%0ARegards%0Aobligrdemo&unicode=0
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'dlt_template_id=1207161849448858474&sender_id=&mobile_no=8109112303&message=Dear%20obligrdemo%2C%0AWe%20Wish%20you%20a%20Very%20Happy%20Diwali%0ARegards%0Aobligrdemo&unicode=0'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/message/send", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "dlt_template_id=1207161849448858474&sender_id=&mobile_no=8109112303&message=Dear obligrdemo,
We Wish you a Very Happy Diwali
Regards
obligrdemo&unicode=0");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/message/send")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
'dlt_template_id': '1207161849448858474',
'sender_id': '',
'mobile_no': '8109112303',
'message': 'THIS IS A TEST MESSAGE',
'message': 'Dear obligrdemo,\nWe Wish you a Very Happy Diwali\nRegards\nobligrdemo',
'unicode': '0'
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/message/send',
  headers: {
    'Authorization': '[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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/message/send",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "dlt_template_id": "1207161849448858474",
    "sender_id": "",
    "mobile_no": "8109112303",
    "message": "Dear obligrdemo,
We Wish you a Very Happy Diwali
Regards
obligrdemo",
    "unicode ": "0"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
"success":true
"error":null,"data":
{
"campaign_id":2987413
"total_credit":1
"total_number":1,
"unicode":"0",
"message":"SMS successfully sent"}}
				
			
Edit Content
				
					https://obligr.io/api_v2/message/re_schedule/[JOB_ID]
				
			

Body Params

Key

Value

Description

status

(string)

Operator-Delivered,DELIVRD,REJECTD,DND,UNDELIV

REQUIRED

Add Multiple Comma Separated.
Possible Value : Operator-Delivered,DELIVRD,REJECTD,DND,UNDELIV

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/message/re_schedule/3534546' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'status=Operator-Delivered,DELIVRD,REJECTD,DND,UNDELIV'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/message/re_schedule/3534546',
  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 => 'status=Operator-Delivered%2CDELIVRD%2CREJECTD%2CDND%2CUNDELIV',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/message/re_schedule?api_key=[API_KEY]&job_id=3534546&status=Operator-Delivered,DELIVRD,REJECTD,DND,UNDELIV
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/message/re_schedule/3534546");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("status", "Operator-Delivered,DELIVRD,REJECTD,DND,UNDELIV");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'status=Operator-Delivered%2CDELIVRD%2CREJECTD%2CDND%2CUNDELIV'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/message/re_schedule/3534546", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "status=Operator-Delivered,DELIVRD,REJECTD,DND,UNDELIV");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/message/re_schedule/3534546")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'status': 'Operator-Delivered,DELIVRD,REJECTD,DND,UNDELIV' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/message/re_schedule/3534546',
  headers: { 
    'Authorization': 'Bearer [API_KEY]', 
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/message/re_schedule/3534546",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "status": "Operator-Delivered,DELIVRD,REJECTD,DND,UNDELIV"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
"success":true,
"error":null,
"data":"SMS successfully sent. Job ID : 3546966"
}
				
			
Edit Content
				
					https://obligr.io/api_v2/message/report
				
			

Body Params

Key

Value

Description

date_from

(string)

2020-07-29 00:00:00

REQUIRED

REQUIRED Y-m-d h:i:s Format

job_id

(number)

2984201

OPTIONAL

Note : if search by "job_id" then no need to enter date_from or date_to.

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/message/report' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'job_id=2984201'
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/message/report", 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 => "job_id=2984201",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer [API_KEY]",
"Content-Type: application/x-www-form-urlencoded",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/message/report?api_key=[API_KEY]&job_id=2984201
				
			
Edit Content
				
					"campaign_id": 2984201,
var client = new RestClient("https://obligr.io/api_v2/message/report");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("job_id", "2984201");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'job_id=2984201'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/message/report", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "job_id=2984201");
Request request = new Request.Builder()
.url("https://obligr.io/api_v2/message/report")
.method("POST", body)
.addHeader("Authorization", "Bearer [API_KEY]")
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.addHeader("Cookie", "[COOKIES]")
.build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
'job_id': '2984201' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/message/report',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
"url": "https://obligr.io/api_v2/message/report",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer gondLLx1DsosFxrlRXJz_O[API_KEY]",
"Content-Type": "application/x-www-form-urlencoded",
"Cookie": "[COOKIES]"
},
"data": {
"job_id": "2984201"
}
};

$.ajax(settings).done(function (response) {
console.log(response);
});
				
			
Edit Content
				
					{
“success”: true,
“error”: null,
“data”: [
{
“job_id”: 2984201,
“sender_id”: “OBLIGR”,
“total_number”: 1,
“total_messages”: 1,
“message”: “THIS IS A TEST MESSAGE”,
“date_submitted”: “2020-07-29 18:30:05”,
“unicode”: “false”,
“status”: “Completed”,
“send_by”: “panel”,
“parent_job_id”: null,
“re_schedule_time”: 0,
“re_schedule_status”: null
"summary": {
 "DELIVRD": "1"
}]} 
				
			
Edit Content
				
					https://obligr.io/api_v2/message/report_details/[JOB_ID]
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/message/report_details/2984201' \
--header 'Authorization: Bearer gondLLx1DsosFxrlRXJz_Ox0[API_KEY]' \
--header 'Cookie: [COOKIES]'
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/message/report_details/2984201", 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 [API_KEY]",
"Cookie: [COOKIES]
"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/message/report_details/2984201?api_key=[API_KEY]
				
			
Edit Content
				
					var client = new RestClient(“https://obligr.io/api_v2/message/report_details/2984201”);
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader(“Authorization”, “Bearer [API_KEY]”);
request.AddHeader(“Cookie”, “[COOKIES]”);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content); 
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/message/report_details/2984201", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/message/report_details/2984201")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/message/report_details/2984201',
  headers: { 
    'Authorization': 'Bearer [API_KEY]',  
    'Cookie': '[COOKIES]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/message/report_details/2984201",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer gondLLx1DsosFxrlRX[API_KEY]",
    "Cookie": "[COOKIES]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    “success”: true,
    “error”: null,
    “data”: [
        {
            “mobile_no”: “[D_MNO]”,
            “status”: “DELIVRD”,
            “message_id”: “005388383100162019500647619025731”
        }]} 
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/add_header
				
			

Body Params

Key

Value

Description

category

(string)

service_implicit

REQUIRED

transactional
service_implicit
service_explicit
promotional

header_name

(string)

REQUIRED

Transactional - 6 Characters
Service Implicit - 6 Characters
Service Explicit - 6 Characters
Promotional - 6 Digits

header_id

(number)

1001122165524968835

REQUIRED

19 Numeric Digits
Login to your DLT account to check

pe_id

(number)

1002122165524968835

OPTIONAL

19 Numeric Digits
Login to your DLT account to check

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/dlt/add_header' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'category=promotional' \
--data-urlencode 'header_name=666666' \
--data-urlencode 'header_id=1001122165524968835' \
--data-urlencode 'pe_id=1002122165524968835'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/dlt/add_header',
  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 => 'category=promotional&header_name=666666&header_id=1001122165524968835&pe_id=1002122165524968835',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded',
    'Cookie: [COOKIES]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/add_header?api_key=[API_KEY]&category=promotional&header_name=666666&header_id=1001122165524968835&pe_id=1002122165524968835
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/dlt/add_header");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("category", "promotional");
request.AddParameter("header_name", "666666");
request.AddParameter("header_id", "1001122165524968835");
request.AddParameter("pe_id", "1002122165524968835");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'category=promotional&header_name=666666&header_id=1001122165524968835&pe_id=1002122165524968835'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/dlt/add_header", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "category=promotional&header_name=666666&header_id=1001122165524968835&pe_id=1002122165524968835");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/dlt/add_header")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'category': 'promotional',
'header_name': '666666',
'header_id': '1001122165524968835',
'pe_id': '1002122165524968835' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/dlt/add_header',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/dlt/add_header",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "category": "promotional",
    "header_name": "666666",
    "header_id": "1001122165524968835",
    "pe_id": "1002122165524968835"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": {
        "id": 765,
        "user_id": 9900,
        "header_name": "[D_HEADER_ID]",
        "header_id": "1001122165524968835",
        "pe_id": "1002122165524968835",
        "template_id": null,
        "category": "service_implicit",
        "template_content": null,
        "status": "active",
        "is_deleted": null,
        "is_default": null,
        "is_default_voice": null,
        "date_created": "2021-02-06 00:23:37",
        "date_updated": "2021-02-06 00:23:37"
    }
}
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/set_default_header
				
			

Body Params

Key

Value

Description

id

(number)

769

REQUIRED

Get ID from the below link
https://obligr.io/dlt/header-list

type

(string)

sms

REQUIRED

sms or voice
default: sms

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/dlt/set_default_header' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'id=769' \
--data-urlencode 'type=sms'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/dlt/set_default_header',
  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 => 'id=769&type=sms',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded',
    'Cookie: [COOKIES]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/set_default_header?api_key=[API_KEY]&id=769&type=sms
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/dlt/set_default_header");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("id", "769");
request.AddParameter("type", "sms");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'id=769&type=sms'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/dlt/set_default_header", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "id=769&type=sms");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/dlt/set_default_header")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'id': '769',
'type': 'sms' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/dlt/set_default_header',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/dlt/set_default_header",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer  [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "id": "769",
    "type": "sms"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": "Default Header ID Changed"
}
				
			
Edit Content
				
					https://obligr.io/api_v2/message/re_schedule/[JOB_ID]
				
			

Body Params

Key

Value

Description

category

(string)

service_explicit

OPTIONAL

transactional
service_implicit
service_explicit
promotional

header_name

(string)

DEMOSM

OPTIONAL

Transactional - 6 Characters
Service Implicit - 6 Characters
Service Explicit - 6 Characters
Promotional - 6 Digits

header_id

(number)

1201122165524968835

OPTIONAL

Updated 19 Numeric Digits
Login to your DLT account to check

pe_id

(number)

1202122165524968835

OPTIONAL

Updated 19 Numeric Digits
Login to your DLT account to check

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/dlt/edit_header/769' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'category=service_implicit' \
--data-urlencode 'header_name=DEMODM' \
--data-urlencode 'header_id=1405159211832908949' \
--data-urlencode 'pe_id=1002122165524968835'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/dlt/edit_header/769',
  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 => 'category=service_implicit&header_name=DEMODM&header_id=1405159211832908949&pe_id=1002122165524968835',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded',
    'Cookie: [COOKIES]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/edit_header/769?api_key=[API_KEY]&category=service_implicit&header_name=DEMODM&header_id=1405159211832908949&pe_id=1002122165524968835
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/dlt/edit_header/769");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("category", "service_implicit");
request.AddParameter("header_name", "DEMODM");
request.AddParameter("header_id", "1405159211832908949");
request.AddParameter("pe_id", "1002122165524968835");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'category=service_implicit&header_name=DEMODM&header_id=1405159211832908949&pe_id=1002122165524968835'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/dlt/edit_header/769", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "category=service_implicit&header_name=DEMODM&header_id=1405159211832908949&pe_id=1002122165524968835");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/dlt/edit_header/769")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'category': 'service_implicit',
'header_name': 'DEMODM',
'header_id': '1405159211832908949',
'pe_id': '1002122165524968835' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/dlt/edit_header/769',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/dlt/edit_header/769",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "category": "service_implicit",
    "header_name": "DEMODM",
    "header_id": "1405159211832908949",
    "pe_id": "1002122165524968835"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": {
        "id": 765,
        "user_id": 9900,
        "header_name": "DEMOSM",
        "header_id": "1201122165524968835",
        "pe_id": "1202122165524968835",
        "template_id": null,
        "category": "service_implicit",
        "template_content": null,
        "status": "active",
        "is_deleted": null,
        "is_default": null,
        "is_default_voice": null,
        "date_created": "2021-02-06 00:23:37",
        "date_updated": "2021-02-06 00:52:37"
    }
}
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/delete-header
				
			

Body Params

Key

Value

Description

ids

(string)

769

REQUIRED

769,770,771
for multiple delete
use commas separate

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/dlt/delete-header' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'ids=771'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/dlt/delete-header',
  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 => 'ids=771',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded',
    'Cookie: [COOKIES]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/delete-header?api_key=[API_KEY]&ids=771
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/dlt/delete-header");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("ids", "771");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'ids=771'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/dlt/delete-header", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "ids=771");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/dlt/delete-header")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'ids': '771' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/dlt/delete-header',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/dlt/delete-header",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "ids": "771"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": "1 : Record Deleted."
}
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/header-list
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/dlt/header-list' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Cookie: [COOKIES]'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/dlt/header-list',
  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 [API_KEY]',
    'Cookie: [COOKIES]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/header-list?api_key=[API_KEY]
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/dlt/header-list");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Cookie", "[COOKIES]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/dlt/header-list", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/dlt/header-list")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/dlt/header-list',
  headers: { 
    'Authorization': 'Bearer [API_KEY]',  
    'Cookie': '[COOKIES]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/dlt/header-list",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Cookie": "[COOKIES]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": [
               {
            "ID": 769,
            "category": "service_implicit",
            "header_name": "DEMODM",
            "header_id": "1405159211832908949",
            "pe_id": "1002122165524968835",
            "is_default": 0,
            "status": "active",
            "date_created": "2021-02-06 13:50:51"
        }
    ]
}
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/add_template
				
			

Body Params

Key

Value

Description

template_id

(number)

1001122165524963335

REQUIRED

19 Numeric Digits
Login to your DLT account to check

template_name

(string)

Newyear

REQUIRED

Enter your Template Name

template_content

(string)

Hello #var# Wishing you and your family a very Happy New Year Regards obligrdemo

REQUIRED

The maximum allowed length is 2000.
You can add the variable parts using {#var#}.
If Consent is used while sending messages then an additional script of the footer will be attached.

header_id

(string)

768,769

REQUIRED

768,769,770
For multiple add - Use commas separated
Get ID from the below link
https://obligr.io/dlt/header-list

unicode

(boolean)

OPTIONAL

1 or 0
1 - True
0 - False

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/dlt/add_template' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'template_id=1001122165524963335' \
--data-urlencode 'template_name=Newyear' \
--data-urlencode 'template_content=Hello {#var#} Wishing you and your family a very Happy New Year  Regards {username}' \
--data-urlencode 'header_id=768,769'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/dlt/add_template',
  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 => 'template_id=1001122165524963335&template_name=Newyear&template_content=Hello%20%7B%23var%23%7D%20Wishing%20you%20and%20your%20family%20a%20very%20Happy%20New%20Year%20%20Regards%20%7Busername%7D&header_id=768%2C769',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded',
    'Cookie: [COOKIES]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/add_template?api_key=[API_KEY]&template_id=1001122165524963335&template_name=Newyear&template_content=Hello {#var#} Wishing you and your family a very Happy New Year  Regards {username}&header_id=768,769
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/dlt/add_template");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("template_id", "1001122165524963335");
request.AddParameter("template_name", "Newyear");
request.AddParameter("template_content", "Hello {#var#} Wishing you and your family a very Happy New Year  Regards {username}");
request.AddParameter("header_id", "768,769");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'template_id=1001122165524963335&template_name=Newyear&template_content=Hello%20%7B%23var%23%7D%20Wishing%20you%20and%20your%20family%20a%20very%20Happy%20New%20Year%20%20Regards%20%7Busername%7D&header_id=768%2C769'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/dlt/add_template", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "template_id=1001122165524963335&template_name=Newyear&template_content=Hello {#var#} Wishing you and your family a very Happy New Year  Regards {username}&header_id=768,769");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/dlt/add_template")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'template_id': '1001122165524963335',
'template_name': 'Newyear',
'template_content': 'Hello {#var#} Wishing you and your family a very Happy New Year  Regards {username}',
'header_id': '768,769' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/dlt/add_template',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/dlt/add_template",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "template_id": "1001122165524963335",
    "template_name": "Newyear",
    "template_content": "Hello {#var#} Wishing you and your family a very Happy New Year  Regards {username}",
    "header_id": "768,769"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": "Template Successfully Saved."
}
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/template-list
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/dlt/template-list' \
--header 'Authorization: Bearer gondLLx1DsosFxrlRXJz_Ox0[API_KEY]' \
--header 'Cookie: [COOKIES]'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/dlt/template-list',
  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 [API_KEY]',
    'Cookie: [COOKIES]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/template-list?api_key=[API_KEY]
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/dlt/template-list");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Cookie", "[COOKIES]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/dlt/template-list", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/dlt/template-list")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/dlt/template-list',
  headers: { 
    'Authorization': 'Bearer [API_KEY]', 
    'Cookie': '[COOKIES]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/dlt/template-list",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Cookie": "[COOKIES]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": [
        {
            "ID": 215,
            "template_id": "1001122165524963335",
            "template_name": "Newyear",
            "template_content": "Hello {#var#} Wishing you and your family a very Happy New Year  Regards {username}",
            "unicode": 0,
            "status": "active",
            "date_created": "2021-02-06 16:41:12",
            "header": {
                "768": "BLKSMS",
                "769": "DEMODM"
            }
        }
    ]
}
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/edit_template/[ID]
				
			

Body Params

Key

Value

Description

template_id

(number)

1001122165524963000

OPTIONAL

19 Numeric Digits
Login to your DLT account to check

template_name

(string)

Newyeartwenty

OPTIONAL

Enter your Template Name

template_content

(string)

Dear #var# Wishing you and your family a very Happy New Year Regards username

OPTIONAL

The maximum allowed length is 2000.
You can add the variable parts using {#var#}.
If Consent is used while sending messages then an additional script of the footer will be attached.

header_id

(number)

768

OPTIONAL

768,769,770
For multiple add - Use commas separated
Get ID from the below link
https://obligr.io/dlt/template-list

unicode

(boolean)

0

OPTIONAL

1 or 0
1 - True
2 - False

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/dlt/edit_template/215' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'template_id=1001122165524963000' \
--data-urlencode 'template_name=Newyeartwenty' \
--data-urlencode 'template_content=Dear {#var#} Wishing you and your family a very Happy New Year  Regards {username}' \
--data-urlencode 'header_id=768' \
--data-urlencode 'unicode=0'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/dlt/edit_template/215',
  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 => 'template_id=1001122165524963000&template_name=Newyeartwenty&template_content=Dear%20%7B%23var%23%7D%20Wishing%20you%20and%20your%20family%20a%20very%20Happy%20New%20Year%20%20Regards%20%7Busername%7D&header_id=768&unicode=0',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY],
    'Content-Type: application/x-www-form-urlencoded',
    'Cookie: [COOKIES]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/edit_template?api_key=[API_KEY]&template_id=1001122165524963000&template_name=Newyeartwenty&template_content=Dear {#var#} Wishing you and your family a very Happy New Year  Regards {username}&header_id=768&unicode=0
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/dlt/edit_template/215");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]")
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("template_id", "1001122165524963000");
request.AddParameter("template_name", "Newyeartwenty");
request.AddParameter("template_content", "Dear {#var#} Wishing you and your family a very Happy New Year  Regards {username}");
request.AddParameter("header_id", "768");
request.AddParameter("unicode", "0");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'template_id=1001122165524963000&template_name=Newyeartwenty&template_content=Dear%20%7B%23var%23%7D%20Wishing%20you%20and%20your%20family%20a%20very%20Happy%20New%20Year%20%20Regards%20%7Busername%7D&header_id=768&unicode=0'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/dlt/edit_template/215", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "template_id=1001122165524963000&template_name=Newyeartwenty&template_content=Dear {#var#} Wishing you and your family a very Happy New Year  Regards {username}&header_id=768&unicode=0");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/dlt/edit_template/215")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'template_id': '1001122165524963000',
'template_name': 'Newyeartwenty',
'template_content': 'Dear {#var#} Wishing you and your family a very Happy New Year  Regards {username}',
'header_id': '768',
'unicode': '0' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/dlt/edit_template/215',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/dlt/edit_template/215",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "template_id": "1001122165524963000",
    "template_name": "Newyeartwenty",
    "template_content": "Dear {#var#} Wishing you and your family a very Happy New Year  Regards {username}",
    "header_id": "768",
    "unicode": "0"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": "Template Successfully Saved."
}
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/delete-template
				
			

Body Params

Key

Value

Description

ids

(string)

215

REQUIRED

215,216
Use Comma Separated for multiple delete

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/dlt/delete-template' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'ids=215'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/dlt/delete-template',
  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 => 'ids=215',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded',
    'Cookie: [COOKIES]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/dlt/delete-template?api_key=[API_KEY]&ids=215
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/dlt/delete-template");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("ids", "215");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'ids=215'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/dlt/delete-template", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "ids=215");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/dlt/delete-template")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'ids': '215' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/dlt/delete-template',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/dlt/delete-template",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "ids": "215"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null, 
    "data": Template Deleted.",
}
				
			
Edit Content
				
					https://obligr.io/api_v2/url-track/add
				
			

Body Params

Key

Value

Description

Title

(string)

Google URL

REQUIRED

Enter your title

URL

(string)

https://www.google.com/

REQUIRED

Enter the URL which you want to track

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/url-track/add' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'title=URL Tracking' \
--data-urlencode 'url=https://www.google.com/'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/url-track/add',
  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=URL%20Tracking&url=https%3A%2F%2Fwww.google.com%2F',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/url-track/add?api_key=[API_KEY]&title=URL Tracking&url=https://www.google.com/
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/url-track/add");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("title", "URL Tracking");
request.AddParameter("url", "https://www.google.com/");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'title=URL%20Tracking&url=https%3A%2F%2Fwww.google.com%2F'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/url-track/add", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "title=URL Tracking&url=https://www.google.com/");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/url-track/add")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'title': 'URL Tracking',
'url': 'https://www.google.com/' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/url-track/add',
  headers: { 
    'Authorization': 'Bearer [API_KEY]',  
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/url-track/add",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "title": "URL Tracking",
    "url": "https://www.google.com/"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": {
        "id": 369,
        "uid": "f09",
        "title": "URL Tracking",
        "shortUrl": "http://obli.in/ob/{XXXXXXXXXX}/f09",
        "target_url": "https://www.google.com/",
        "status": "active",
        "date_created": "2021-03-06 20:56:55"
    }
}
				
			
Edit Content
				
					https://obligr.io/api_v2/url-track/edit/[ID]
				
			

Body Params

Key

Value

Description

title

(string)

New URL Tracking

REQUIRED

Change the title

url

(string)

https://www.google.co.in/

REQUIRED

Change the URL

status

(string)

active

OPTIONAL

active or disabled

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/url-track/edit/369' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'title=New URL Tracking' \
--data-urlencode 'url=https://www.google.co.in/' \
--data-urlencode 'status=active'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/url-track/edit/369',
  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=New%20URL%20Tracking&url=https%3A%2F%2Fwww.google.co.in%2F&status=active',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/url-track/edit/369?api_key=[API_KEY]&title=New URL Tracking&url=https://www.google.co.in/&status=active

				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/url-track/edit/369");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("title", "New URL Tracking");
request.AddParameter("url", "https://www.google.co.in/");
request.AddParameter("status", "active");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'title=New%20URL%20Tracking&url=https%3A%2F%2Fwww.google.co.in%2F&status=active'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/url-track/edit/369", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "title=New URL Tracking&url=https://www.google.co.in/&status=active");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/url-track/edit/369")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'title': 'New URL Tracking',
'url': 'https://www.google.co.in/',
'status': 'active' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/url-track/edit/369',
  headers: { 
    'Authorization': 'Bearer [API_KEY]', 
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/url-track/edit/369",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "title": "New URL Tracking",
    "url": "https://www.google.co.in/",
    "status": "active"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": {
        "id": 369,
        "uid": "f09",
        "title": "New URL Tracking",
        "shortUrl": "http://obli.in/ob/{XXXXXXXXXX}/f09",
        "target_url": "https://www.google.co.in/",
        "status": "active",
        "date_created": "2021-03-06 20:56:55"
    }
}
				
			
Edit Content
				
					https://obligr.io/api_v2/url-track/list
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/url-track/list' \
--header 'Authorization: Bearer [API_KEY]'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/url-track/list',
  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 [API_KEY]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/url-track/list?api_key=[API_KEY]
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/url-track/list");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [API_KEY]'
}
conn.request("POST", "/api_v2/url-track/list", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/url-track/list")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/url-track/list',
  headers: { 
    'Authorization': 'Bearer [API_KEY]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/url-track/list",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": [
        {
            "id": 369,
            "uid": "f09",
            "title": "New URL Tracking",
            "shortUrl": "http://obli.in/ob/{XXXXXXXXXX}/f09",
            "target_url": "https://www.google.co.in/",
            "status": "active",
            "visit":"0",
            "date_created": "2021-03-06 20:56:55"
        }
    ]
}
				
			
Edit Content
				
					https://obligr.io/api_v2/url-track/visit/[ID]
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/url-track/visit/369' \
--header 'Authorization: Bearer [API_KEY]'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/url-track/visit/369',
  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 [API_KEY]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/url-track/visit/369?api_key=[API_KEY]
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/url-track/visit/369");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [API_KEY]'
}
conn.request("POST", "/api_v2/url-track/visit/369", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/url-track/visit/369")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/url-track/visit/369',
  headers: { 
    'Authorization': 'Bearer [API_KEY]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/url-track/visit/369",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": [
        {
            "mobile_no": "7722857766",
            "count": "1"
        },
   {
            "mobile_no": "6622117799",
            "count": "4"
        }
    ]
}
				
			
Edit Content
				
					https://obligr.io/api_v2/message/re_schedule/[JOB_ID]
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/url-track/delete/387' \
--header 'Authorization: Bearer [API_KEY]'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/url-track/delete/387',
  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 [API_KEY]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/url-track/delete/369?api_key=[API_KEY]
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/url-track/delete/387");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [API_KEY]'
}
conn.request("POST", "/api_v2/url-track/delete/387", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/url-track/delete/387")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
   
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/url-track/delete/387',
  headers: { 
    'Authorization': 'Bearer [API_KEY]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/url-track/delete/387",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": "URL Track Delete Successfully."
}
				
			
Edit Content
Edit Content
				
					https://obligr.io/api_v2/voice-call/campaign
				
			

Body Params

Key

Value

Description

caller_id

(number)

9925028109

REQUIRED

10 Digit mobile number.

voice_source

(string)

voice_file

OPTIONAL

Optional
voice_file or voice_text

voice_file

(string)

0

REQUIRED

Use if voice_source is voice_file
Or enter file name or file_url
.wav, .mp3 file

voice_text

(string)

0

OPTIONAL

If voice_source is voice_text

voice_pitch_rate

(string)

medium

OPTIONAL

Optional
slow,medium,fast

posting_time

(datetime)

2020-05-22 15:40:22

OPTIONAL

User posting_time for Schedule Voice Call.
Format : 'Y-m-d H:i:s'

re_schedule_status

(string)

0

OPTIONAL

NoAnswer,Failed,Busy, RING_TIMEOUT, Rejected,Completed

country_code

(string)

eg.IN (default)

OPTIONAL

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)
				
			

voice_name

(string)

0

OPTIONAL

REQUIRED IF use type is voice_call/both

				
					Voice Name       Language - Gender
Salli            en-US - Female
Joey             en-US - Male
Aditi            hi-IN - Female - 1
Raveena          hi-IN - Hindi Text Accepted
				
			

mobile_no

(string)

8109112303

REQUIRED

comma separate multiple mobile no

voice_interval

(string)

0

OPTIONAL

Number of time auto Reschedule

re_schedule_time

(number)

Default 0

OPTIONAL

Track call response after call press by user.

is_conversation

(number)

1 OR 0

OPTIONAL

Track call response after call press by user.

auto_reply_sms

(number)

1 OR 0

OPTIONAL

conversation_resp

(string)

[{“key”:”1″,”unicode” :true,”message”:”1 नंबर दबाया गया”},{“key”:”2″,”unicode” :false,”message”:”key 2 “}]

OPTIONAL

Array of key & Message.
for auto replay need to is_conversation & auto_replay_sms need to true

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/voice-call/campaign' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'caller_id=9925028109' \
--data-urlencode 'voice_source=voice_file' \
--data-urlencode 'voice_file=https://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3' \
--data-urlencode 'mobile_no=8109112303' \
--data-urlencode 're_schedule_status=NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed' \
--data-urlencode 'voice_interval=5'
				
			
Edit Content
				
					<?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=9925028109&voice_file=https://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3&mobile_no=8109112303&re_schedule_status=NoAnswer%2CFailed%2CBusy%2CRING_TIMEOUT%2CRejected%2CCompleted&voice_interval=5",
CURLOPT_HTTPHEADER => array(
"authorization: Bearer [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;
}
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/campaign?api_key=[API_KEY]&caller_id=9925028109&voice_source=voice_file&voice_file=https://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3&mobile_no=8109112303&re_schedule_status=NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed&voice_interval=5
				
			
Edit Content
				
					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 [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("caller_id", "9925028109");
request.AddParameter("voice_source", "voice_file");
request.AddParameter("voice_file", "https://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3");
request.AddParameter("mobile_no", "8109112303");
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);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'caller_id=9925028109&voice_source=voice_file&voice_file=https%3A//dl.prokerala.com/downloads/ringtones/files/mp3/tiktokpopularjokerringtone2019laylairemixfullbassdjbestjokerringtonefamousb-50918.mp3&mobile_no=8109112303&re_schedule_status=NoAnswer%2CFailed%2CBusy%2CRING_TIMEOUT%2CRejected%2CCompleted&voice_interval=5'
headers = {
  'Authorization': 'Bearer [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"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "caller_id=9925028109&voice_source=voice_file&voice_file=https://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3&mobile_no=8109112303&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 [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'caller_id': '9925028109',
'voice_source': 'voice_file',
'voice_file': 'https://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3',
'mobile_no': '8109112303',
'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': '[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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/voice-call/campaign",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "caller_id": "9925028109",
    "voice_source": "voice_file",
    "voice_file": "https://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3",
    "mobile_no": "8109112303",
    "re_schedule_status": "NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed",
    "voice_interval": "5"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{ “success”: true,
“error”: null,
“data”:
{ “campaign_id”: 556093,
“total_call”: 2,
“total_number”: 1,
“message”: “Call successfully sent.”
} }
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/add_caller_id
				
			

Body Params

Key

Value

Description

caller_id

(string)

TESTING

REQUIRED

Name or title for Caller ID

mobile_no

(number)

9925028109

REQUIRED

REQUIRED 10 digit mobile number

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/voice-call/add_caller_id' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'title=TESTING' \
--data-urlencode 'mobile_no=9925028109'
				
			
Edit Content
				
					<?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=9925028109",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer [API_KEY]",
"Content-Type: application/x-www-form-urlencoded",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/add_caller_id?api_key=[API_KEY]&title=TESTING&mobile_no=9925028109
				
			
Edit Content
				
					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 [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("title", "TESTING");
request.AddParameter("mobile_no", "9925028109");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'title=TESTING&mobile_no=9925028109'
headers = {
  'Authorization': 'Bearer [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"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "title=TESTING&mobile_no=9925028109");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/voice-call/add_caller_id")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]") 
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'title': 'TESTING',
'mobile_no': '9925028109' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/voice-call/add_caller_id',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/voice-call/add_caller_id",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]
"
  },
  "data": {
    "title": "TESTING",
    "mobile_no": "9925028109"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
“success”: true,
“error”: null,
“data”: {
“mobile_no”: “9925028109”,
“title”: “TESTING”,
“status”: “pending”
}
} 
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/re_schedule/{campaign_id}
				
			

Body Params

Key

Value

Description

status

(string)

NoAnswer,Failed,Busy,
RING_TIMEOUT,
Rejected,Completed

OPTIONAL

Add Multiple Comma Separated.
Possible Value : NoAnswer,Failed,Busy,
RING_TIMEOUT,
Rejected,Completed

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/voice-call/re_schedule/782511' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'status=NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/voice-call/re_schedule/782511',
  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 => 'status=NoAnswer%2CFailed%2CBusy%2CRING_TIMEOUT%2CRejected%2CCompleted',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/re_schedule/782511?api_key=[API_KEY]&status=NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed

				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/re_schedule/782511");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("status", "NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'status=NoAnswer%2CFailed%2CBusy%2CRING_TIMEOUT%2CRejected%2CCompleted'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/voice-call/re_schedule/782511", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "status=NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/voice-call/re_schedule/782511")
  .method("POST", body)
  .addHeader("Authorization", "Bearer gondLLx1DsosFxrlRXJz[API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'status': 'NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/voice-call/re_schedule/782511',
  headers: { 
    'Authorization': 'Bearer [API_KEY]',  
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/voice-call/re_schedule/782511",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "status": "NoAnswer,Failed,Busy,RING_TIMEOUT,Rejected,Completed"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": "1 - Call successfully sent. Campaign ID : 782512"
}
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/verify_caller_id/[D_CALLER_ID]
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/voice-call/verify_caller_id/9925028109' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'verify_otp=7682173'
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/voice-call/verify_caller_id/9925028109",
 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 [API_KEY]",
"Content-Type: application/x-www-form-urlencoded",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/verify_caller_id/9925028109?api_key=[API_KEY]&verify_otp=9876543
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/voice-call/verify_caller_id/9925028109");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [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);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'verify_otp=7682173'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/voice-call/verify_caller_id/9925028109", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/9925028109")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					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/9925028109',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
"url": "https://obligr.io/api_v2/voice-call/verify_caller_id/9925028109",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer [API_KEY]",
"Content-Type": "application/x-www-form-urlencoded",
"Cookie": "[COOKIES]"
},
"data": {
"verify_otp": "7682173"
}
};

$.ajax(settings).done(function (response) {
console.log(response);
});
				
			
Edit Content
				
					{
“success”: true,
“error”: null,
“data”: {
“mobile_no”: “9925028109”,
“title”: “TESTING”,
“status”: “active”
}
}
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/list_caller_id
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/voice-call/list_caller_id' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Cookie: [COOKIES]'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/voice-call/list_caller_id',
  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 [API_KEY],
    'Cookie: [COOKIES]'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/list_caller_id?api_key=[API_KEY]
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/voice-call/list_caller_id");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Cookie", "[COOKIES]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/voice-call/list_caller_id", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/list_caller_id")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/voice-call/list_caller_id',
  headers: { 
    'Authorization': 'Bearer [API_KEY]',  
    'Cookie': '[COOKIES]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://demo.obligr.com/api_v2/voice-call/list_caller_id",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Cookie": "__cfduid=de80a69b200b501502b0edecf83585a261612596148; PHPSESSID=djas8ku5604v1k852pdv3tl7k1"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": [
        {
            "title": "TESTING",
            "mobile_no": "9925028109",
            "status": "active",
            "date_created": "2019-09-05 17:11:59"
        }
    ]
}
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/delete_caller_id/[D_CALLER_ID]
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/voice-call/delete_caller_id/9925028109' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Cookie: [COOKIES]';
});
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/voice-call/delete_caller_id/9925028109",<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 [API_KEY]",
"Cookie: __cfduid=d659b54143769c92b55ef19f4ab55821b1596017761"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/delete_caller_id/9925028109?api_key=gondLLx1DsosFxrlRXJz_Ox0[API_KEY]
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/voice-call/delete_caller_id/9925028109");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Cookie", "[COOKIES]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
'Authorization': 'Bearer [API_KEY]',
'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/voice-call/delete_caller_id/9925028109", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					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/9925028109")
  .method("POST", body)
  .addHeader("Authorization", "[API_KEY]")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					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/9925028109',
  headers: { 
    'Authorization': 'Bearer [API_KEY]', 
    'Cookie': '[COOKIES]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/voice-call/delete_caller_id/9925028109",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Cookie": "[COOKIES]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{ “success”: true,
“error”: null,
“data”: “Caller ID 9925028109
Successfully Deleted.” }
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/report
				
			

Body Params

Key

Value

Description

date_from

(string)

2020-07-28 00:00:00

REQUIRED

date_to

(string)

2020-07-28 23:59:59

REQUIRED

(number)

(string)

556093

REQUIRED

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/voice-call/report' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'campaign_id=556093'
				
			
Edit Content
				
					<?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  [API_KEY]",
"Content-Type: application/x-www-form-urlencoded",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/report?api_key=[API_KEY]&date_from=2020-07-31 00:00:00&date_to=2020-07-31 23:59:59&campaign_id=556093
				
			
Edit Content
				
					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 [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);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'campaign_id=556093'
headers = {
  'Authorization': 'Bearer [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"))
				
			
Edit Content
				
					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 [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					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 [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/voice-call/report",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "campaign_id": "556093"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{ 
“success”: true,
“error”: null,
“data”: [
{
“campaign_id”: 556093,
"caller_id":"7722857766"
“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”
"summary":{"answered":"1"}
},
“call_response_summary”: null
}
]
}
				
			
Edit Content
				
					https://obligr.io/api_v2/message/re_schedule/[JOB_ID]
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/voice-call/details/556093' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Cookie: [COOKIES]
				
			
Edit Content
				
					<?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 [API_KEY]",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
'
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/details/556094?api_key=[API_KEY]
				
			
Edit Content
				
					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 [API_KEY]");
request.AddHeader("Cookie", "[COOKIES]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("https://obligr.io/api_v2/")
payload = ''
headers = {
'Authorization': 'Bearer [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"))
				
			
Edit Content
				
					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", "[API_KEY]")
  .addHeader("Cookie", "[COOKIES]")
				
			
Edit Content
				
					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': '[API_KEY]',
    'Cookie': '[COOKIES]'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/voice-call/details/556093",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Cookie": "[COOKIES]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{ “success”: true,
“error”: null,
“data”: [ { “mobile_no”: “+910000038383”,
“status”: “unanswered”,
“duration”: 0,
“call_start”: “2020-07-31 14:01:42”,
“call_end”: “2020-07-31 14:01:42”,
“call_response”: “”,
“response_msg”: “” }
] }
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/delete_scheduled/{campaign_id}
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/voice-call/delete_scheduled/556094' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Cookie: [COOKIES]'
				
			
Edit Content
				
					<?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 [API_KEY]",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/delete_scheduled/{campaign_id}?api_key=[API_KEY]
				
			
Edit Content
				
					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 [API_KEY]");
request.AddHeader("Cookie", "[COOKIES]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [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"))
				
			
Edit Content
				
					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 [API_KEY]")
.addHeader("Cookie", "[COOKIES]")
.build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');

var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/voice-call/delete_scheduled/556094',
  headers: { 
    'Authorization': 'Bearer [API_KEY]', 
    'Cookie': '[COOKIES]'
  }
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/voice-call/delete_scheduled/556094",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer gondLLx1DsosFxrlRX[API_KEY]",
    "Cookie": "[COOKIES]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{ “success”: true,
“error”: null,
“data”: “Campaign 556094 Successfully Deleted.” }
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/voice_file_upload
				
			

Body Params

Key

Value

Description

voice_title

(string)

TESTING

REQUIRED

Title of your Voice File

voice_file

(string)

https://www.ringtoneshome.com/
static/p/ringtones/2020/03/29/
g38cn4/12957.mp3

REQUIRED

voice_file URL or form_data file

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/voice-call/voice_file_upload' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'voice_title=TESTING' \
--data-urlencode 'voice_file=https://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3'
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/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//www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer [API_KEY]",
"Content-Type: application/x-www-form-urlencoded",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/voice_file_upload?api_key=[API_KEY]&voice_title=TESTING&voice_file=https://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3
				
			
Edit Content
				
					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 [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://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'voice_title=TESTING&voice_file=https%3A//www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3'
headers = {
  'Authorization': 'Bearer [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"))
				
			
Edit Content
				
					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://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/voice-call/voice_file_upload")
  .method("POST", body)
  .addHeader("Authorization", "[API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
'voice_title': 'TESTING',
'voice_file': 'https://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3'
});
var config = {
method: 'post',
url: 'https://obligr.io/api_v2/voice-call/voice_file_upload',
headers: {
'Authorization': '[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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/voice-call/voice_file_upload",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "[API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "voice_title": "TESTING",
    "voice_file": "https://www.ringtoneshome.com/static/p/ringtones/2020/03/29/g38cn4/12957.mp3"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
“success”: true,
“error”: null,
“data”: {
“title”: “202007311409099900886395626 2020-07-31 14:09:10 (54 sec : 2 Credit)”,
“voice_file”: “202007311409099900886395626.mp3”,
“duration”: 54
}
}
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/voice_file
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/voice-call/voice_file' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Cookie: [COOKIES]'
				
			
Edit Content
				
					<?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 [API_KEY]",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/voice_file?api_key=[API_KEY]
				
			
Edit Content
				
					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 [API_KEY]");
request.AddHeader("Cookie", "[COOKIES]");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = ''
headers = {
  'Authorization': 'Bearer [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"))
				
			
Edit Content
				
					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 [API_KEY]")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					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 [API_KEY]',  
    'Cookie': '[COOKIES]
'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/voice-call/voice_file",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Aut"[API_KEY]",
    "Cookie": "[COOKIES]"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
“success”: true,
“error”: null,
“data”: [
{
“title”: “lr_20200617113021_3466 2020-07-31 17:33:42”,
“voice_file_name”: “202007311733429900921610003.mp3”,
“voice_file_url”: “https://obligr.io/api_v2/frontend/web/media/recording/9900/202007311733429900921610003.mp3”,
“duration”: 20,
“date_created”: “2020-07-31 17:33:42”,
“add_by”: “panel”
}
]
}
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/delete_voice_file
				
			

Body Params

Key

Value

Description

voice_file_name

(string)

202106031234 3021502755157.mp3

REQUIRED

Insert Voice File

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/voice-call/delete_voice_file' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'voice_file_name=2021060312343021502755157.mp3'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/voice-call/delete_voice_file',
  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_file_name=2021060312343021502755157.mp3',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY]',
    'Content-Type: application/x-www-form-urlencoded'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/voice-call/delete_voice_file?api_key=[API_KEY]&voice_file_name=2021060312343021502755157.mp3
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/voice-call/delete_voice_file");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("voice_file_name", "2021060312343021502755157.mp3");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("obligr.io")
payload = 'voice_file_name=2021060312343021502755157.mp3'
headers = {
  'Authorization': 'Bearer gondLLx1DsosFxrlRXJz[API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/voice-call/delete_voice_file", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "voice_file_name=2021060312343021502755157.mp3");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/voice-call/delete_voice_file")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  'voice_file_name': '2021060312343021502755157.mp3' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/voice-call/delete_voice_file',
  headers: { 
    'Authorization': 'Bearer [API_KEY]', 
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/voice-call/delete_voice_file",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "voice_file_name": "2021060312343021502755157.mp3"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "success": true,
    "error": null,
    "data": "Voice File Successfully Deleted."
}
				
			
Edit Content
Edit Content
				
					https://obligr.io/api_v2/tfa/send
				
			

Body Params

Key

Value

Description

mobile_no

(string)

8109112303

REQUIRED

10 Digit Mobile Number.

type

(string)

sms

OPTIONAL

sms,voice_call or both Default is: SMS
if select 'both' then OTP verification
is from SMS as well Voice Call.

sender_id or header_name

(string)

sms

REQUIRED

Select from your active Header ID.

message

(string)

Your OTP Verification
Code is : ##OTP##

OPTIONAL

Type your custom message.put OTP code replace placeholder : ##OTP##.
Default is : Your OTP Verification Code is : ##OTP##
Here ##OTP## is replaced with auto-generate OTP.

dlt_template_id

(number)

OPTIONAL

19 Digit ID

dlt_pe_id

(number)

OPTIONAL

19 Digit ID

caller_id

(number)

9925028109

OPTIONAL

REQUIRED IF
use type is voice_call/both
10 Digit Mobile number.
Select from your active Caller ID.

email_id

(string)

REQUIRED

Email id

expire_time

(number)

180

OPTIONAL

Give value in minutes Default is : 180 (for 3 hours)

otp_length

(number)

6

OPTIONAL

Length of OTP number in (DIGIT) Default is : 6 Digit Min Value is : 4 , Max Value is : 12

is_unicode

(boolean)

OPTIONAL

Optional 1 or 0

voice_name

(string)

OPTIONAL

REQUIRED IF
use type is voice_call/both

				
					Voice Name     Language - Gender
Salli          en-US - Female
Joey           en-US - Male
Aditi          hi-IN - Female - 1
Raveena        hi-IN - Hindi Text Accepted
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/tfa/send' \
--header 'Authorization: Bearer [API_KEY] ' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'mobile_no=8109112303' \
--data-urlencode 'type=sms' \
--data-urlencode 'sender_id =' \
--data-urlencode 'message=Your OTP Verification Code is : ##OTP##' \
--data-urlencode 'dlt_template_id=0000061849448858474' \
--data-urlencode 'dlt_pe_id=0000012110524968835' \
--data-urlencode 'caller_id=9925028109' \
--data-urlencode 'expire_time=180' \
--data-urlencode 'otp_length=6' \
--data-urlencode 'is_unicode=0' \
--data-urlencode 'voice_name=Raveena'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://obligr.io/api_v2/tfa/send',
  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 => 'mobile_no=8109112303&type=sms&sender_id%20=&message%0A=Your%20OTP%20Verification%20Code%20is%20%3A%20%23%23OTP%23%23&dlt_template_id=0000061849491229519&dlt_pe_id=0000012110524968835&caller_id=9925028109&expire_time=180&otp_length=6&is_unicode=0&voice_name=Raveena',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer [API_KEY] ',
    'Content-Type: application/x-www-form-urlencoded'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/tfa/send?api_key=[API_KEY]&mobile_no=8109112303&type=sms&sender_id =[D_HEADER_ID}&message=Your OTP Verification Code is : %23%23OTP%23%23&dlt_template_id=0000061849491229519&dlt_pe_id=0000012110524968835&caller_id=9925028109&expire_time=180&otp_length=6&is_unicode=0&voice_name=Raveena&is_unicode=0
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/tfa/send");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "[API_KEY] ");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("mobile_no", "8109112303");
request.AddParameter("type", "sms");
request.AddParameter("sender_id ", "");
request.AddParameter("message", "Your OTP Verification Code is : ##OTP##");
request.AddParameter("dlt_template_id", "0000061849491229519");
request.AddParameter("dlt_pe_id", "0000012110524968835");
request.AddParameter("caller_id", "9925028109");
request.AddParameter("expire_time", "180");
request.AddParameter("otp_length", "6");
request.AddParameter("is_unicode", "0");
request.AddParameter("voice_name", "Raveena");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
conn = http.client.HTTPSConnection("https://obligr.io/api_v2/")
payload = 'mobile_no=8109112303&type=sms&sender_id%20=&message%0A=Your%20OTP%20Verification%20Code%20is%20%3A%20%23%23OTP%23%23&dlt_template_id=0000061849491229519&dlt_pe_id=0000012110524968835&caller_id=9925028109&expire_time=180&otp_length=6&is_unicode=0&voice_name=Raveena'
headers = {
  'Authorization': '[API_KEY] ',
  'Content-Type': 'application/x-www-form-urlencoded'
}
conn.request("POST", "/api_v2/tfa/send", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "mobile_no=8109112303&type=sms&sender_id =&message=Your OTP Verification Code is : ##OTP##&dlt_template_id=0000061849491229519&dlt_pe_id=0000012110524968835&caller_id=9925028109&expire_time=180&otp_length=6&is_unicode=0&voice_name=Raveena");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/tfa/send")
  .method("POST", body)
  .addHeader("Authorization", "[API_KEY] ")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
  'mobile_no': '8109112303',
  'type': 'sms',
  'sender_id ': '',
  'message\n': 'Your OTP Verification Code is : ##OTP##',
  'dlt_template_id': '0000061849491229519',
  'dlt_pe_id': '0000012110524968835',
  'caller_id': '9925028109',
  'expire_time': '180',
  'otp_length': '6',
  'is_unicode': '0',
  'voice_name': 'Raveena' 
});
var config = {
  method: 'post',
  url: ''https://obligr.io/api_v2/tfa/send',
  headers: { 
    'Authorization': '[API_KEY] ', 
    'Content-Type': 'application/x-www-form-urlencoded'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/tfa/send",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "[API_KEY] ",
    "Content-Type": "application/x-www-form-urlencoded"
  },
  "data": {
    "mobile_no": "8109112303",
    "type": "sms",
    "sender_id ": "",
    "message
": "Your OTP Verification Code is : ##OTP##",
    "dlt_template_id": "0000061849491229519",
    "dlt_pe_id": "0000012110524968835",
    "caller_id": "9925028109",
    "expire_time": "180",
    "otp_length": "6",
    "is_unicode": "0",
    "voice_name": "Raveena"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{ “success”: true,
“error”: null,
“data”: { “verify_key”: “HOElx46H”,
“mobile_no”: “8109112303”,
“message”: “OTP successfully sent.” } }
				
			
Edit Content
				
					https://obligr.io/api_v2https://obligr.io/api_v2/tfa/resend
				
			
Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/tfa/resend' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'mobile_no=0000038383' \
--data-urlencode 'verify_key=HOElx46H'
$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/tfa/resend",<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 => "mobile_no=0000038383&verify_key=HOElx46H",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer [API_KEY]",
"Content-Type: application/x-www-form-urlencoded",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/tfa/resend?api_key=[API_KEY]&mobile_no=8109112303&verify_key=HOElx46H
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/tfa/resend");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("mobile_no", "0000038383");
request.AddParameter("verify_key", "HOElx46H");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("https://obligr.io/api_v2/")
payload = 'mobile_no=0000038383&verify_key=HOElx46H'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/tfa/resend", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "mobile_no=0000038383&verify_key=HOElx46H");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/tfa/resend")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'mobile_no': '0000038383',
'verify_key': 'HOElx46H' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/tfa/resend',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/tfa/resend",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "mobile_no": "0000038383",
    "verify_key": "HOElx46H"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{ “success”: true,
“error”: null,
“data”: { “verify_key”: “HOElx46H”,
“mobile_no”: “8109112303”,
“message”: “OTP successfully ReSent.” } }
				
			
Edit Content
				
					https://obligr.io/api_v2/tfa/verify
				
			

Body Params

Key

Value

Description

mobile_no

(number)

0000038383

REQUIRED

10 digit mobile number

verify_key

(number)

HOElx46H

REQUIRED

otp

(string)

******

REQUIRED

Your 6 Digit OTP Code.

Edit Content
				
					curl --location --request POST 'https://obligr.io/api_v2/tfa/verify' \
--header 'Authorization: Bearer 
[API_KEY]' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: [COOKIES]' \
--data-urlencode 'mobile_no=0000038383' \
--data-urlencode 'verify_key=onhi8afh' \
--data-urlencode 'otp=013430'    
				
			
Edit Content
				
					<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://obligr.io/api_v2/tfa/verify",<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 => "mobile_no=0000038383&verify_key=onhi8afh&otp=013430",
CURLOPT_HTTPHEADER => array(
"Authorization: Bearer [API_KEY]A",
"Content-Type: application/x-www-form-urlencoded",
"Cookie: [COOKIES]"
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					https://obligr.io/api_v2/tfa/verify?api_key=[API_KEY]&mobile_no=0000038383&verify_key=onhi8afh&otp=013430
				
			
Edit Content
				
					var client = new RestClient("https://obligr.io/api_v2/tfa/verify");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer [API_KEY]");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("Cookie", "[COOKIES]");
request.AddParameter("mobile_no", "0000038383");
request.AddParameter("verify_key", "onhi8afh");
request.AddParameter("otp", "013430");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client
import mimetypes
conn = http.client.HTTPSConnection("obligr.io")
payload = 'mobile_no=0000038383&verify_key=onhi8afh&otp=013430'
headers = {
  'Authorization': 'Bearer [API_KEY]',
  'Content-Type': 'application/x-www-form-urlencoded',
  'Cookie': '[COOKIES]'
}
conn.request("POST", "/api_v2/tfa/verify", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "mobile_no=0000038383&verify_key=onhi8afh&otp=013430");
Request request = new Request.Builder()
  .url("https://obligr.io/api_v2/tfa/verify")
  .method("POST", body)
  .addHeader("Authorization", "Bearer [API_KEY]")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "[COOKIES]")
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
 'mobile_no': '0000038383',
'verify_key': 'onhi8afh',
'otp': '013430' 
});
var config = {
  method: 'post',
  url: 'https://obligr.io/api_v2/tfa/verify',
  headers: { 
    'Authorization': 'Bearer [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);
});
				
			
Edit Content
				
					var settings = {
  "url": "https://obligr.io/api_v2/tfa/verify",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer [API_KEY]",
    "Content-Type": "application/x-www-form-urlencoded",
    "Cookie": "[COOKIES]"
  },
  "data": {
    "mobile_no": "0000038383",
    "verify_key": "onhi8afh",
    "otp": "013430"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{ “success”: true, “error”: null, “data”: { “mobile_no”: “8225838383”, “message”: “OTP successfully Verified.” } }
				
			
Edit Content
Edit Content
				
					http://api.dmshop.in/wapp/api/send
				
			

Body Params

Key

Value

Description

apikey

(number)

[Own_WhatsApp_API_KEY]

REQUIRED

Get your API key from api.obligr.io

mobile

(number)

8109112303

REQUIRED

Please do not send messages in a loop or in bulk
{Whatsapp will block the number}

msg

(string)

This is a test msg from WhatsApp

REQUIRED

1500 Characters

img1

(string)

https://i.pcmag.com/imagery/lineups/
05OQSA4rlL7876eIsOPWHNV-
1.1569492718.fit_lim.size_768x432.jpg

OPTIONAL

Hosted URL
MAX 2 MB
JPG/JPEG/PNG ONLY

img2

(string)

https://storage.googleapis.com/gweb-
uniblog-publish-prod/images/
Blogpost_Hero_2880x1200_v2.max-
1000×1000.png

OPTIONAL

Hosted URL
MAX 2 MB
JPG/JPEG/PNG ONLY

img3

(string)

https://i.pcmag.com/imagery/lineups/
05OQSA4rlL7876eIsOPWHNV-
1.1569492718.fit_lim.size_768x432.jpg

OPTIONAL

Hosted URL
MAX 2 MB
JPG/JPEG/PNG ONLY

img4

(string)

https://storage.googleapis.com/gweb-
uniblog-publish-prod/images/Blogpost_Hero_
2880x1200_v2.max-1000×1000.png

OPTIONAL

Hosted URL
MAX 2 MB
JPG/JPEG/PNG ONLY

Edit Content
				
					curl --location --request GET 'api.dmshop.in/wapp/api/send?apikey=[Own_WhatsApp_API_KEY]&mobile=8109112303&msg=This is a test msg from WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf'
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'api.dmshop.in/wapp/api/send?apikey=[Own_WhatsApp_API_KEY]&mobile=8109112303&msg=This%20is%20a%20test%20msg%20from%20WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					api.dmshop.in/wapp/api/send?apikey=[Own_WhatsApp_API_KEY]&mobile=8109112303&msg=This is a test msg from WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf
				
			
Edit Content
				
					var client = new RestClient("api.dmshop.in/wapp/api/send?apikey=[Own_WhatsApp_API_KEY]&mobile=8109112303&msg=This is a test msg from WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("api.dmshop.in")
payload = ''
headers = {}
conn.request("GET", "/wapp/api/send?apikey=[Own_WhatsApp_API_KEY]&mobile=8109112303&msg=This%20is%20a%20test%20msg%20from%20WhatsApp&img1=https://i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("api.dmshop.in/wapp/api/send?apikey=[Own_WhatsApp_API_KEY]&mobile=8109112303&msg=This is a test msg from WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf")
  .method("GET", null)
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');

var config = {
  method: 'get',
  url: 'api.dmshop.in/wapp/api/send?apikey=[Own_WhatsApp_API_KEY]&mobile=8109112303&msg=This is a test msg from WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf',
  headers: { }
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "api.dmshop.in/wapp/api/send?apikey=[Own_WhatsApp_API_KEY]&mobile=8109112303&msg=This is a test msg from WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf",
  "method": "GET",
  "timeout": 0,
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "status": "success",
    "errormsg": "1 saved sucessfully",
    "statuscode": 200,
    "requestid": "6156db94ab54101908c4bb48",
    "msgcount": 1,
    "msgcost": 1
}
				
			
Edit Content
				
					whatsapp.dmshop.in/wapp/api/send
				
			

Body Params

Key

Value

Description

apikey

(number)

[Vir_WhatsApp_API_KEY]

REQUIRED

Get your API key from api.obligr.io

mobile

(number)

8109112303

REQUIRED

Please do not send messages in a loop or in bulk
{Whatsapp will block the number}

msg

(string)

This is a test msg from WhatsApp

REQUIRED

1500 Characters

img1

(string)

i.pcmag.com/imagery/lineups
/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg

OPTIONAL

Hosted URL
MAX 2 MB
JPG/JPEG/PNG ONLY

img2

(string)

storage.googleapis.com/gweb-
uniblog-publish-prod/images/Blogpost
_Hero_2880x1200_v2.max-1000×1000.png

OPTIONAL

Hosted URL
MAX 2 MB
JPG/JPEG/PNG ONLY

img3

(string)

i.pcmag.com/imagery/lineups/
05OQSA4rlL7876eIsOPWHNV-1.1569492718.
fit_lim.size_768x432.jpg

OPTIONAL

Hosted URL
MAX 2 MB
JPG/JPEG/PNG ONLY

img4

(string)

storage.googleapis.com/gweb-
uniblog-publish-prod/images/Blogpost_
Hero_2880x1200_v2.max-1000×1000.png

OPTIONAL

Hosted URL
MAX 2 MB
JPG/JPEG/PNG ONLY

pdf

(string)

www.africau.edu/images/
default/sample.pdf

OPTIONAL

Hosted PDF
MAX 2 MB
PDF ONLY

Edit Content
				
					curl --location --request GET 'whatsapp.dmshop.in/wapp/api/send?apikey=[Vir_WhatsApp_API_KEY]&mobile=8109112303&msg=This is a test msg from WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf
				
			
Edit Content
				
					<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'whatsapp.dmshop.in/wapp/api/send?apikey=[Vir_WhatsApp_API_KEY]&mobile=8109112303&msg=This%20is%20a%20test%20msg%20from%20WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			
Edit Content
				
					whatsapp.dmshop.in/wapp/api/send?apikey=[Vir_WhatsApp_API_KEY]&mobile=8109112303&msg=This is a test msg from WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf
				
			
Edit Content
				
					var client = new RestClient("whatsapp.dmshop.in/wapp/api/send?apikey=[Vir_WhatsApp_API_KEY]&mobile=8109112303&msg=This is a test msg from WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
				
			
Edit Content
				
					import http.client

conn = http.client.HTTPSConnection("whatsapp.dmshop.in")
payload = ''
headers = {}
conn.request("GET", "/wapp/api/send?apikey=[Vir_WhatsApp_API_KEY]&mobile=8109112303&msg=This%20is%20a%20test%20msg%20from%20WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
				
			
Edit Content
				
					OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("whatsapp.dmshop.in/wapp/api/send?apikey=[Vir_WhatsApp_API_KEY]&mobile=8109112303&msg=This is a test msg from WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf")
  .method("GET", null)
  .build();
Response response = client.newCall(request).execute();
				
			
Edit Content
				
					var axios = require('axios');

var config = {
  method: 'get',
  url: 'whatsapp.dmshop.in/wapp/api/send?apikey=[Vir_WhatsApp_API_KEY]&mobile=8109112303&msg=This is a test msg from WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf',
  headers: { }
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
				
			
Edit Content
				
					var settings = {
  "url": "whatsapp.dmshop.in/wapp/api/send?apikey=[Vir_WhatsApp_API_KEY]&mobile=8109112303&msg=This is a test msg from WhatsApp&img1=i.pcmag.com/imagery/lineups/05OQSA4rlL7876eIsOPWHNV-1.1569492718.fit_lim.size_768x432.jpg&img2=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img3=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&img4=storage.googleapis.com/gweb-uniblog-publish-prod/images/Blogpost_Hero_2880x1200_v2.max-1000x1000.png&pdf=www.africau.edu/images/default/sample.pdf",
  "method": "GET",
  "timeout": 0,
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
				
			
Edit Content
				
					{
    "status": "success",
    "errormsg": "1 saved sucessfully",
    "statuscode": 200,
    "requestid": "6156dcbb5434c54a7dba5e38",
    "msgcount": 1,
    "msgcost": 1
}
				
			

Email Marketing Marketing  Marketing 

Email Marketing

1. Email Template Designing

2. Bulk Email Sending

3. Dynamic Bulk Email Sending

4. Email Subscriber

5. Automated Email Marketing

6. Scheduled Email

7. Email Tracking

8. Create Form

9. Manage Report

@4999₹