List Campaigns
List the outreach campaigns that the calling key can access, with optional filters by domain, status or your own external_id.
curl --request GET \
--url 'https://api.aiclicks.io/api/v1/outreach/campaigns?status=launched&page=1&size=50' \
--header 'Authorization: Bearer ak_live_xxx'
import httpx, os
resp = httpx.get(
"https://api.aiclicks.io/api/v1/outreach/campaigns",
headers={"Authorization": f"Bearer {os.environ['AICLICKS_API_KEY']}"},
params={"external_id": "client_4821"},
)
resp.raise_for_status()
for campaign in resp.json()["data"]["items"]:
print(campaign["id"], campaign["name"], campaign["balance_cents"])
const url = new URL("https://api.aiclicks.io/api/v1/outreach/campaigns");
url.searchParams.set("status", "launched");
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.AICLICKS_API_KEY}` },
});
const { data } = await resp.json();
data.items.forEach((c) => console.log(c.id, c.name, c.balance_cents));
{
"data": {
"items": [
{
"id": "5e7a1c2d-8b4f-4a6e-9d3c-1f2e3a4b5c6d",
"domain_id": "8f1d3c0a-2f9b-4c11-9b80-7a82e1f0c3f3",
"external_id": "client_4821",
"name": "Your Brand - Q1 2027 outreach",
"status": "launched",
"approval_mode": "all",
"currency": "USD",
"budget_cents": 500000,
"max_link_price_cents": 40000,
"balance_cents": 320000,
"reserved_cents": 60000,
"spent_cents": 120000,
"opportunity_counts": { "outreached": 9, "action_needed": 2, "completed": 3 },
"created_at": "2026-12-01T09:12:44.501Z",
"updated_at": "2026-12-04T08:03:10.220Z"
}
],
"total": 1,
"page": 1,
"size": 50,
"total_pages": 1
},
"generated_at": "2026-12-04T09:30:02.118Z"
}
Returns the outreach campaigns of every team the key can access, newest first. Each item has the same shape as Get Campaign. The example below shows only some fields.
Query parameters
query
domain_idstring
Return only the campaigns of this domain.
query
external_idstring
Return only the campaign with this external_id.
query
statusstring
planned, launched, stopped or finished.
query
pageinteger
1-indexed page number. Default 1.
query
sizeinteger
Items per page. Default 50, max 200.
Was this page helpful?