Skip to main content
GET
Get a campaign

Headers

donate-api-key
string

Optional. Your API key. With it the request counts against your organization's rate limit; without it, against the limit of your IP address.

Path Parameters

campaignId
string
required

The id of a campaign.

Response

OK

type
enum<string>
required
Available options:
campaign
id
string
required
available
boolean
required

Whether this is the recipient's own profile. When false, name and imageUrl are a stand-in to show in its place, or null when nothing has this id.

name
string
required
imageUrl
string | null
required

An absolute http or https URL.

url
string | null
required

The campaign's page on Donate. Null when available is false.

source
enum<string> | null
required

Null when available is false.

Available options:
donate,
tiltify
sourceUrl
string | null
required

The campaign's page at its provider. Null for a campaign created on Donate.

goalUsdE6
string | null
required

The campaign's goal, in the same unit as stats.totalUsdE6. Null when it has none, and always for an imported campaign: its provider's goal counts support Donate does not see.

status
enum<string> | null
required

A completed campaign stays readable and can no longer be named in a new config. Null when available is false.

Available options:
active,
completed
eligible
boolean
required

Whether this campaign can be named in a new config. False for a completed campaign, and for an active one whose recipients cannot be paid through a new config.

categoryId
string | null
required

An id from GET /v2/categories.

media
object[]
required
stats
object | null
required

Amounts attributed to this campaign through Donate only. Null when available is false.

createdAt
string | null
required

Null when available is false.

description
string
required

The campaign's story as plain text. Empty when available is false.