Skip to content

Save the Fundlies and their shares​

PUT
/events/{id}/fundraisers

The whole list: 1 to 10 Fundlies, whole-percent shares of 1 to 100, adding up to no more than 100, exactly 100 on a live event (shares_must_total_100). A Fundly newly linked must be live and taking gifts (fundraiser_not_open, details.fundraiser_ids). Other refusals: too_many_fundraisers, duplicate_fundraiser, share_out_of_range, shares_over_100.

Authorizations​

BearerAuth

In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.

Type
HTTP (bearer)

Parameters​

Path Parameters

id*

The event's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"fundraisers": [
{
"fundraiser_id": "string",
"share_percent": 0
}
]
}

Responses​

The shares.

application/json
JSON
{
"fundraisers": [
]
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Built with VitePress