Create giving campaign

Create a new giving campaign (a fundraiser where donors pledge toward a goal amount).

Required permission: Full Write Pledges

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The details of the campaign

string | null
required

The campaign's name.

date | null
required

The calendar day the campaign starts (yyyy-MM-dd), in the church's calendar; no time component.

date | null
required

The calendar day the campaign ends (yyyy-MM-dd), inclusive: gifts on this day still count.

funds
array of objects | null
required

The designations giving to the campaign is applied to; at least one is required. On read each includes its per-designation giving totals; on write, provide only each designation's id. Populated only when the caller has the Full Read Pledges permission.

funds*
string | null

The campaign's description.

boolean | null

Whether only giving toward pledges counts for the campaign; otherwise all giving to its designations counts. Populated only when the caller has the Full Read Pledges permission.

boolean | null

Whether the campaign allows giving before its start date.

date | null

The earliest calendar day (yyyy-MM-dd) a gift counts toward the campaign when early giving is allowed; must not be after start. Null means any earlier gift counts.

double | null

The campaign's goal amount; null when no goal is set. Must be greater than 0 when provided.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json