API ReferenceCampaigns
Get Campaign
Retrieve a campaign with live statistics.
GET /api/campaigns/{id}
Returns campaign details with real-time aggregate statistics.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Campaign ID |
Response
{
"id": "clx9876543210",
"title": "Annual Fund 2026",
"slug": "annual-fund-2026",
"type": "DONATION",
"status": "ACTIVE",
"goalAmountCents": 5000000,
"stats": {
"totalRaisedCents": 1250000,
"donationCount": 347,
"goalProgress": 25.0
},
"createdAt": "2026-02-28T12:00:00.000Z"
}Last updated on 4/5/2026