Get Campaign

Read one outreach campaign: status, budget, price cap, deposit balance, quality rules and opportunity counts.

curl --request GET \
  --url https://api.aiclicks.io/api/v1/outreach/campaigns/5e7a1c2d-8b4f-4a6e-9d3c-1f2e3a4b5c6d \
  --header 'Authorization: Bearer ak_live_xxx'
{
  "data": {
    "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,
    "low_balance_threshold_cents": 50000,
    "balance_cents": 320000,
    "reserved_cents": 60000,
    "spent_cents": 120000,
    "criteria": {
      "min_domain_rating": 40,
      "min_organic_traffic": 5000,
      "exclude_competitors": true,
      "excluded_domains": ["nordvpn.com", "expressvpn.com"],
      "brand_reference_url": "https://yourbrand.com/vpn"
    },
    "opportunity_counts": {
      "processing": 4,
      "outreached": 9,
      "action_needed": 2,
      "approved": 1,
      "completed": 3,
      "declined": 3
    },
    "created_at": "2026-12-01T09:12:44.501Z",
    "updated_at": "2026-12-04T08:03:10.220Z"
  },
  "generated_at": "2026-12-04T09:30:02.118Z"
}

Returns one outreach campaign. Use it to show a campaign header in your product: how much budget is left, how many opportunities wait for approval, and how many links are live.

Path parameters

path
campaign_idstring
Required

UUID of the campaign.

Response

data.idstring
Required

UUID of the campaign.

data.domain_idstring
Required

UUID of the client domain.

data.external_idstring

Your own ID, as you sent it. null if you did not send one.

data.statusstring
Required

planned, launched, stopped (paused by you; no new outreach starts) or finished.

data.approval_modestring
Required

all or over_cap. See Create Campaign.

data.budget_centsinteger
Required

The planned total spend.

data.max_link_price_centsinteger
Required

The price cap for one link.

data.balance_centsinteger
Required

Money in the deposit that is free to use: the settled ledger total (top-ups minus spend and refunds) minus reservations.

data.reserved_centsinteger
Required

Money held for approved opportunities that are not live yet.

data.spent_centsinteger
Required

Money spent on live links in this campaign.

data.criteriaobject
Required

The quality rules of the campaign.

data.opportunity_countsobject
Required

The number of opportunities in each status. Statuses with no opportunities are left out.