curl --request POST \
--url https://api.politicalcomms.com/v1/email/campaigns/{id}/resume \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"resume_at": "2026-11-14T14:00:00Z"
}
'import requests
url = "https://api.politicalcomms.com/v1/email/campaigns/{id}/resume"
payload = { "resume_at": "2026-11-14T14:00:00Z" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({resume_at: '2026-11-14T14:00:00Z'})
};
fetch('https://api.politicalcomms.com/v1/email/campaigns/{id}/resume', 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/email/campaigns/{id}/resume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'resume_at' => '2026-11-14T14:00:00Z'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.politicalcomms.com/v1/email/campaigns/{id}/resume"
payload := strings.NewReader("{\n \"resume_at\": \"2026-11-14T14:00:00Z\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.politicalcomms.com/v1/email/campaigns/{id}/resume")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"resume_at\": \"2026-11-14T14:00:00Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.politicalcomms.com/v1/email/campaigns/{id}/resume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"resume_at\": \"2026-11-14T14:00:00Z\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "draft",
"sender_identity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "broadcast",
"trigger": {
"source": "api",
"start": "immediate",
"delay_minutes": 0
},
"list_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"suppression_list_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"tracking_domain_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tracking_domain": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"status": "<string>"
},
"require_approval": true,
"approval_status": "not_required",
"last_tested_at": "2023-11-07T05:31:56Z",
"refcode": "<string>",
"source_code": "<string>",
"scheduled_at": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"sequence_send_time": "<string>",
"sequence_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sequence_position": 123,
"stop_on_reply": true,
"stop_on_click": true,
"audience_count": 123,
"counts": {
"queued": 123,
"sent": 123,
"delivered": 123,
"bounced": 123,
"complained": 123,
"unsubscribed": 123,
"opened": 123,
"clicked": 123,
"replied": 123,
"failed": 123
},
"pause_reason": "<string>",
"resume_at": "2023-11-07T05:31:56Z",
"blocked": [
{
"code": "<string>",
"message": "<string>"
}
],
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"require_tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"suppression_tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
}Resume Campaign
Resume a paused campaign, whatever the reason it was paused. With no resume_at, or one within the next minute, it resumes now and returns to the status it was paused from: sending, scheduled if it was paused while scheduled, or compiling if it was compiling or its lists changed during the pause. pause_reason becomes null. With a resume_at more than a minute ahead, the campaign stays paused with its reason unchanged and resume_at set, and resumes on its own at that time; a later POST /email/campaigns/{id}/pause cancels the plan. A resume_at more than a minute in the past, a bare date, or any other body field returns 400 VALIDATION_ERROR.
Resume sends mail, so it checks sending controls and returns 409 SENDING_PAUSED when sending is suspended for the organization or platform. If the campaign is already scheduled, compiling or sending, it returns 200 with the current state and changes nothing, so a retried resume is safe. Any other status (draft, awaiting_test, awaiting_approval, ready, completed) returns 409 CONFLICT. If the content was edited during the pause and not tested since, it returns 409 EMAIL_CAMPAIGN_TEST_REQUIRED: send a test of what will now go out from the dashboard, then resume.
Which pauses wait for you: api, manual (set in the dashboard) and provider_refused stay paused until someone resumes. insufficient_balance, insufficient_funds_ancestor, sender_inactive, no_content, tenant_paused and gmail_spam_rate resume on their own once the cause clears; resuming one by hand is allowed but not required. Resume clears any reason, and if the cause still holds the platform pauses the campaign again: insufficient_balance, insufficient_funds_ancestor, sender_inactive and no_content at the next batch; tenant_paused when the provider refuses the next batch; provider_refused after one more refused batch (the refusal count is kept through the pause); gmail_spam_rate at the next daily reading above the threshold.
In a sequence, resuming an email releases the follow-ups held behind it. A triggered campaign takes recipients again once resumed.
curl --request POST \
--url https://api.politicalcomms.com/v1/email/campaigns/{id}/resume \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"resume_at": "2026-11-14T14:00:00Z"
}
'import requests
url = "https://api.politicalcomms.com/v1/email/campaigns/{id}/resume"
payload = { "resume_at": "2026-11-14T14:00:00Z" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({resume_at: '2026-11-14T14:00:00Z'})
};
fetch('https://api.politicalcomms.com/v1/email/campaigns/{id}/resume', 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/email/campaigns/{id}/resume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'resume_at' => '2026-11-14T14:00:00Z'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.politicalcomms.com/v1/email/campaigns/{id}/resume"
payload := strings.NewReader("{\n \"resume_at\": \"2026-11-14T14:00:00Z\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.politicalcomms.com/v1/email/campaigns/{id}/resume")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"resume_at\": \"2026-11-14T14:00:00Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.politicalcomms.com/v1/email/campaigns/{id}/resume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"resume_at\": \"2026-11-14T14:00:00Z\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "draft",
"sender_identity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "broadcast",
"trigger": {
"source": "api",
"start": "immediate",
"delay_minutes": 0
},
"list_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"suppression_list_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"tracking_domain_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tracking_domain": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"status": "<string>"
},
"require_approval": true,
"approval_status": "not_required",
"last_tested_at": "2023-11-07T05:31:56Z",
"refcode": "<string>",
"source_code": "<string>",
"scheduled_at": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"sequence_send_time": "<string>",
"sequence_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sequence_position": 123,
"stop_on_reply": true,
"stop_on_click": true,
"audience_count": 123,
"counts": {
"queued": 123,
"sent": 123,
"delivered": 123,
"bounced": 123,
"complained": 123,
"unsubscribed": 123,
"opened": 123,
"clicked": 123,
"replied": 123,
"failed": 123
},
"pause_reason": "<string>",
"resume_at": "2023-11-07T05:31:56Z",
"blocked": [
{
"code": "<string>",
"message": "<string>"
}
],
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"require_tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"suppression_tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
}Authorizations
Authenticate every request by passing your API key in the X-API-Key header. Keys are scoped to your organization hierarchy. A key carries up to three permissions: public:read for GET requests, public:write for POST, PATCH, and PUT requests, and public:delete for DELETE requests. public:delete is only available together with public:write.
Headers
Optional idempotency key: a unique string of 16-200 printable ASCII characters (a UUID is recommended). Retrying the write with the same key within 24 hours returns the stored response of the first call with an X-Idempotent-Replayed: true response header instead of executing it again. Reusing a key with a different request body returns 422 (IDEMPOTENCY_MISMATCH); a duplicate sent while the first call is still running returns 409 with a Retry-After header. Keys are scoped per endpoint and organization.
16 - 200