Deprecation Notice
Api V3 is being deprecated on July 1st, 2023. Please consider updating to V5
GET /causes/:id/campaigns
Retrieves the campaigns which support a cause.
{
"meta": {
"status": 200
},
"data": [
{
"name": "My Awesome Campaign",
"slug": "my-awesome-campaign",
"url": "https://tiltify.com/@username/my-awesome-campaign",
"description": "My awesome weekend campaign.\n Save the kids.",
"thumbnail": {
"src": "https://asdf.cloudfront.net/asdf.jpg",
"alt": "synthesize distributed solutions",
"width": 200,
"height": 200
},
"causeId": 17,
"userId": 14,
"teamId": null,
"fundraisingEventId": 39,
"currency": "USD",
"goal": 10000,
"originalGoal": 5000,
"amountRaised": 8923,
"totalAmountRaised": 12325,
"startsOn": "2017-03-24",
"endsOn": "2017-03-26"
},
// ...
],
"links": {
"prev": "",
"next": "",
"self": "",
"first": "",
"last": "",
}
}
Examples
GET /causes/35/campaigns
Returns the campaigns for the cause with an ID of 35.
curl https://tiltify.com/api/v3/causes/35/campaigns