1. RunSignup
  2. API
  3. Methods
  4. Get Donation Periods

Get Donation Periods

Gets all donation periods for a race. Results are sorted by start date descending (most recent first).

A donation period defines a date range during which donations and fundraising operate. Use the returned start_ts and end_ts with the since_ts and until_ts parameters on the Get Race Donations endpoint to filter donations by period.

Response Format

{
    "donation_periods": [
        {
            "donation_period_id": 456,
            "start_ts": 1767225600,
            "end_ts": 1798675200
        },
        {
            "donation_period_id": 123,
            "start_ts": 1735689600,
            "end_ts": 1767139200
        }
    ]
}

URL

https://api.runsignup.com/rest/v2/race-donations/get-donation-periods.json

HTTP Method

GET

Authentication

OAuth2 Support

This API endpoint supports OAuth2 authentication. See the OAuth2 Developer Guide for implementation details.

Note: We may leverage OAuth2 scopes in the future to limit what access APIs require.

Standard Parameters

Parameter HTTP Method Default Description Datatype
api_key GET API Key string
api_secret GET API Secret string
rsu_api_key GET API v2 key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. string
sp_api_key GET Super partner API key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. string
X-RSU-API-SECRET HTTP Header API v2 or super partner secret. string
Authorization HTTP Header Authorization Header. If using OAuth 2.0, fill this in with `Bearer <token>`. string

Parameters

Parameter HTTP Method Default Description Datatype
race_id
Required
GET ID of race. uint

If you continue to use this site, you consent to use all cookies. We use cookies to offer you a better browsing experience. Read how we use cookies and how you can control them by visiting our Privacy Policy.

If you continue to use this site, you consent to use all cookies.