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-time | null
required

The date the campaign starts.

date-time | null
required

The date the campaign ends.

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-time | null

The date early giving may begin, when giving before the campaign start is allowed.

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