Update a Campaign
Changes the fields you send. A draft Campaign can go live, paused, or ended; live and paused move between each other or to ended; nothing returns to draft, and an ended Campaign stays ended. Going live or paused from draft counts against your Account’s Campaign limit (403 entitlement_limit). A live or paused Campaign ends by itself once ends_at passes, with campaign.ended.
Your secret API key: dfl_live_… in production, dfl_test_… in the Sandbox.
In: header
Path Parameters
^camp_[0-9A-Za-z]{22}$Header Parameters
Required on every write. A unique value you generate per intended write, such as a UUID. A retry with the same key and the same body returns the original response; the same key with a different body returns 422 idempotency_key_reused. Keys are kept for 24 hours, per Account and environment.
1 <= length <= 2551 <= length <= 200Lowercase letters, digits, and hyphens. Unique within your Account.
^[a-z0-9]+(-[a-z0-9]+)*$length <= 100Markdown.
length <= 20000urilength <= 2048The goal. Integer cents.
0 <= valueISO 8601, UTC.
date-timeISO 8601, UTC.
date-timeOnly a live Campaign takes Contributions.
"draft" | "live" | "paused" | "ended"Publish Daffodil’s own public page for the Campaign.
The nonprofits the money is promised to. Shared fund Campaigns only; a Personal fund Campaign names none.
items <= 50Response Body
curl -X PATCH "https://sandbox.api.getdaffodil.com/v1/campaigns/camp_3iQ8pN19o0ZBATqJs3QVlE" \ -H "idempotency-key: 8e03978e-40d5-43e8-bc93-6894a57f9324" \ -H "Content-Type: application/json" \ -d '{ "goal_amount": 7500000, "status": "live" }'{
"id": "camp_3iQ8pN19o0ZBATqJs3QVlE",
"fund_id": "fund_2JqSDJkaCfO4pnMMD5na5G",
"donor_id": null,
"title": "Winter Meals Drive",
"slug": "winter-meals-2026",
"description": "Every **$25** feeds a family for a week.",
"banner_image_url": "https://cdn.example.com/winter-meals.jpg",
"goal_amount": 5000000,
"currency": "USD",
"starts_at": "2026-12-01T08:00:00Z",
"ends_at": "2027-01-31T08:00:00Z",
"status": "live",
"public_page": false,
"beneficiaries": [
{
"id": "np_3O9F93l8HsuBKoBLX52FGS",
"ein": "12-3456789",
"name": "Bay Area Food Bank",
"city": "San Francisco",
"state": "CA",
"grantable": true
}
],
"raised_amount": 1287500,
"contribution_count": 214,
"contributor_count": 198,
"created_at": "2026-11-11T21:42:00Z",
"updated_at": "2026-12-14T17:03:00Z"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}