List Projects
curl --request GET \
--url https://api.politicalcomms.com/v1/projects \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.politicalcomms.com/v1/projects"
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/projects', 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/projects",
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/projects"
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/projects")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.politicalcomms.com/v1/projects")
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": [
{
"id": "8a3f5c7e-2d91-4b64-ae08-6f1c9d3e7b52",
"name": "July GOTV Blast",
"type": "broadcast",
"status": "completed",
"channel": "10dlc",
"campaign_id": "4b8fa3c1-6d25-4e9a-bf47-8c2e5d9a3f71",
"campaign_name": "Fall 2025 GOTV",
"brand_id": "7c1de5f0-9a42-4b6d-8e33-2f5a9c7b1e64",
"brand_name": "Smith PAC",
"toll_free_verification_id": null,
"contact_list_ids": [
"3f7a9c1e-8b24-4d6f-a2e5-9c7b3f1a8d42"
],
"org_id": "0d9f6a2e-1b34-4c8e-9f21-3e7a8b5c4d10",
"org_name": "Smith Campaign 2024",
"message_text": "Hi {{first_name}}, election day is coming up!",
"created_at": "2025-07-01T14:00:00.000Z"
}
]
}Projects
List Projects
List all projects (broadcast and survey). Filter by organization, brand, campaign, or project type.
GET
/
projects
List Projects
curl --request GET \
--url https://api.politicalcomms.com/v1/projects \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.politicalcomms.com/v1/projects"
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/projects', 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/projects",
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/projects"
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/projects")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.politicalcomms.com/v1/projects")
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": [
{
"id": "8a3f5c7e-2d91-4b64-ae08-6f1c9d3e7b52",
"name": "July GOTV Blast",
"type": "broadcast",
"status": "completed",
"channel": "10dlc",
"campaign_id": "4b8fa3c1-6d25-4e9a-bf47-8c2e5d9a3f71",
"campaign_name": "Fall 2025 GOTV",
"brand_id": "7c1de5f0-9a42-4b6d-8e33-2f5a9c7b1e64",
"brand_name": "Smith PAC",
"toll_free_verification_id": null,
"contact_list_ids": [
"3f7a9c1e-8b24-4d6f-a2e5-9c7b3f1a8d42"
],
"org_id": "0d9f6a2e-1b34-4c8e-9f21-3e7a8b5c4d10",
"org_name": "Smith Campaign 2024",
"message_text": "Hi {{first_name}}, election day is coming up!",
"created_at": "2025-07-01T14:00:00.000Z"
}
]
}Authorizations
Authenticate every request by passing your API key in the X-API-Key header. Keys are scoped to your organization hierarchy.
Query Parameters
Filter to a specific descendant organization
Filter to a specific brand
Filter to a specific campaign
Filter by project type.
Available options:
broadcast, survey Filter by archive state: true returns only archived projects, false excludes them. Omitted returns all projects regardless of archive state.
Available options:
true, false ⌘I
