Use this API to get race fundraisers associated with a charity group.
{ "race_fundraisers": [ { "race_fundraiser_id": 123, "race_fundraiser_name": "Some Fundraiser Name", "parent_fundraiser_id": 567, "race_id": 1234, "created_ts": 1111111111, "registration_id": 1234, "is_team_fundraiser": "F", "fundraiser_hidden": "T", "fundraiser_url": "https://runsignup.com/SomeFundraiserName", "fundraiser_token": "a1b2c3d4e", "fundraiser_owner": { "user_id": 123, "first_name": "John", "last_name": "Doe", "email": "example@example.com", "phone_number": "555-555-5555" }, "charity_id": "123", "charity_name": "Charity Name", "fundraiser_tagline": "This is a tagline.", "personal_message": "Some personal message.", "fundraising_goal": "$56.00", "donation_period_id": 1, "applied_for_refund": "F", "last_modified_ts": 1111111123 } ] }
Parameter | HTTP Method | Default | Description | Datatype |
---|---|---|---|---|
charity_group_id Required |
GET | ID of charity group. | uint |
|
rsu_api_key Required |
GET | API key. | string |
|
X-RSU-API-SECRET Required |
HTTP Header | API secret. | string |
|
page |
GET | 1 | Page number to get. | uint |
results_per_page |
GET | 50 | Number of results per page. | uint |
modified_after_ts |
GET | Get fundraisers updated after the provided timestamp. | int |
|
modified_before_ts |
GET | Get fundraisers updated before the provided timestamp. | int |
{ "openapi": "3.0.3", "info": { "title": "Get Fundraisers for Charity Group", "description": "Get list of charity group fundraisers.", "version": "1.0.0", "contact": { "name": "RunSignup API Support", "url": "https://runsignup.com/API", "email": "info@runsignup.com" } }, "servers": [ { "url": "https://runsignup.com/API", "description": "Production API Server" } ], "tags": [ { "name": "Charity Group", "description": "APIs related to Charity Group" } ], "components": { "schemas": { "Error": { "type": "object", "properties": { "error": { "type": "string", "description": "Error message" } }, "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/charity-group/get-charity-group-race-fundraisers.json": { "get": { "tags": [ "Charity Group" ], "summary": "Get Fundraisers for Charity Group", "description": "Get list of charity group fundraisers.", "operationId": "v2_charity_group_get_charity_group_race_fundraisers_json", "parameters": [ { "name": "charity_group_id", "in": "query", "description": "ID of charity group.", "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" } }, { "name": "page", "in": "query", "description": "Page number to get.", "required": false, "schema": { "type": "integer", "default": "1" } }, { "name": "results_per_page", "in": "query", "description": "Number of results per page.", "required": false, "schema": { "type": "integer", "default": "50" } }, { "name": "modified_after_ts", "in": "query", "description": "Get fundraisers updated after the provided timestamp.", "required": false, "schema": { "type": "integer" } }, { "name": "modified_before_ts", "in": "query", "description": "Get fundraisers updated before the provided timestamp.", "required": false, "schema": { "type": "integer" } } ], "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": [] } } } }