Campaigns
Create a campaign
Changed onUse this request to create a campaign in the account associated with the API key or in one of its subaccounts. Omitted fields take the same defaults as a campaign created in the Dashboard. If any value is invalid, nothing is created.
post/v1/campaigns
Request
- Base URLhttps://api.fundraiseup.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"type": "regular",
"account": "AEPEGTXX",
"code": "WINTER-26",
"content": {
"ar": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"da": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"de": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"en": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"es": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"fi": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"fr": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"he": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"hu": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"it": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"ja": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"ko": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"nl": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"no": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"pl": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"pt": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"ru": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"sv": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
},
"zh": {
"ask": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
},
"campaign_page": {
"links": [
{
"label": "About us",
"url": "https://example.org/about"
}
]
}
}
},
"end_date": "2027-12-31T00:00:00.000Z",
"formats": [
"checkout_modal"
],
"frequencies": {
"annual": {
"default_amount": "5.00",
"minimum_amount": "5.00",
"suggested_amounts": [
"25.00",
"50.00",
null,
"100.00"
]
},
"bimonthly": {
"default_amount": "5.00",
"minimum_amount": "5.00",
"suggested_amounts": [
"25.00",
"50.00",
null,
"100.00"
]
},
"biweekly": {
"default_amount": "5.00",
"minimum_amount": "5.00",
"suggested_amounts": [
"25.00",
"50.00",
null,
"100.00"
]
},
"daily": {
"default_amount": "5.00",
"minimum_amount": "5.00",
"suggested_amounts": [
"25.00",
"50.00",
null,
"100.00"
]
},
"every4weeks": {
"default_amount": "5.00",
"minimum_amount": "5.00",
"suggested_amounts": [
"25.00",
"50.00",
null,
"100.00"
]
},
"monthly": {
"default_amount": "5.00",
"minimum_amount": "5.00",
"suggested_amounts": [
"25.00",
"50.00",
null,
"100.00"
]
},
"once": {
"default_amount": "5.00",
"minimum_amount": "5.00",
"suggested_amounts": [
"25.00",
"50.00",
null,
"100.00"
]
},
"quarterly": {
"default_amount": "5.00",
"minimum_amount": "5.00",
"suggested_amounts": [
"25.00",
"50.00",
null,
"100.00"
]
},
"semiannual": {
"default_amount": "5.00",
"minimum_amount": "5.00",
"suggested_amounts": [
"25.00",
"50.00",
null,
"100.00"
]
},
"weekly": {
"default_amount": "5.00",
"minimum_amount": "5.00",
"suggested_amounts": [
"25.00",
"50.00",
null,
"100.00"
]
}
},
"livemode": true,
"name": "Winter Appeal",
"settings": {
"custom_fields": [
{
"name": "source",
"value": "partner-portal"
}
],
"default_language": "en-US",
"donation_matching": {
"limit": "5.00",
"minimum_amount": "5.00",
"start_date": "2027-01-01T00:00:00.000Z"
},
"mailing_from_amount": "5.00",
"mailing_required_from_amount": "5.00",
"phone": {
"enabled": true,
"legal_text_enabled": true
},
"questions": [
"QXXXXXXX"
],
"supported_languages": [
"en",
"fr"
]
},
"url_path": "winter-appeal"
}Response
On success, the API returns the created campaign object.
Example response
{
"account": {
"code": "Code-1",
"id": "AXXXXXXX",
"name": "Example Account"
},
"campaign_page_url": "https://org.fundraiseup.com/page/FUNXXXXXXXX",
"code": "Code-1",
"currency": "usd",
"designation_mode": "select",
"designations": [
{
"code": "GEN-01",
"frequencies": [
"once",
"monthly"
],
"id": "EXXXXXXX",
"is_default": true,
"name": "General Fund",
"type": "designation"
}
],
"end_date": "2026-12-31T00:00:00.000Z",
"formats": [
"checkout_modal",
"campaign_page"
],
"frequencies": [
{
"default": true,
"default_amount": "60.00",
"minimum_amount": "5.00",
"suggested_amounts": [
"1000.00",
"500.00",
"250.00",
null,
"50.00",
"25.00"
],
"type": "monthly"
}
],
"id": "FUNXXXXXXXX",
"media": {
"ask": {
"image": {
"height": 800,
"url": "https://ucarecdn.com/5c0f2ed9-539d-4bf8-a338-0ec839cf74f2/",
"width": 1200
},
"logo": {
"height": 800,
"url": "https://ucarecdn.com/5c0f2ed9-539d-4bf8-a338-0ec839cf74f2/",
"width": 1200
},
"video": {
"provider": "youtube",
"url": "https://www.youtube.com/watch?v=abc"
}
},
"campaign_page": {
"image": {
"height": 800,
"url": "https://ucarecdn.com/5c0f2ed9-539d-4bf8-a338-0ec839cf74f2/",
"width": 1200
},
"logo": {
"height": 800,
"url": "https://ucarecdn.com/5c0f2ed9-539d-4bf8-a338-0ec839cf74f2/",
"width": 1200
},
"video": {
"provider": "youtube",
"url": "https://www.youtube.com/watch?v=abc"
}
}
},
"name": "My Campaign",
"settings": {
"ai_default_frequency": true,
"anonymous_enabled": true,
"ask_page_enabled": true,
"campaign_page": {
"sharing": {
"copy_link": true,
"facebook": true,
"linkedin": true
},
"thank_you": {
"sharing": {
"facebook": true,
"linkedin": true
},
"type": "thank_you_screen"
}
},
"consent": {
"customized": {
"channels": {
"email": true,
"phone_calls": true,
"social_media": true
},
"collection_method": "explicit_opt_in"
},
"general": {
"show_if_required_by_law": true
},
"type": "customized"
},
"custom_fields": [
{
"name": "source",
"value": "api"
}
],
"default_language": "en-US",
"default_payment_type": "money",
"disclaimer_enabled": true,
"donation_matching": {
"enabled": true,
"end_date": "2026-12-31T00:00:00.000Z",
"limit": "10000.00",
"minimum_amount": "10.00",
"ratio": "1:1",
"sponsor_enabled": true,
"sponsor_logo": {
"height": 800,
"url": "https://ucarecdn.com/5c0f2ed9-539d-4bf8-a338-0ec839cf74f2/",
"width": 1200
},
"sponsor_name": "Sponsor Inc.",
"start_date": "2026-01-01T00:00:00.000Z"
},
"mailing_enabled": true,
"mailing_from_amount": "100.00",
"mailing_required": true,
"mailing_required_from_amount": "500.00",
"money_enabled": true,
"personalized_amounts": true,
"phone": {
"enabled": true,
"legal_text_enabled": true
},
"post_donation_upsell": true,
"pre_donation_upsell": true,
"questions": [
"QABCDEFG"
],
"questions_enabled": true,
"supported_languages": [
"en",
"fr"
],
"terms_enabled": true,
"thank_you": {
"sharing": {
"facebook": true,
"linkedin": true
},
"type": "thank_you_screen"
},
"title_enabled": true,
"transaction_costs": "smart_covering",
"tribute": {
"delivery_email": true,
"highlight_name": true
},
"tribute_enabled": true
},
"status": "active",
"tags": [
"annual",
"general"
],
"type": "regular",
"url_path": "winter-appeal"
}Changes
- info
endpoint added
- info