This API allows you to fetch bulk campaign details with sorting and searching capabilities. 

GET

https://<your_api_key>:<your_api_token><subdomain>/v2/accounts/<your_sid>/sms-campaigns

Replace <your_api_key> and <your_api_token> with the API key and token created by you. Similarly, replace <your_sid> with your “Account sid” value. These values are available in the API settings page of your Exotel Dashboard. Replace <id> with the campaign id.

The following are the Query parameters:

Parameter Name   Mandatory/Optional Value

offset

Optional

This is the position in the dataset of a particular record. By specifying offset, you retrieve a subset of records starting with the offset value. Offset is zero-based i.e. the 10th record is at offset 9

limit

Optional

number of records on single page default:20 maximum=50

name

Optional

Search by campaign name. Min 3 letters. (like %xxx%)

status

Optional

This will respect given statuses. By default all records will be populated of all status. However, you can filter on set of status too. eg, status=in-progress, scheduled etc.

sort_by

Optional

This indicates in what order the campaign records are sorted in the API response. By default records are sorted by ScheduleTime in descending order. However, you can override the same in following way for ascending order: Eg: schedule.start_time:asc, name:asc, name:desc (alphabetical order A-z, Z-A)

curl https://<your_api_key>:<your_api_token><subdomain>/v2/accounts/<your_sid>/sms-campaigns?offset=0&status=Created,Completed&limit=3
var request = require("request");
var accountSid = "XXXXXXXXX";
var accountToken = "YYYYYYYYY";
var authKey = "ZZZZZZZZZZ";

var encoding = Buffer.from(authKey + ':' + accountToken).toString('base64')
var options = { method: 'GET',
  url: 'https://api.exotel.com/v2/accounts/'+ accountSid +'/sms-campaigns?offset=0&status=Created,Completed&limit=3',
  headers: 
   { 
     Authorization: 'Basic ' + encoding 
    } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
  
});
<?php
$curl = curl_init();
$accountSid = "XXXXXXXXXX";
$accountToken = "YYYYYYYYYY";
$authKey = "ZZZZZZZZZZ";

$encoding = base64_encode($authKey .":". $accountToken);
curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.exotel.com/v2/accounts/".$accountSid."/sms-campaigns?offset=0&status=Created,Completed&limit=3",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_POSTFIELDS => "",
  CURLOPT_HTTPHEADER => array(
    "Authorization: Basic ".$encoding
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);
if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
import requests, base64, json
accountSid = "XXXXXXXXX"
authToken = "YYYYYYYYY"
authKey = "ZZZZZZZZZZ"

encoding = base64.b64encode(authKey + ":" + authToken)

url = "https://api.exotel.com/v2/accounts/"+ accountSid +"/sms-campaigns?offset=0&status=Created,Completed&limit=3"

payload = ""
headers = {
    'Authorization': "Basic " + encoding
    }

response = requests.request("DELETE", url, data=payload, headers=headers)
print(response.text)
print(json.dumps(json.loads(response.text), indent = 4, sort_keys = True))
package main

import (
b64 "encoding/base64"
"fmt"
"io/ioutil"
"net/http"
)

func main() {

// Please provide accountSid, authToken from your Exotel account
accountSid := "XXXXXXXXX"
authToken := "YYYYYYYY"
authKey := "ZZZZZZZZZZ"

// Encoding the accountSid and authToken, used in Authorization header
encoding := b64.StdEncoding.EncodeToString([]byte(authKey + ":" + authToken))

url := "https://api.exotel.com/v2/accounts/" + accountSid + "/sms-campaigns?offset=0&status=Created,Completed&limit=3"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Basic "+encoding)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)

fmt.Println(res)
fmt.Println(string(body))
}
{

"request_id": "00ecb599425049c69fddf1834921170f",

"method": "GET",

"http_code": 200,

"metadata": {

"count": 20,

"offset": 0,

"total": 108,

"limit": 20

},

"response": [

{

"code": 200,

"status": "success",

"data": {

"name": "new camp1",

"content_type": "static",

"sid": "32c7cf34110c4d249467521660152765",

"account_sid": "Exotel",

"lists": [

"f2284e77ea5a4224911251b08f861af2"

],

"schedule": {

"start_time": "2022-08-10T23:12:00+05:30",

"end_time": "2022-09-09T23:12:00+05:30"

},

"status_callback": null,

"sms_status_callback": "https://www.test-campaign.com",

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1660170889/d62165f646574cb8a01fc9ce59d0ada7.csv",

"dlt_template_id": "1107159950325048979",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "Hi user,Thank you for registering; Your account has been activated",

"estimated_cost": 0.17,

"date_created": "2022-08-10T23:02:46+05:30",

"date_updated": "2022-08-11T10:09:58+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 1,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 0,

"failed-expired": 0,

"failed-no-balance": 0

},

}

},

{

"code": 200,

"status": "success",

"data": {

"name": "camp1",

"content_type": "static",

"sid": "90dad70b939f469fbf8b801660148272",

"account_sid": "Exotel",

"lists": [

"f2284e77ea5a4224911251b08f861af2"

],

"schedule": {

"start_time": "2022-08-10T21:57:00+05:30",

"end_time": "2022-09-09T21:57:00+05:30"

},

"status_callback": null,

"sms_status_callback": "https://www.test-campaign.com",

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1660170935/8220cbfd56b04f3db7d885316158fc1f.csv",

"dlt_template_id": "1107160016142600511",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "12345 is your One Time Password (OTP) for logging into Exotel dashboard.",

"estimated_cost": 0.17,

"date_created": "2022-08-10T21:47:52+05:30",

"date_updated": "2022-08-11T10:09:43+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 1,

"failed-expired": 0,

"failed-no-balance": 0

},


}

}

},

{

"code": 200,

"status": "success",

"data": {

"name": "tt-1-con",

"content_type": "static",

"sid": "2a6014856e0a4c3096a86d1660024901",

"account_sid": "Exotel",

"lists": [

"8291af18bc52494192510a2f6367ba4d"

],

"schedule": {

"start_time": "2022-08-09T11:41:00+05:30",

"end_time": "2022-08-10T00:00:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1660007688/dc4c1745dd6642f096b8af2c3431a89e.csv",

"dlt_template_id": "1107161882363538670",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "அன்பே KunalKeshri, இது எக்சோடெல் வழியாக ஒரு சோதனை எஸ்.எம்.எஸ்",

"estimated_cost": 0.17,

"date_created": "2022-08-09T11:31:41+05:30",

"date_updated": "2022-08-09T12:50:55+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 1,

"failed-expired": 0,

"failed-no-balance": 0

},


}

},

{

"code": 200,

"status": "success",

"data": {

"name": "tt-1-contacts",

"content_type": "static",

"sid": "3a8e3328e4304b64a2c6551659971290",

"account_sid": "Exotel",

"lists": [

"48f932ff2cd1464b9a6fececbead5cb9"

],

"schedule": {

"start_time": "2022-08-08T20:48:00+05:30",

"end_time": "2022-08-09T00:00:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1659956496/a91361da70b0462e91dd99b649122d2f.csv",

"dlt_template_id": "1107161882363538670",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "அன்பே kunalkk, இது எக்சோடெல் வழியாக ஒரு சோதனை எஸ்.எம்.எஸ்",

"estimated_cost": 0.17,

"date_created": "2022-08-08T20:38:11+05:30",

"date_updated": "2022-08-08T22:32:43+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 1,

"failed-no-attempt": 0,

"sent": 0,

"failed-expired": 0,

"failed-no-balance": 0

},


}

},

{

"code": 200,

"status": "success",

"data": {

"name": "new camp",

"content_type": "static",

"sid": "8c7383b9797443249d24781659939528",

"account_sid": "Exotel",

"lists": [

"f2284e77ea5a4224911251b08f861af2"

],

"schedule": {

"start_time": "2022-08-08T11:58:00+05:30",

"end_time": "2022-09-07T11:58:00+05:30"

},

"status_callback": "https://www.xyz.com",

"sms_status_callback": "https://www.test-campaign.com",

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1659951676/96435322bf1c4f768cbf4ad9a89dc260.csv",

"dlt_template_id": "1107159950325048979",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "Hi Farhan,Thank you for registering; Your account has been activated",

"estimated_cost": 0.17,

"date_created": "2022-08-08T11:48:48+05:30",

"date_updated": "2022-08-08T21:14:25+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 1,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 0,

"failed-expired": 0,

"failed-no-balance": 0

},


}

},

{

"code": 200,

"status": "success",

"data": {

"name": "Demo_Furlunco",

"content_type": "static",

"sid": "8c15e6db017d4ed5af2c0e1659696039",

"account_sid": "Exotel",

"lists": [

"88f0664972e34d55b1c6d1f778e0e7b1"

],

"schedule": {

"start_time": "2022-08-05T16:20:00+05:30",

"end_time": "2022-09-04T16:20:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1659678797/4406f65c1810488888bcda18804dca1a.csv",

"dlt_template_id": "1107159950276888376",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "Hi, my name is Partha and I'm your account manager at Exotel. I saw that you signed up for a trial account and wanted to have a quick chat about it. You can also reach me on 08033013302 or give miss call or Email to sales@exotel.in. Have a great day.",

"estimated_cost": 0.66,

"date_created": "2022-08-05T16:10:39+05:30",

"date_updated": "2022-08-05T17:24:55+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 1,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 1,

"failed-expired": 0,

"failed-no-balance": 0

},

}

},

{

"code": 200,

"status": "success",

"data": {

"name": "tttkk",

"content_type": "dynamic",

"sid": "e48d9c899b5c4eceb4f7901659678685",

"account_sid": "Exotel",

"lists": [

"d20fcf7fc742411b9f4cb68784714f5e"

],

"schedule": {

"start_time": "2022-08-05T11:31:00+05:30",

"end_time": "2022-08-06T00:02:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "archived",

"state": "prepared",

"report_url": null,

"dlt_template_id": "1107165581344758868",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "Hi @@First_name, your number @@number is now turned @@First_name. -Exotel",

"estimated_cost": 0.33,

"date_created": "2022-08-05T11:21:25+05:30",

"date_updated": "2022-08-05T11:22:12+05:30",

"stats": {

"scheduled": 2,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 0,

"failed-expired": 0,

"failed-no-balance": 0

},


}

},

{

"code": 200,

"status": "success",

"data": {

"name": "test-kkesh",

"content_type": "dynamic",

"sid": "ac84365d7cdd450eba750a1659549795",

"account_sid": "Exotel",

"lists": [

"6c6c1bbdc3174e90948e8c7406d151c8"

],

"schedule": {

"start_time": "2022-08-03T23:49:00+05:30",

"end_time": "2022-08-05T00:12:00+05:30"

},

"status_callback": "https://webhook.site/9e1fa95d-760e-4f60-bbf6-78f9df6850a0",

"sms_status_callback": "https://webhook.site/9e1fa95d-760e-4f60-bbf6-78f9df6850a0",

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1659532994/0a0dd441cb774317a98df4b570230729.csv",

"dlt_template_id": "1107161882363538670",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "அன்பே @@First_name@@Amount, இது எக்சோடெல் வழியாக ஒரு சோதனை எஸ்.எம்.எஸ்",

"estimated_cost": 0.33,

"date_created": "2022-08-03T23:33:15+05:30",

"date_updated": "2022-08-04T00:58:23+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 2,

"failed-expired": 0,

"failed-no-balance": 0

},


}

},

{

"code": 200,

"status": "success",

"data": {

"name": "test-kkesh",

"content_type": "dynamic",

"sid": "982c6a07cd014eaf85e9371659549581",

"account_sid": "Exotel",

"lists": [

"6c6c1bbdc3174e90948e8c7406d151c8"

],

"schedule": {

"start_time": "2022-08-03T23:39:00+05:30",

"end_time": "2022-08-05T00:12:00+05:30"

},

"status_callback": "https://webhook.site/9e1fa95d-760e-4f60-bbf6-78f9df6850a0",

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1659532362/28d2dba0a1974afbb00c73beb64e1083.csv",

"dlt_template_id": "1107161882363538670",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "அன்பே @@First_name@@Amount, இது எக்சோடெல் வழியாக ஒரு சோதனை எஸ்.எம்.எஸ்",

"estimated_cost": 0.33,

"date_created": "2022-08-03T23:29:42+05:30",

"date_updated": "2022-08-04T00:47:20+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 2,

"failed-expired": 0,

"failed-no-balance": 0

},


}

},

{

"code": 200,

"status": "success",

"data": {

"name": "new camp",

"content_type": "static",

"sid": "f070d0e331794829b373021659434769",

"account_sid": "Exotel",

"lists": [

"f2284e77ea5a4224911251b08f861af2"

],

"schedule": {

"start_time": "2022-08-02T15:46:00+05:30",

"end_time": "2022-09-01T15:46:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1659658293/245d2716ed0b48328cfc01197228ea8a.csv",

"dlt_template_id": "1107159950325048979",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "Hi user,Thank you for registering; Your account has been activated",

"estimated_cost": 0.17,

"date_created": "2022-08-02T15:36:09+05:30",

"date_updated": "2022-08-05T11:45:13+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 1,

"sent": 0,

"failed-expired": 0,

"failed-no-balance": 0

},


}

},

{

"code": 200,

"status": "success",

"data": {

"name": "Test_Demo",

"content_type": "dynamic",

"sid": "49f5d66c2f7742d78e6dbc1659095370",

"account_sid": "Exotel",

"lists": [

"14362f5dfdc54f45bb92fe3d0c112d3c"

],

"schedule": {

"start_time": "2022-07-29T17:29:00+05:30",

"end_time": "2022-08-28T17:29:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1659078150/7031d55b7f844af8b671ea67061ffff5.csv",

"dlt_template_id": "1107160188990359627",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOSMS",

"sms_type": "transactional",

"template": "This is a test message being sent using Exotel with a (@@Name) and (@@number). If this is being abused, report to 08088919888 - Powered by Exotel",

"estimated_cost": 0.33,

"date_created": "2022-07-29T17:19:30+05:30",

"date_updated": "2022-07-29T18:33:09+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 2,

"failed-expired": 0,

"failed-no-balance": 0

},


}

},

{

"code": 200,

"status": "success",

"data": {

"name": "testing ak9322",

"content_type": "dynamic",

"sid": "81b69a02d4af4b81a78dae1657826990",

"account_sid": "Exotel",

"lists": [

"c6a5c838e2714d8596f110efaeeb9e64"

],

"schedule": {

"start_time": "2022-07-15T01:09:00+05:30",

"end_time": "2022-07-15T03:09:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1657809800/a4450833ab9d4caa89074953fc68668a.csv",

"dlt_template_id": "1107160086235010042",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "Hey @@first_name, The @@company_name campaign @@last_name that's scheduled to run on @@company_name has started",

"estimated_cost": 0,

"date_created": "2022-07-15T00:59:50+05:30",

"date_updated": "2022-07-15T02:10:57+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 1,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 0,

"failed-expired": 0,

"failed-no-balance": 0

},


}

},

{

"code": 200,

"status": "success",

"data": {

"name": "testing ak932",

"content_type": "dynamic",

"sid": "7e10f52bca2c4b71aeb1af1657825869",

"account_sid": "Exotel",

"lists": [

"c0c5e4b68bad4d1983c8ea626eba1d2a"

],

"schedule": {

"start_time": "2022-07-15T00:52:00+05:30",

"end_time": "2022-07-15T03:05:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1657808723/2f3bc30f0c32467b9e0bb9abb0c76ac0.csv",

"dlt_template_id": "1107159950325048979",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOSMS",

"sms_type": "transactional",

"template": "Hi @@number,Thank you for registering; Your account has been activated",

"estimated_cost": 0,

"date_created": "2022-07-15T00:41:10+05:30",

"date_updated": "2022-07-15T01:53:58+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 1,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 0,

"failed-expired": 0,

"failed-no-balance": 0

},

}

},

{

"code": 200,

"status": "success",

"data": {

"name": "Demo_dunzo",

"content_type": "dynamic",

"sid": "ad8d46ed5dae460ab7e57f1657790121",

"account_sid": "Exotel",

"lists": [

"1bdaeeed4f9f44808736f76011707519"

],

"schedule": {

"start_time": "2022-07-14T14:55:00+05:30",

"end_time": "2022-08-13T14:55:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1657777189/43374033fc684067b067cdb7fe376cf0.csv",

"dlt_template_id": "1107159950276888376",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "Hi, my name is @@First_name and I'm your account manager at Exotel. I saw that you signed up for a trial account and wanted to have a quick chat about it. You can also reach me on 08033013302 or give miss call or Email to sales@exotel.in. Have a great day.",

"estimated_cost": 0.66,

"date_created": "2022-07-14T14:45:22+05:30",

"date_updated": "2022-07-14T17:09:26+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 2,

"failed-expired": 0,

"failed-no-balance": 0

},


}

},

{

"code": 200,

"status": "success",

"data": {

"name": "vishal dynamic test",

"content_type": "dynamic",

"sid": "da8d32e69e8a4ea081db2f1657356640",

"account_sid": "Exotel",

"lists": [

"db8510ff3e2347b6ae79b4494ab8e6ec"

],

"schedule": {

"start_time": "2022-07-09T14:35:00+05:30",

"end_time": "2022-08-08T14:35:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1657339689/e7dbabd747b747e78187ba82f5115d72.csv",

"dlt_template_id": "1107159950325048979",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "Hi @@first_name,Thank you for registering; Your account has been activated",

"estimated_cost": 0.17,

"date_created": "2022-07-09T14:20:40+05:30",

"date_updated": "2022-07-09T15:37:16+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 1,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 0,

"failed-expired": 0,

"failed-no-balance": 0

},

}

},

{

"code": 200,

"status": "success",

"data": {

"name": "new camp",

"content_type": "static",

"sid": "a84c43446c7245618e2e181655830734",

"account_sid": "Exotel",

"lists": [

"088d92cb349844008fcb97cdf5a52cb7"

],

"schedule": {

"start_time": "2022-06-21T22:43:00+05:30",

"end_time": "2022-07-21T22:43:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1655813757/9d11db000a0a45979b251149ba935683.csv",

"dlt_template_id": "1107165530031626914",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "Your OTP for Exotel is abc. Register for a free trial account on xyz. Immediately report to 08088919888 for any misuse complaints -Exotel.",

"estimated_cost": 0.33,

"date_created": "2022-06-21T22:28:54+05:30",

"date_updated": "2022-06-21T23:40:34+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 2,

"failed-expired": 0,

"failed-no-balance": 0

},

}

},

{

"code": 200,

"status": "success",

"data": {

"name": "new camp",

"content_type": "static",

"sid": "fec62cff05ac444aa768831655804093",

"account_sid": "Exotel",

"lists": [

"088d92cb349844008fcb97cdf5a52cb7"

],

"schedule": {

"start_time": "2022-06-21T15:14:00+05:30",

"end_time": "2022-07-21T15:14:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1655786863/70b376fc4c894cac8a230bcfddc137dc.csv",

"dlt_template_id": "1107161882389930061",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional_opt_in",

"template": "नमस्कार abcxyz, this is a test SMS from Exotel",

"estimated_cost": 0.03,

"date_created": "2022-06-21T15:04:53+05:30",

"date_updated": "2022-06-21T16:10:52+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 2,

"failed-expired": 0,

"failed-no-balance": 0

},

}

},

{

"code": 200,

"status": "success",

"data": {

"name": "test1243",

"content_type": "dynamic",

"sid": "0d5dcefb53c145849006a61655297957",

"account_sid": "Exotel",

"lists": [

"3b75e0d36e0a4165b6fbaff535939e8a"

],

"schedule": {

"start_time": "2022-06-15T18:44:00+05:30",

"end_time": "2022-07-15T18:44:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "completed",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1655281126/8367e46dc2d5495c942f2276fda6074c.csv",

"dlt_template_id": "1107160086556452462",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "Thanks for signing up for an Exotel Trial Account. Your verification code is @@number.\n \n \n \n If you did not signup with Exotel, let us know by giving a missed call to 080-67683910.",

"estimated_cost": 0.33,

"date_created": "2022-06-15T18:29:18+05:30",

"date_updated": "2022-06-15T19:42:23+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 1,

"failed-expired": 0,

"failed-no-balance": 0

},


}

},

{

"code": 200,

"status": "success",

"data": {

"name": "TYrt",

"content_type": "static",

"sid": "8c0840bf9bd04baea2690a1655285272",

"account_sid": "Exotel",

"lists": [

"d370df24f3af4da5b3a4cd7144fe9193"

],

"schedule": {

"start_time": "2022-06-15T15:12:00+05:30",

"end_time": "2022-07-15T15:12:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "archived",

"state": "prepared",

"report_url": null,

"dlt_template_id": "1107159950325048979",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "Hi Test,Thank you for registering; Your account has been activated",

"estimated_cost": 6.77,

"date_created": "2022-06-15T14:57:52+05:30",

"date_updated": "2022-06-15T14:58:13+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 0,

"failed-expired": 0,

"failed-no-balance": 0

},


}

},

{

"code": 200,

"status": "success",

"data": {

"name": "Demo_CF",

"content_type": "dynamic",

"sid": "689abbd91a1649f3975fad1655283641",

"account_sid": "Exotel",

"lists": [

"754d8466996f4fbea062dd77510b3646"

],

"schedule": {

"start_time": "2022-06-15T14:45:00+05:30",

"end_time": "2022-07-15T14:45:00+05:30"

},

"status_callback": null,

"sms_status_callback": null,

"status": "archived",

"state": "list-completed",

"report_url": "https://exotelreports.s3.ap-southeast-1.amazonaws.com/sms-campaign-report/account_sid=Exotel/_timestamp=1655266755/80026cac5b41421da162ef91b23fc128.csv",

"dlt_template_id": "1107159950276888376",

"dlt_entitiy_id": "1101428740000012125",

"sender_id": "EXOTEL",

"sms_type": "transactional",

"template": "Hi, my name is @@Name and I'm your account manager at Exotel. I saw that you signed up for a trial account and wanted to have a quick chat about it. You can also reach me on 08033013302 or give miss call or Email to sales@exotel.in. Have a great day.",

"estimated_cost": 0.83,

"date_created": "2022-06-15T14:30:41+05:30",

"date_updated": "2022-06-20T17:18:20+05:30",

"stats": {

"scheduled": 0,

"submitted": 0,

"failed": 0,

"failed-dnd": 0,

"invalid": 0,

"failed-no-attempt": 0,

"sent": 3,

"failed-expired": 0,

"failed-no-balance": 0

},

}

}

]

}