API ReferenceCampaigns
Create Campaign
Create a new fundraising campaign.
POST /api/campaigns
Creates a new campaign for an organization.
Request Body
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
title | string | Yes | Campaign title | |
slug | string | Yes | URL-friendly identifier, unique within the org | |
orgId | string | Yes | Organization ID | |
type | string | No | "donation" | One of: donation, peer_to_peer, event, membership |
goalAmountCents | integer | No | Fundraising goal in cents | |
suggestedAmounts | integer[] | No | Pre-set donation amounts in cents | |
description | string | No | Campaign description (supports markdown) | |
allowRecurring | boolean | No | true | Enable recurring donations |
Response
{
"id": "clx9876543210",
"title": "Annual Fund 2026",
"slug": "annual-fund-2026",
"type": "DONATION",
"status": "DRAFT",
"goalAmountCents": 5000000,
"suggestedAmounts": [2500, 5000, 10000, 25000],
"createdAt": "2026-02-28T12:00:00.000Z"
}Last updated on 4/5/2026