Get Campaign Throughput
curl --request GET \
--url https://api.politicalcomms.com/v1/campaigns/{id}/throughput \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.politicalcomms.com/v1/campaigns/{id}/throughput"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.politicalcomms.com/v1/campaigns/{id}/throughput', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.politicalcomms.com/v1/campaigns/{id}/throughput",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.politicalcomms.com/v1/campaigns/{id}/throughput"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.politicalcomms.com/v1/campaigns/{id}/throughput")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.politicalcomms.com/v1/campaigns/{id}/throughput")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"campaign_id": "4b8fa3c1-6d25-4e9a-bf47-8c2e5d9a3f71",
"brand_id": "7c1de5f0-9a42-4b6d-8e33-2f5a9c7b1e64",
"carrier_metered": true,
"t_mobile": {
"daily_cap": 10000,
"used_today": 7250,
"remaining_today": 2750,
"pacific_day": "2026-09-28"
},
"att": {
"sms_tpm": 4500,
"mms_tpm": 1200
}
}
}10DLC Campaigns
Get Campaign Throughput
Carrier sending limits for a campaign’s brand and how much of today’s T-Mobile daily cap is used. The two carrier lanes are independent: t_mobile is present only once a T-Mobile daily cap has synced for the campaign, and att only for Aegis-vetted (non-political) brands with a known AT&T tier. Use it before scheduling to see how much room is left. Returns 404 NOT_FOUND when the campaign is outside the key’s scope. See Carrier throughput limits.
GET
/
campaigns
/
{id}
/
throughput
Get Campaign Throughput
curl --request GET \
--url https://api.politicalcomms.com/v1/campaigns/{id}/throughput \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.politicalcomms.com/v1/campaigns/{id}/throughput"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.politicalcomms.com/v1/campaigns/{id}/throughput', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.politicalcomms.com/v1/campaigns/{id}/throughput",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.politicalcomms.com/v1/campaigns/{id}/throughput"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.politicalcomms.com/v1/campaigns/{id}/throughput")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.politicalcomms.com/v1/campaigns/{id}/throughput")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"campaign_id": "4b8fa3c1-6d25-4e9a-bf47-8c2e5d9a3f71",
"brand_id": "7c1de5f0-9a42-4b6d-8e33-2f5a9c7b1e64",
"carrier_metered": true,
"t_mobile": {
"daily_cap": 10000,
"used_today": 7250,
"remaining_today": 2750,
"pacific_day": "2026-09-28"
},
"att": {
"sms_tpm": 4500,
"mms_tpm": 1200
}
}
}Authorizations
Authenticate every request by passing your API key in the X-API-Key header. Keys are scoped to your organization hierarchy.
Path Parameters
Resource ID
