Use this API to get a list of campaign fundraisers for a donation website.
{
"donation_campaign_fundraisers": [
{
"fundraiser_id": 123,
"fundraiser_name": "Example Fundraiser",
"fundraiser_url": "https://www.givesignup.org/DonationWebsite/ExampleDonationWebsite/Campaign/ExampleDonationCampaign/F/ExampleFundraiser",
"donation_total_in_cents": 12000,
"donation_goal_in_cents": 20000,
"donation_campaign": {
"donation_campaign_id": 123,
"donation_campaign_name": "Example Donation Campaign",
"campaign_message_text": "This is an example of a donation campaign"
},
"num_donations": 12,
"fundraiser_captain": {
"first_name": "John",
"middle_name": null,
"last_name": "Doe",
"email": "example@example.com",
"address": {
"address1": "300 Mill St.",
"city": "Moorestown",
"state": "NJ",
"zipcode": "08057",
"countrycode": "US",
}
},
"is_team_fundraiser": "F"
}
]
}
| Parameter | HTTP Method | Default | Description | Datatype |
|---|---|---|---|---|
num |
GET | 50 | Number of results per page. | uint |
page |
GET | 1 | Page. | uint |
donation_website_idRequired |
GET | Donation Website ID | uint |
|
rsu_api_keyRequired |
GET | API key | string |
|
X-RSU-API-SECRETRequired |
HTTP Header | API secret | string |
{
"openapi": "3.0.3",
"info": {
"title": "Get Campaign Fundraisers",
"description": "Get a list of campaign fundraisers for a donation website.",
"version": "1.0.0",
"contact": {
"name": "RunSignup API Support",
"url": "https://runsignup.com/API",
"email": "info@runsignup.com"
}
},
"servers": [
{
"url": "https://api.runsignup.com/rest",
"description": "Production API Server"
}
],
"tags": [
{
"name": "Donation Websites",
"description": "APIs related to Donation Websites"
}
],
"components": {
"schemas": {
"Error": {
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Error message"
},
"details": {
"type": "object",
"description": "Additional error details",
"additionalProperties": true
}
},
"required": [
"error"
]
},
"BadRequestError": {
"allOf": [
{
"$ref": "#/components/schemas/Error"
},
{
"description": "Error indicating invalid request parameters or structure"
}
]
},
"UnauthorizedError": {
"allOf": [
{
"$ref": "#/components/schemas/Error"
},
{
"description": "Error indicating authentication failure"
}
]
},
"ForbiddenError": {
"allOf": [
{
"$ref": "#/components/schemas/Error"
},
{
"description": "Error indicating the authenticated user lacks required permissions"
}
]
},
"NotFoundError": {
"allOf": [
{
"$ref": "#/components/schemas/Error"
},
{
"description": "Error indicating the requested resource does not exist"
}
]
},
"ServerError": {
"allOf": [
{
"$ref": "#/components/schemas/Error"
},
{
"description": "Error indicating an unexpected server-side issue"
}
]
}
},
"securitySchemes": {
"apiKey": {
"type": "apiKey",
"in": "query",
"name": "api_key",
"description": "RunSignup API Key"
},
"apiSecret": {
"type": "apiKey",
"in": "query",
"name": "api_secret",
"description": "RunSignup API Secret"
}
}
},
"paths": {
"/v2/donation-websites/get-campaign-fundraisers.json": {
"get": {
"tags": [
"Donation Websites"
],
"summary": "Get Campaign Fundraisers",
"description": "Get a list of campaign fundraisers for a donation website.",
"operationId": "v2_donation_websites_get_campaign_fundraisers_json",
"parameters": [
{
"name": "num",
"in": "query",
"description": "Number of results per page.",
"required": false,
"schema": {
"type": "integer",
"default": "50"
}
},
{
"name": "page",
"in": "query",
"description": "Page.",
"required": false,
"schema": {
"type": "integer",
"default": "1"
}
},
{
"name": "donation_website_id",
"in": "query",
"description": "Donation Website ID",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "rsu_api_key",
"in": "query",
"description": "API key",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "X-RSU-API-SECRET",
"in": "header",
"description": "API secret",
"required": true,
"schema": {
"type": "string"
}
}
],
"security": [
{
"apiKey": [],
"apiSecret": []
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BadRequestError"
}
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnauthorizedError"
}
}
}
},
"403": {
"description": "Forbidden",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ForbiddenError"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NotFoundError"
}
}
}
},
"500": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServerError"
}
}
}
}
},
"x-permissions": []
}
}
}
}