API referenceOrgs
End a campaign now: a live one stops counting, a scheduled one never starts
Ends a campaign now: a live one stops counting, a scheduled one never starts. Needs `burner.edit`.
POST
/v1/orgs/{orgId}/campaigns/{campaignId}/endEnds a campaign now: a live one stops counting, a scheduled one never starts. Needs burner.edit.
AuthorizationBearer <token>
A Synq access token for this API: bnc.read for reads, bnc.write for changes.
In: header
Path Parameters
orgId*string
The organization's id
Match
^org_[0-9a-hjkmnp-tv-z]{26}$campaignId*string
The campaign's id
Match
^campaign_[0-9a-hjkmnp-tv-z]{26}$Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/orgs/string/campaigns/string/end"{ "entitled": true, "campaigns": [ { "id": "campaign_01j3sa8pvcfp79z85hrb9y9xd6", "name": "Acme", "goalLamports": "2039280", "raisedLamports": "2039280", "supporters": 0, "startsAt": "2026-10-21T12:00:00.000Z", "endsAt": "2026-10-21T12:00:00.000Z", "endedAt": "2026-10-21T12:00:00.000Z", "status": "scheduled", "byStaff": true } ], "monthlyGoals": [ { "month": "2026-10", "goalLamports": "2039280", "raisedLamports": "2039280", "byStaff": true } ]}