Skip to content

Complete REST API for FundlyHub — the AI-powered fundraising platform.

Authentication

The web app authenticates with httpOnly session cookies (access_token,
id_token, refresh_token) that POST /cognito/signin and the OAuth
callback set. Sign-in does not return tokens in its body.

Scripts and integrations authenticate with an API key: create one
with POST /api-keys from a signed-in session and send it as
Authorization: Bearer fh_live_…. A Cognito JWT is also accepted in the
same header. An API key acts as its owner, with every permission the
owner holds — treat it like a password. A key expires (at most one year
after it is created), cannot create or revoke API keys, and stops working
while its owner's account is not active. Send one credential per
request: either the session cookies or an Authorization header.

A missing credential answers 401, and so does a session token that is
present but invalid or expired (Invalid token, code: TOKEN_INVALID) or
that cannot be verified (code: TOKEN_VERIFICATION_FAILED): refresh the
session and retry. An API key that is unknown, expired or revoked, or whose
owner's account is not active, answers 401 (Invalid API key). 403 is
reserved for an authenticated caller who is not allowed to do something.

Operations that show no security requirement are genuinely public. Where
an operation lists both BearerAuth and {}, authentication is optional
and changes what comes back — an owner sees their own drafts, a signed-in
donor gets the gift attributed to their account.

Some endpoints additionally require a specific permission; where that
is the case the permission is named in the operation's description, and a
session without it gets 403 with required_permission in the body.
Several write endpoints also require a verified email address
(403 with code: EMAIL_NOT_VERIFIED) or sit behind a feature flag
(403 with feature_key). A flag with no stored setting counts as on.

Response envelopes

Most read endpoints wrap their payload: a single object comes back as
{ "data": { … } }, and a collection as { "data": [ … ] }, with
paginated collections adding { "pagination": { "limit", "offset", "total" } }. This is a convention rather than a rule — a handful of
endpoints return a bare object or a bare array, and each operation below
documents the shape it actually returns. Errors are always unwrapped:
{ "error": "…", "message": "…" }, sometimes with a machine-readable
code or a details array of validation failures.

Rate limits

A global limiter of 100 requests/minute per IP covers the API.
Public browsing reads — campaign, organization, category, platform-stats
and search reads, the profile reads, and the public reads of non-profits,
cities, communities and success stories — are exempt from it, and most
of them count against a 300/min per IP bucket instead (an operation
that can answer 429 lists it). Other routes add a tighter bucket on
top of the global one:

  • Authentication (sign-up, sign-in, password reset and change, unsubscribe writes, platform tips): 10/min per IP
  • Verification resends and private-contact changes: 5/min per user (per IP for a signed-out resend)
  • Public writes that send mail or store free text (receipt emails, donor notes, DMCA notices, ambassador applications): 5/min per IP
  • Financial and endorsement endpoints (earnings, Stripe Connect, endorsements, receipt resends, saved payment methods and monthly gifts under /me/payment-methods and /me/monthly-gifts): 100/min per account
  • Adding a saved payment method (POST /me/payment-methods/setup-intent): 10/hour per account, on top of the 100/min
  • Organization creation: 5/hour per (IP, user)
  • Organization member lookups and adds (GET /org-admin/{slug}/users/search, POST /org-admin/{slug}/members): 30/min per user, one bucket for both
  • Campaign media and outcome-report writes: 30 per 15 minutes per (IP, user)
  • Referral clicks: 120/min per caller; card share images: 120/min per IP; campaign presence heartbeats: 4/min per IP and campaign
  • AI endpoints: 10/min per user, applied inside the handler
  • AI image generation: 10/hour and 30/day per user

Exceeding a limit returns 429 with RateLimit-Policy,
RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset and
Retry-After headers. The AI endpoints' in-handler limit answers a bare
429 without them.

Contact​

Servers​

https://api.staging.fundlyhub.org/api/v1Staging
https://api.fundlyhub.org/api/v1Production

Sponsors​

Local businesses that give perks to people who hold FundlyHub achievements. Sponsors never receive donations. The directory (by city, category, name or what you can use), a sponsor's page and its perks, locations, impact and updates, following a sponsor, a sticker's page, reporting wrong information, and a signed-in person's My perks. A sponsor's {key} takes its current slug, an old one or its id. A sponsor that is not live yet is visible only to its team and to staff; anyone else gets 404. Every operation answers 403 while sponsors are switched off.


The menus' sponsor entries​

GET
/me/sponsor-menu

What the header, the account menu and the footer show about sponsors. 403 means sponsors are switched off and the menus show no sponsor entries. For a signed-in person: the businesses they are on the team of (each linked to its workspace) and whether they use the counter. Answers a visitor who is not signed in too, with both empty, so the Community menu and the footer know sponsors are on. Never cached (Cache-Control: private, no-store).

Authorizations​

or
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)

Responses​

OK

application/json
JSON
"string"

Playground​

Server

Samples​


What the web badge shows​

GET
/sponsors/{key}/badge

The answer the Proud Sponsor web badge is drawn from. The badge itself is the image at https://fundlyhub.org/badge/sponsor/{slug}.svg (?theme=dark for the white version on a dark page, ?size=small for 160 by 38, ?size=round for the 48 by 48 round mark), which always shows the sponsor's live status. {key} takes the current slug, an old one or the id, so a badge keeps working after a rename. Cacheable for 5 minutes. 403 while sponsors are switched off.

Parameters​

Path Parameters

key*
Type
string
Required
Example"fast-cat-coffee-bar"

Responses​

OK

application/json
JSON
{
"badge": "proud_sponsor",
"slug": "fast-cat-coffee-bar",
"name": "Fast Cat Coffee Bar"
}

Playground​

Server
Variables
Key
Value

Samples​


List sponsors​

GET
/sponsors

The sponsor directory: live or paused sponsors with a perk that is live, or ended less than 30 days ago. A city lists the sponsors with an open location whose address is in it, the same rule its "14 sponsors" counts by. Nearest first from near (a point the person chose to share; it only sorts), else from a signed-in viewer's own place, else by name. Each card leads with the perk the signed-in viewer can best use there, its state for them, and how many they can use; a guest sees neither. viewer.usable is the viewer's count over the whole city (the other filters aside). Without a city a signed-in viewer sees their own (cityDefault); city=all is every city.

Authorizations​

or
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​

Query Parameters

city

A city page's slug, or all. Absent: a signed-in viewer's own city, else every city.

Type
string
category

Category ids, comma separated (coffee_cafe,bakery).

Type
string
q

Part of the name, a name it trades under, one of its places' names ("Midtown") or one of its perks.

Type
string
Max Length
80
near

lat,lng to sort from. Without it, a signed-in viewer's own place.

Type
string
Example"38.5762,-121.4805"
can_use

Signed in only - just the sponsors with a perk the viewer can use.

Type
string
Valid values
"true""1"
open_now

Just the sponsors with a storefront open now.

Type
string
Valid values
"true""1"
nearby

Just the sponsors with a storefront within 5 miles of the point (ignored without one).

Type
string
Valid values
"true""1"
new

Just the sponsors approved in the last 30 days.

Type
string
Valid values
"true""1"
online

Just the sponsors that sell online (online only

Type
string
Valid values
"true""1"
offers_help

Just the ones with help in Find help (#2423). Ignored while Resources are switched off.

Type
string
Valid values
"true""1"
limit
Type
integer
Default
24
Maximum
48
offset
Type
integer
Default
0

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


List sponsor categories​

GET
/sponsors/categories

The business categories in display order, each with its policy (allowed, limited - bars, breweries and wineries can't give perks on alcohol, pharmacies not on prescriptions -, or not_allowed) and the number of listed sponsors in it (in city, when given). Names are the site's translations of the id.

Authorizations​

or
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​

Query Parameters

city

A city page's slug.

Type
string

Responses​

OK

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

Playground​

Server
Variables
Key
Value

Samples​


Perks for one achievement card​

GET
/sponsors/perks

The perks of listed sponsors for one achievement, split at a card's tier: unlocks are the perks for that tier and below, higher counts the perks of each tier above with two examples, never how far the holder is from it. The card's code and QR are public and never unlock a perk; for a signed-in holder each perk carries their own eligibility.

Authorizations​

or
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​

Query Parameters

achievement*

The achievement's slug or id.

Type
string
Required
tier
Type
string
Valid values
"base""bronze""silver""gold"
Default
"base"
city
Type
string
near
Type
string
limit
Type
integer
Default
4
Maximum
24

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Get a sponsor's page​

GET
/sponsors/{key}

A sponsor's page for the person looking: the business, its numbers (from the same views the workspace and the admin portal read; givers thanked from 5 up), its perks with the viewer's eligibility, its open locations, the latest updates, the team members shown on the page (never cashiers), what FundlyHub checked (only checks that passed), and the viewer block (following, their role on the team, whether they may open the workspace). The team and staff also get teamWeek and each perk's counted uses. A live, paused, suspended or closed sponsor is public; any other is visible to its team and to staff only, and answers 404 to anyone else. An old slug answers with the current one in slug and renamed: true. A closed sponsor's page is a record: no perks.

Authorizations​

or
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

key*

The sponsor's slug, a slug it used to have, or its id.

Type
string
Required

Query Parameters

near

lat,lng for each location's distance (the browser's position, when the person allowed it). Without it, a signed-in viewer's own place on their profile is used; never a guess from the IP address.

Type
string

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


List a sponsor's perks​

GET
/sponsors/{key}/perks

The perks the public sees: live, paused and scheduled, and an ended one for 30 days; never one FundlyHub stopped or one not approved yet. Each with its availability for everyone and the viewer's eligibility.

Authorizations​

or
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

key*

The sponsor's slug, a slug it used to have, or its id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Get one of a sponsor's perks​

GET
/sponsors/{key}/perks/{perkId}

One perk with where it works in store (each place's state today and any closure ahead), when it went live, and the viewer's eligibility. 404 for a perk of another sponsor, one the public doesn't see, or any perk of a closed sponsor.

Authorizations​

or
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

key*

The sponsor's slug, a slug it used to have, or its id.

Type
string
Required
perkId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


List a sponsor's locations​

GET
/sponsors/{key}/locations

The open locations, home first. A storefront shows its street address and map point; a business that comes to customers shows the ZIP codes it serves and never its address (often a home); an online-only business shows its city. Each with its weekly hours, whether it is open now, closed now or temporarily closed (in its city's time zone), a closure within 30 days, whether its address is confirmed, and which perks work there. A location closed for good is not listed.

Authorizations​

or
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

key*

The sponsor's slug, a slug it used to have, or its id.

Type
string
Required

Query Parameters

near

lat,lng for each location's distance. Without it, a signed-in viewer's own place on their profile is used; never a guess from the IP address.

Type
string

Responses​

OK

application/json
JSON
{
"locations": [
],
"perksByLocation": {
"additionalProperties": [
]
},
"team": true
}

Playground​

Server
Variables
Key
Value

Samples​


Get a sponsor's impact​

GET
/sponsors/{key}/impact

Counts, never dollars: perks used (in-store uses confirmed at the counter plus online codes handed out, minus any undone or voided), givers thanked (different people, from 5 up), followers and the new ones this week, sponsor since, and the uses by perk, by place (online apart) and by month in the home city's time zone, each adding up to the total. Never the gifts its customers made, which count as their own giving and their city's.

Authorizations​

or
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

key*

The sponsor's slug, a slug it used to have, or its id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


List a sponsor's updates​

GET
/sponsors/{key}/updates

Updates on the page, newest first, with who posted each (a team member's name and role, FundlyHub, or posted automatically when a perk went live).

Authorizations​

or
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

key*

The sponsor's slug, a slug it used to have, or its id.

Type
string
Required

Query Parameters

limit
Type
integer
Default
10
Maximum
50
offset
Type
integer
Default
0

Responses​

OK

application/json
JSON
{
"data": [
],
"total": 0
}

Playground​

Server
Variables
Key
Value

Samples​


Follow a sponsor​

POST
/sponsors/{key}/follow

Follows the sponsor and answers its follower count; following again changes nothing. A sponsor sees how many follow it, never who. A closed sponsor takes no new followers (409 sponsor_closed).

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

key*

The sponsor's slug, a slug it used to have, or its id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Unfollow a sponsor​

DELETE
/sponsors/{key}/follow

Stops following; always allowed, and a no-op when not following.

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

key*

The sponsor's slug, a slug it used to have, or its id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Report wrong information​

POST
/sponsors/{key}/reports

Tells FundlyHub something on the page, or at one of its locations, is wrong. Staff handle it; the business never learns who reported. A second report of the same thing by the same person within a day answers 200 with the first one (duplicate: true). Needs a verified email. A perk that wasn't honored is reported from the use's receipt instead.

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

key*

The sponsor's slug, a slug it used to have, or its id.

Type
string
Required

Request Body​

application/json
JSON
{
"kind": "string",
"note": "string",
"locationId": "string"
}

Responses​

The same report, made within the last day.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Read a Proud Sponsor sticker​

GET
/sticker/{code}

What fundlyhub.org/sticker/{code} says. Giving first: the Fundlies in the sticker's city (a gift goes to the Fundly, never to the business). Then status: real (the business, the location and the perks there, for this viewer), replaced (a lost or damaged sticker was reordered and its code stopped working), location_closed, ended (the business is no longer a sponsor), or unknown (no sticker has this code; it may be a copy). Someone on the team at the location also gets team, with whether they can confirm the address with this sticker.

Authorizations​

or
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

code*

The code printed in the sticker's QR (any case).

Type
string
Required
Example"K7Q2MX"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Confirm a location's address with its sticker​

POST
/sticker/{code}/confirm

Someone on the team who works at the sticker's location confirms its address: the sticker was mailed there. Each sticker confirms once, and an address that is already confirmed answers 409.

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

code*

The code printed in the sticker's QR (any case).

Type
string
Required
Example"K7Q2MX"

Responses​

Confirmed.

application/json
JSON
{
"confirmed": true,
"confirmedAt": "string",
"locationId": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Report a sticker​

POST
/sticker/{code}/report

A sticker that looks fake, or that is still up after it was replaced or its sponsor left. Kept with the code as scanned and, for a real sticker, its sponsor and location. Same one-a-day rule as other reports. Needs a verified email.

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

code*

The code printed in the sticker's QR (any case).

Type
string
Required
Example"K7Q2MX"

Request Body​

application/json
JSON
{
"note": "string"
}

Responses​

The same report, made within the last day.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


My perks​

GET
/me/perks

The signed-in person's perks at listed sponsors. ready: perks they qualify for (they hold the tier and its 7 days have passed), including ones used as often as they allow; other: perks for a tier they don't hold yet, or hold but still wait out; saved; used: their counted uses, newest first. counts covers every tab, unlocking groups the tiers whose wait is running with the day it ends. Perks of a sponsor they work for are never ready or other. With "Show sponsor perks" off (show_sponsor_perks in the user's preferences) ready and other are empty and perksOff is true.

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​

Query Parameters

tab
Type
string
Valid values
"ready""other""saved""used"
Default
"ready"
city

A city's slug, or all. Absent: the person's own city.

Type
string
category
Type
string
online

Just the perks used online.

Type
string
Valid values
"true""1"
near

lat,lng to sort from. Without it, the person's own place.

Type
string
limit
Type
integer
Default
20
Maximum
50
offset
Type
integer
Default
0

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Save a perk​

PUT
/me/perks/{perkId}/save

Adds a perk the public can see to My perks, Saved. Saving it again changes nothing.

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

perkId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"saved": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Unsave a perk​

DELETE
/me/perks/{perkId}/save

Removes a perk from Saved; always allowed.

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

perkId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"saved": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Tell me when a perk's codes are back​

PUT
/me/perks/{perkId}/watch

"Tell me when it's back" under an online perk that is out of codes. When an upload takes the perk from no codes to some, the person is told once (bell and email) and the watch ends. Watching it again changes nothing.

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

perkId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"watching": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Stop waiting for a perk's codes​

DELETE
/me/perks/{perkId}/watch

Ends the watch; always allowed.

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

perkId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"watching": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Fundraisers​


Find a FundlyHub person beneficiary​

GET
/me/person-beneficiaries

Search active public profiles by name or handle, or use a complete exact email address. Only public profiles are ever returned, and an email matches only a public profile's verified login email; private profiles, private contact emails, unverified addresses and partial emails return no results, so the caller invites the address instead. Returns only public identity fields, never email/contact data. Private no-store response; the authenticated rate limiter applies, and a complete-email query also spends the per-account email-lookup budget (30 a minute, shared with the organization member lookup).

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​

Query Parameters

q*
Type
string
Required
Max Length
254

Responses​

Up to ten matching public identities

application/json
JSON
{
"data": [
{
"id": "string",
"name": "string",
"avatar": "string",
"profile_slug": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List beneficiary invitations for the signed-in recipient​

GET
/me/beneficiary-invitations

Returns at most 100 pending invitations matching this active account's verified primary or private contact email, excluding deleted campaigns and accounts pending deletion. Includes the shared public campaign-card projection (cover, organizer identity and fundraising state), and paid held gift net after fees, refunds and chargebacks; never includes the invited email. No-store response. Acceptance remains explicit, including for an already registered account.

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)

Responses​

Pending invitations and their held amounts

application/json
JSON
{
"data": [
{
"id": "string",
"fundraiser_id": "string",
"name": "string",
"title": "string",
"slug": "string",
"currency": "string",
"held_cents": 0,
"campaign": {
"additionalProperties": "string"
}
}
]
}

Playground​

Server
Authorization

Samples​


Accept a verified-email beneficiary invitation​

POST
/beneficiary-invitations/{id}/accept

The invitation ID is a routing identifier, never a credential. The authenticated active account must verify its matching email. Atomically resolves the campaign, donation recipient snapshots and held ledger entries to this same person, retaining refund history. Idempotent for the same claimant. Does not transfer money to Stripe or a bank; the existing Connect onboarding and settlement checks still apply. Strict rate limiter and no-store response.

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*
Type
string
Required
Format
"uuid"

Responses​

Accepted, or already accepted by this recipient

application/json
JSON
{
"data": {
"fundraiser_id": "string",
"accepted": true
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get the public page of a beneficiary who has not joined​

GET
/beneficiaries/{invitationId}

Public, no session (#2485). For a pending person beneficiary invitation: the invited name and the public card of the Fundly raising for them, while that Fundly can be opened by its link. The answer is the same whether or not an account holds the invited address, and never carries the email. Once the invitation is accepted it answers 200 with redirect_to, the beneficiary's profile path, which the web page serves as a permanent redirect. A revoked or unknown invitation, one whose account is gone, and a pending one on a draft, private or deleted Fundly answer 404.

Parameters​

Path Parameters

invitationId*
Type
string
Required
Format
"uuid"

Responses​

The page, or where it moved

application/json
JSON
{
"data": {
"name": "string",
"fundlies": [
{
"additionalProperties": "string"
}
]
}
}

Playground​

Server
Variables
Key
Value

Samples​


Resend a pending beneficiary invitation​

POST
/fundraisers/{id}/beneficiary-invitation/resend

Organizer-only, with verified sender email. Queues the same invitation through the email service; no identity change. At most once per minute per invitation, with the strict request limiter. Suppressed delivery returns sent false.

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*
Type
string
Required
Format
"uuid"

Responses​

Queue result and masked recipient hint

application/json
JSON
{
"data": {
"email_hint": "string",
"sent": true
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List fundraisers​

GET
/fundraisers

A paginated list of public campaigns, newest first. No authentication; the result is the same whoever asks. Only published campaigns (active or ended) with visibility: public are listed — drafts, campaigns awaiting review, paused, rejected, unlisted and private campaigns never appear here, whatever is asked for — and deleted campaigns are excluded. Each item is a campaign card (FundraiserCard); fetch the detail read for the full campaign. Card text is translated into the reader's language (lang, then the language cookie, then Accept-Language) where a translation exists.

Near a point. With near=<lat>,<lng> the list holds only the campaigns whose city is within radius_mi miles (default 20) of that point, nearest first and then most raised, and each item carries distance_mi. Every other filter still applies, and so do the public-only rules above. A campaign's point is its CITY's centroid, geocoded on the server from the free-text location; a campaign whose location has no city-level point yet is not in a near list. For the cities to offer a picker, read GET /fundraisers/cities.

Only the parameters below are accepted. Any other query parameter is ignored.

Parameters​

Query Parameters

status

active: live campaigns only, active and not past their end date (#2061). closed: ended campaigns plus live ones past their end date, whether or not they still take donations. ended: the same as closed. all: both (the default). active and closed never overlap. Any other value answers 400 with { "error": "Invalid status", "allowed": [...] }.

Type
string
Valid values
"active""closed""ended""all"
Default
"all"
category

Filter by category — its id, slug or name all match.

Type
string
q

Free-text search over title, summary, story, category and location — the same match GET /search?scope=campaigns uses. Matches are ranked first.

Type
string
is_project

true for projects only, false for fundraisers only; omit for both.

Type
boolean
sort

raised sorts by most raised first. Omit for newest first.

Type
string
Valid values
"raised"
lang

Language to translate card text into.

Type
string
Valid values
"en""ru""uk""es"
limit

Page size, 1–100. A larger value is treated as 100; a missing, zero, negative or non-numeric value as 20.

Type
integer
Minimum
1
Maximum
100
Default
20
offset

Number of campaigns to skip, 0 or more. A negative or non-numeric value is treated as 0.

Type
integer
Minimum
0
Default
0
near

<lat>,<lng> in decimal degrees, e.g. 38.5816,-121.4944: latitude −90..90, longitude −180..180. Lists only the campaigns whose city is within radius_mi of the point (a campaign's point is its city's centroid; one in no city is never listed), nearest first, then most raised (this order replaces sort and the search rank), each with distance_mi. Anything that is not two numbers in range — including an empty value or the parameter sent twice — answers 400 { "error": "invalid_near" }.

Type
string
Example"38.5816,-121.4944"
Pattern
"^\\s*[+-]?(\\d+(\\.\\d*)?|\\.\\d+)\\s*,\\s*[+-]?(\\d+(\\.\\d*)?|\\.\\d+)\\s*$"
radius_mi

Radius in miles around near, 1–100, default 20. A larger value is treated as 100, a smaller one as 1, and a non-numeric one as 20. Ignored without near.

Type
number
Minimum
1
Maximum
100
Default
20

Responses​

Paginated list of campaign cards

application/json
JSON
{
"data": [
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}

Playground​

Server
Variables
Key
Value

Samples​


Create fundraiser​

POST
/fundraisers

Create a new fundraising campaign.
Send status: "draft" to save a draft, which skips the publish gate. Any other status, including an omitted one, runs the publish gate (profile readiness, an image, reasonability and AI review), and a flagged campaign lands pending for review. Note that an omitted status that passes the gate is stored as draft, not active. Send status: "active" to publish.
Requires a bearer session and is gated by the features.fundraiser_creation flag. Publishing requires a verified email address. A caller whose email is not yet verified may still create a draft (status: "draft" sent explicitly) and may hold at most 5 drafts. Past that the answer is 403 with code UNVERIFIED_DRAFT_LIMIT. Any other status from an unverified caller answers 403 with code EMAIL_NOT_VERIFIED. A failing gate answers 403, not 401.

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)

Request Body​

application/json
JSON
"string"

Responses​

Fundraiser created

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Body

Samples​


The home page's featured fundraisers​

GET
/fundraisers/featured

Eight live public campaigns for the home page, as two rows of four. Row one: the four that raised the most (more than nothing). Row two: the four approved in the last 7 days, newest first; with none that new, the newest launch. A row short of four is filled with the campaigns with the most recent activity: an update posted, a comment, a photo or video added, a gift, or a visit through an ambassador's referral link (not a bot's). A campaign appears once. Live means what GET /fundraisers?status=active lists. No authentication. The picks are cached for up to a minute.

Each row is a campaign card as GET /fundraisers returns it, in pick order, in the reader's language (lang, then the language cookie, then Accept-Language), with three more fields.

Parameters​

Query Parameters

category

Category slug, id or display name. Applied before selecting the eight featured campaigns.

Type
string
Max Length
100
lang
Type
string
Valid values
"en""ru""uk""es"

Responses​

Up to eight campaigns, in pick order

application/json
JSON
{
"data": [
{
"featured_reason": "string",
"featured_activity": "string",
"featured_activity_at": "string"
}
]
}

Playground​

Server
Variables
Key
Value

Samples​


List cities with active fundraisers​

GET
/fundraisers/cities

Every city that has at least one active public campaign, for a "near" city picker: one row per city, with how many active public campaigns it has and a representative point to pass to GET /fundraisers?near=<lat>,<lng>. No authentication.

Active means what GET /fundraisers?status=active lists: status active, end date not passed, visibility: public, not deleted. Each campaign counts in the city it is in (the US city its free-text location names, else the city a server-side geocode of it finds); campaigns in no city (not yet geocoded, not a place, or a whole state or country) are not counted, and neither are cities FundlyHub hid. lat/lng is the city's centroid, to 2 decimals: the point near measures every campaign in the city from. Sorted by count, most first, then by label. label is "City, REGION" in the US and "City, Country" elsewhere. Cached for up to 5 minutes.

Responses​

Cities with active public campaigns

application/json
JSON
{
"data": [
{
"label": "Sacramento, CA",
"city": "Sacramento",
"region": "CA",
"country": "US",
"lat": 38.58,
"lng": -121.49,
"count": 12
}
]
}

Playground​

Samples​


Get fundraiser​

GET
/fundraisers/{id}

Retrieve a single fundraiser by UUID — the stored row, without the joined owner and raised figures the slug read adds. Authentication is optional and widens what you can see: a campaign that is not active, paused or ended, is private, or has been deleted, is returned to its owner and answers 404 to everyone else. An unlisted campaign is readable with its link. The owner also gets trustStatus and the private fields they entered, such as beneficiary_contact; every other caller, signed in or not, gets the campaign without them.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required
Format
"uuid"

Query Parameters

lang

Overlay the stored translation for this language, when one exists.

Type
string
Valid values
"en""ru""uk""es"

Responses​

Fundraiser details

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Delete fundraiser​

DELETE
/fundraisers/{id}

Soft-deletes a fundraiser (sets deleted_at). Only the owner may delete. A campaign that has collected funds cannot be deleted and answers 400. Once deleted, GET /fundraisers/{id} and GET /fundraisers/slug/{slug} answer 404 to everyone but its owner.

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*
Type
string
Required
Format
"uuid"

Responses​

Fundraiser soft-deleted

application/json
JSON
{
"success": true,
"campaignId": "string",
"slug": "string",
"deletedAt": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Update fundraiser​

PATCH
/fundraisers/{id}

Update fundraiser details. Only the owner can update. Setting status is how a draft is published (active) or sent for review (pending). Publishing runs the same gate as creation — profile readiness, at least one image, reasonability and AI review — and a flagged campaign lands pending. A first publish (a draft that was never approved, #2488) follows create's rule: a reasonability or AI reject sends it to review rather than answering 403. A campaign that has collected money cannot go back to draft. The owner may end only a live campaign (status: ended), and may not move an ended campaign to any other status: reopening is staff only (409 with code NOT_REOPENABLE).
The caller's email must be verified, with one exception: an unverified caller may edit a campaign that is currently draft, as long as the body sends no status or sends status: "draft". Moving a draft to any other status, or editing a campaign that is not a draft, answers 403 with code EMAIL_NOT_VERIFIED.

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*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

Fundraiser updated

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Get fundraiser by slug​

GET
/fundraisers/slug/{slug}

Retrieve a fundraiser using its URL-friendly slug, with the owner, category name, raised figures and share count joined in. An earlier slug of a published campaign (#2488) answers with the campaign under its current slug, which then differs from the one asked for. Authentication is optional and widens what you can see, exactly as on GET /fundraisers/{id}: unpublished, private and deleted campaigns, the private fields such as beneficiary_contact, and trustStatus are for the owner only.

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)
or

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

lang

Overlay the stored translation for this language, when one exists.

Type
string
Valid values
"en""ru""uk""es"

Responses​

Fundraiser details

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Check slug availability​

GET
/fundraisers/check-slug/{slug}

Check if a fundraiser slug is available. Every campaign counts, including drafts and soft-deleted ones.

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

exclude

A campaign id to ignore — pass the campaign being edited so its own slug reads as available.

Type
string
Format
"uuid"

Responses​

Availability status

application/json
JSON
{
"available": true,
"suggestion": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Get fundraiser statistics​

GET
/fundraisers/{id}/stats

Aggregate totals for one campaign. Readable exactly when GET /fundraisers/{id} is: a campaign that is not active, paused or ended, is private, or has been deleted answers 404 to everyone but its owner. Authentication is optional.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required
Format
"uuid"

Responses​

Campaign statistics

application/json
JSON
{
"data": {
"fundraiser_id": "string",
"title": "string",
"goal_amount_cents": 0,
"total_raised_cents": 0,
"total_tips_cents": 0,
"donation_count": 0,
"donor_count": 0,
"percentage_funded": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get the organizer's figures for a fundraiser​

GET
/fundraisers/{id}/owner-stats

The organizer panel's figures (#2485): raised (net of the card fee, as on the page), unique donors, page views and people reached by shared links. Page views count a visitor once per Fundly per UTC day, human traffic only, from the page's presence heartbeat (POST /presence/fundraisers/{id}). Shares is the share impact's impressions (GET /fundraisers/{id}/share-impact). The owner, an owner or admin of the Fundly's organization team, or staff; anyone else answers 403. No-store response.

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*
Type
string
Required
Format
"uuid"

Responses​

The organizer's figures

application/json
JSON
{
"data": {
"raised_cents": 0,
"donors": 0,
"views": 0,
"shares": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Deprecated

Get campaign stats (broken)​

GET
/campaigns/{id}/stats

Not available: currently answers 500 for every campaign. Use GET /fundraisers/{id}/stats instead.
Intended as a public stat-tile read: raised and goal (cents), donor, update and view counts, dates and days left.

Parameters​

Path Parameters

id*
Type
string
Required
Format
"uuid"

Responses​

Campaign stats (bare object; not currently reachable)

application/json
JSON
{
"id": "string",
"title": "string",
"raised": "string",
"goal": "string",
"donor_count": "string",
"update_count": "string",
"view_count": "string",
"created_at": "string",
"end_date": "string",
"days_left": 0
}

Playground​

Server
Variables
Key
Value

Samples​


Run a pre-publish trust assessment​

POST
/fundraisers/{id}/assess

Runs the full trust assessment the platform applies at publish time, without publishing: profile and campaign blockers, suggestions, a trust score, an AI analysis of the story, and the moderation decision it would lead to. No request body. Campaign owner only.

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*
Type
string
Required
Format
"uuid"

Responses​

Assessment (bare object)

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get a campaign's lifecycle timeline​

GET
/fundraisers/{id}/activity

Lifecycle events (created, submitted for review, approved, rejected, updated, update posted, goal reached, deleted), newest first, with who acted. Campaign owner only; works for soft-deleted campaigns too.
Actions taken by FundlyHub staff appear with role: "admin" and null id, name and email.

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*
Type
string
Required
Format
"uuid"

Responses​

Timeline (unwrapped)

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


End a live campaign​

POST
/fundraisers/{id}/end

Ends a live campaign now, below its goal or not. Donations stay open unless keep_donations_open is false. The owner, a platform admin, or staff holding manage_campaigns (the callers the detail read's viewer.actions.end allows; it is allowed only for a live campaign not already past its end date). The answer carries the updated viewer block. 409 codes: ALREADY_ENDED, PAUSED, NOT_ACTIVE.

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*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"keep_donations_open": true
}

Responses​

The campaign after the change, with its fundraising state

application/json
JSON
{
"data": {
"fundraising": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Stop donations to an ended campaign​

POST
/fundraisers/{id}/stop-donations

Stops fundraising on an ended campaign: nobody can donate after this, and the donate action becomes find_similar. A live campaign whose end date has passed is ended by its deadline in the same step. The owner, a platform admin, or staff holding manage_campaigns. 409 codes: ALREADY_STOPPED, NOT_ENDED.

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*
Type
string
Required
Format
"uuid"

Responses​

The campaign after the change, with its fundraising state

application/json
JSON
{
"data": {
"fundraising": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Report a campaign​

POST
/fundraisers/{id}/report

Flags an active campaign for moderator review. One report per user per campaign: reporting again replaces the earlier reason and details. Requires a verified email address.

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*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"reason": "string",
"details": "string"
}

Responses​

Report recorded

application/json
JSON
{
"success": true,
"message": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Contact the organizer​

POST
/fundraisers/{id}/contact

Sends a message to the campaign's organizer by email. The organizer receives it with the sender's email as the reply address and answers by replying, so the organizer's own address is never revealed unless they reply. Authentication is optional: anyone who can read the campaign may write, with the same visibility rule as GET /fundraisers/{id} (a campaign hidden from the caller answers 404). Limited to five messages an hour per client address and, when signed in, per account. A message with more than three links is refused, and the name may contain none.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"email": "string",
"message": "string",
"name": "string"
}

Responses​

The message was accepted for delivery.

application/json
JSON
{
"sent": true
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Get the featured donor for a campaign​

GET
/fundraisers/{id}/donor-highlight

Feeds the campaign page's "{name} and N others have donated" row: one featured donor and up to three faces, chosen from the latest 100 paid, non-anonymous gifts. Authentication is optional and only changes WHO is featured: a signed-in viewer sees people they follow, or who follow them, first. Only public campaigns that are active, paused or ended return donors; anything else returns empty.

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)
or

Parameters​

Path Parameters

id*

The campaign's UUID; anything else answers 400.

Type
string
Required
Format
"uuid"

Responses​

Featured donor (bare object)

application/json
JSON
{
"featured": {
"name": "string",
"avatar": "string"
},
"avatars": [
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get related campaigns​

GET
/fundraisers/{id}/related

Four lists of other people's live, public campaigns for the discovery rail at the bottom of a campaign page: same category (similar), same US state (nearby), 70–99% funded (almost) and newest (recent). An empty list means that tab is not shown. Public.
Titles and summaries are in the reader's language (?lang=, then the locale cookie, then Accept-Language) when a translation exists; when a language is resolved, each card also carries translation_source and, where the text was replaced, original_title / original_summary.

Parameters​

Path Parameters

id*

The campaign's UUID; anything else answers 400.

Type
string
Required
Format
"uuid"

Query Parameters

limit

Cards per list, clamped to 1–12.

Type
integer
Minimum
1
Maximum
12
Default
12
lang
Type
string
Valid values
"en""ru""uk""es"

Responses​

The four lists (bare object)

application/json
JSON
{
"similar": [
],
"nearby": [
],
"almost": [
],
"recent": [
]
}

Playground​

Server
Variables
Key
Value

Samples​


Get a campaign's outcome report​

GET
/fundraisers/{id}/outcome-report

The creator's published account of what the money did. Returns { "report": null } (not 404) when there is no report, when it is still a draft, and when FundlyHub has hidden it; the three cases are deliberately indistinguishable. Authentication is accepted and does not change the report; owners read their draft from /mine. The campaign itself is readable exactly when GET /fundraisers/{id} is: a campaign that is not active, paused or ended, is private, or has been deleted answers 404 to everyone but its owner.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required
Format
"uuid"

Responses​

The published report, or null

application/json
JSON
{
"report": {
"id": "string",
"fundraiserId": "string",
"authorId": "string",
"title": "string",
"body": "string",
"attachments": [
],
"invoiceCount": 0,
"publishedAt": "string",
"hiddenAt": "string",
"createdAt": "string",
"updatedAt": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Save or publish the outcome report​

PUT
/fundraisers/{id}/outcome-report

Creates or replaces the campaign's single outcome report, and with publish: true publishes it in the same call. Publishing is one-way: a published report stays published on later saves, and publishedAt keeps its first value. Only the campaign's owner may write it. The body is sanitised as rich text; the title is plain text. Shares the media-upload rate limit (30 per 15 minutes). Audit-logged.

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*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"title": "string",
"body": "string",
"attachments": [
],
"invoice_count": 0,
"publish": false
}

Responses​

The saved report

application/json
JSON
{
"report": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Get my campaign's outcome report, draft included​

GET
/fundraisers/{id}/outcome-report/mine

The owner's view of the outcome report: a draft is returned, and a hidden report is returned with hiddenAt set. { "report": null } when none has been written. Campaign owner only.

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*
Type
string
Required
Format
"uuid"

Responses​

The report, or null

application/json
JSON
{
"report": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get aggregate campaign stats​

GET
/analytics/campaigns/aggregate

Counters for the /causes stat tiles. The counts (total_campaigns, active, closed, the goals, the completion average and each top category's campaign_count) are over public, non-deleted campaigns in active or ended status, filtered the same way as the listing. "Closed" means ended, or active with a past end_date. The money and the donors are over the counted campaigns (approved, public, not deleted) that match the same filters: total_raised_cents is the sum of their cards (net of the Stripe fee, tips excluded), so the causes and projects totals add up to the platform's raised.

Counts and sums are returned as numeric strings.

No authentication.

Parameters​

Query Parameters

is_project
Type
string
Valid values
"true""false""1""0"
category

Category slug, id or name.

Type
string

Responses​

The aggregates (bare object)

application/json
JSON
{
"total_campaigns": "128",
"active_campaigns": "string",
"closed_campaigns": "string",
"total_raised_cents": "string",
"total_goal": "string",
"avg_completion_percent": "string",
"total_donors": "string",
"topCategories": [
{
"id": 0,
"name": "string",
"campaign_count": "string",
"total_raised_cents": "string"
}
]
}

Playground​

Server
Variables
Key
Value

Samples​


Register a new user​

POST
/cognito/signup

Create a new account via AWS Cognito. The account is confirmed immediately and a verification link is mailed to the address; the email stays unverified until that link is followed (see GET /cognito/verify-email), and several write endpoints refuse an unverified account. Gated by the features.user_registration flag — when the flag is off the endpoint answers 403. Rate limited to 10 requests per minute per IP. When the risk engine flags the caller (repeated sign-ups from one IP), a reCAPTCHA token must be sent as captchaToken.

Request Body​

application/json
JSON
{
"email": "user@example.com",
"password": "SecureP@ssw0rd!",
"name": "John Doe",
"captchaToken": "string",
"ambassadorInviteToken": "string",
"verifyWith": "string"
}

Responses​

Account created; verification email sent.

application/json
JSON
{
"message": "string",
"userSub": "string",
"userConfirmed": true,
"verification": {
"method": "string",
"length": 6,
"expiresInSeconds": 600,
"maxAttempts": 5,
"resendAfterSeconds": 60
}
}

Playground​

Server
Body

Samples​


Confirm registration​

POST
/cognito/confirm

Confirm a Cognito account with a verification code. Sign-up already confirms the account itself, so this is needed only when POST /cognito/signup answered userConfirmed: false. It does not mark the email verified — that is the link sent by sign-up.

Request Body​

application/json
JSON
{
"email": "string",
"code": "123456"
}

Responses​

Account confirmed

application/json
JSON
{
"message": "string"
}

Playground​

Server
Body

Samples​


Sign in​

POST
/cognito/signin

Authenticate with email and password. Tokens are not returned in the body: the session is set as httpOnly cookies (access_token, id_token, refresh_token) that the browser sends on every later request. Scripts and server-to-server integrations should use an API key instead (see Authentication). When the risk engine flags repeated failures, a reCAPTCHA token must be sent as captchaToken. If Cognito asks for a further challenge, the body carries challengeRequired: true, challengeName and session and no cookies are set.

Request Body​

application/json
JSON
{
"email": "user@example.com",
"password": "string",
"captchaToken": "string"
}

Responses​

Authentication successful; session cookies set.

application/json
JSON
{
"message": "Signin successful",
"user": {
"id": "string",
"email": "string",
"name": "string",
"avatar": "string",
"role": "string",
"email_verified": true,
"created_at": "string",
"profile_slug": "string",
"deletion_scheduled_for": "string"
},
"expiresIn": 0
}

Playground​

Server
Body

Samples​


Refresh tokens​

POST
/cognito/refresh

Exchange the refresh_token cookie for new access and ID token cookies. There is no request body — a refresh token sent in JSON is ignored.

Responses​

Tokens refreshed; new access_token and id_token cookies set.

application/json
JSON
{
"message": "string",
"expiresIn": 0
}

Playground​

Samples​


Sign out​

POST
/cognito/logout

Revoke the session's Cognito tokens (global sign-out) and clear the session cookies. Always answers 200, even without a session.

Responses​

Logged out

application/json
JSON
{
"message": "string"
}

Playground​

Samples​


Get current user​

GET
/cognito/me

The signed-in user's profile. Cookie session only — this endpoint does not accept an Authorization header or an API key. When the short-lived session has expired but the refresh cookie is still valid, it renews the session transparently and sets new cookies. While FundlyHub support is viewing the account on the user's behalf it returns that user with is_impersonating: true and impersonated_by.

Responses​

Current user info

application/json
JSON
{
"user": {
"id": "string",
"email": "string",
"name": "string",
"avatar": "string",
"role": "string",
"email_verified": true,
"created_at": "string",
"profile_slug": "string",
"auth_provider": "string",
"needs_name_update": true,
"deletion_scheduled_for": "string",
"is_impersonating": true,
"impersonated_by": "string"
}
}

Playground​

Samples​


Request password reset​

POST
/cognito/forgot-password

Send a password reset code, preferring the account's verified private contact email. The verified contact or sign-in email can identify the account. With no verified private contact, or where that path cannot serve the account (no usable sign-in identity yet, or an address shared by two accounts), existing Cognito recovery sends the code instead. Answers 200 whether or not an account or deliverable destination exists; it reveals neither account existence nor a private address.

Request Body​

application/json
JSON
{
"email": "string"
}

Responses​

Reset code sent, if the account exists

application/json
JSON
{
"message": "string"
}

Playground​

Server
Body

Samples​


Reset password​

POST
/cognito/reset-password

Set a new password using a reset code. Account-bound application codes contain eight digits, expire after 10 minutes and allow five attempts; they are consumed once, before changing the same Cognito identity's password. Existing Cognito codes remain supported. Recovery never changes email addresses or their verified flags. A federated account retains Apple/Google sign-in when it gains a password option.

The code an address receives is one of two lengths, depending on the account; GET /cognito/auth-policy lists them (passwordResetCode.lengths), the same for every caller, so a code field accepts any of them.

Save and sign in. With signIn: true, a successful reset also signs the person in with the new password: Cognito checks it as POST /cognito/signin does, and the same access_token, id_token and refresh_token httpOnly cookies are set. The answer then carries signedIn. signedIn: false means the reset is done but no session was opened (the account needs a further step); sign in with the new password. Without the flag nothing but the reset happens and no cookie is set.

Request Body​

application/json
JSON
{
"email": "string",
"code": "string",
"newPassword": "string",
"signIn": true
}

Responses​

Password reset

application/json
JSON
{
"message": "string",
"signedIn": true,
"user": {
},
"expiresIn": 0
}

Playground​

Server
Body

Samples​


Initiate OAuth login​

GET
/cognito/oauth/{provider}

Redirect to the Cognito Hosted UI for a third-party provider. After the provider signs the user in, GET /cognito/oauth/callback sets the session cookies and redirects to redirect on the FundlyHub site.

Open this URL in the browser that will be signed in, by navigating to it rather than fetching it. The response sets a short-lived httpOnly cookie that the callback requires. A sign-in completed in a different browser, after about ten minutes, or after a newer sign-in was started in the same browser is refused, and the browser is sent to /auth?error=state_mismatch with no session set; starting again fixes it.

Parameters​

Path Parameters

provider*
Type
string
Required
Valid values
"google""apple"

Query Parameters

redirect

The path on the FundlyHub site to send the browser to after sign-in, such as /campaigns/help-food-bank?tab=updates. It must start with a single /; a full URL on the FundlyHub site is reduced to its path. Any other value, such as a URL on another host or a protocol-relative //host, is replaced by /. Defaults to /.

Type
string
Example"/campaigns/help-food-bank"
Max Length
2048

Responses​

Redirect to the OAuth provider. Sets the short-lived sign-in cookie that the callback checks.

Playground​

Server
Variables
Key
Value

Samples​


Change password​

POST
/cognito/change-password

Changes the password of an email/password account, given the current one.

Cookie session only. A request authenticated with an Authorization: Bearer header or an API key answers 401 Not authenticated. An account that signs in with Google or Apple only has no password to change; it creates one with POST /cognito/set-password.

It works from any of the account's sessions, including one that signed in with Google or Apple: the current password is then checked the way a sign-in checks it.

Rate limited at 10 requests/minute per IP (authentication bucket).

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)

Request Body​

application/json
JSON
{
"currentPassword": "string",
"newPassword": "string"
}

Responses​

Password changed

application/json
JSON
{
"success": true,
"message": "string"
}

Playground​

Server
Authorization
Body

Samples​


Resend the email-verification link​

POST
/cognito/resend-verification

Sends a fresh verification link to the account registered under email (matched case-insensitively against the login address, not the private contact address — for that use POST /users/me/private-contact/resend).

Always answers 200 with the same message, whether or not the address has an account and even when sending fails, so it cannot be used to discover accounts.

No authentication. Rate limited at 5 requests/minute, keyed by user when a session is present and by IP otherwise.

Request Body​

application/json
JSON
{
"email": "string"
}

Responses​

Accepted (sent if the address is known)

application/json
JSON
{
"message": "If this email exists, a verification link has been sent."
}

Playground​

Server
Body

Samples​


Verify an email address (link target)​

GET
/cognito/verify-email

The URL in verification emails. Consumes the token and always redirects to the frontend with the outcome in a query parameter; it never returns JSON.

?verification= is one of: success; invalid (no token); failed (an unknown token); used (the link was already used); expired (the link has expired); contact_taken (the link proved a private contact address another account already holds); error (unexpected failure).

When the link proved the account's login address, the Cognito email_verified attribute is updated too, and any pending ambassador invitation for that address is settled.

No authentication. Rate limited at 300 requests/minute per IP.

Query Parameters

token*
Type
string
Required

Redirect to {FRONTEND_URL}/verify-email?verification=<outcome>

Server
Variables
Key
Value

OAuth callback (Google / Apple)​

GET
/cognito/oauth/callback

The Cognito Hosted UI's redirect_uri after a Google or Apple sign-in, started at GET /cognito/oauth/{provider}. Not called by API clients directly.

Exchanges code for tokens, provisions or links the profile, sets the access_token, id_token and refresh_token httpOnly cookies, and redirects to the redirect path given when the flow was started (carried in the oauth_flow cookie, not in state), or the frontend root.

A connect round trip (started by POST /cognito/sign-in-methods/{provider}/connect) ends here too, and differently: no session cookie is set and no profile is created or moved. The browser is redirected to the returnPath the connect was started with, with connect_provider and connect_result in the query: connected, email_mismatch (the provider account uses another address), email_not_verified, identity_in_use, cancelled, session_changed (the browser is no longer signed in to the account that started it), expired, or failed. An address is never put in that URL; GET /cognito/sign-in-methods answers it as lastConnect.

Every failure is also a redirect, to {FRONTEND_URL}/auth?error=…: state_mismatch (no oauth_flow cookie in this browser, or state does not match it), unverified_account_exists (a provider identity linked to a native account whose address was never verified), blocked_email_domain (the address fails the sign-up email policy), email_linked_elsewhere (a profile at this address belongs to another sign-in, and this one has not proven the address), missing_code, token_exchange_failed, invalid_token, oauth_error (with a message), or the provider's own error with a message.

Parameters​

Query Parameters

code

Authorization code from Cognito.

Type
string
state

The sign-in's one-time nonce, which must match the oauth_flow cookie that GET /cognito/oauth/{provider} set in this browser.

Type
string
error
Type
string
error_description
Type
string

Responses​

Redirect — on success to the redirect path the sign-in was started with (or /) on the frontend, with the session cookies set; on failure to /auth?error=… on the frontend.

Playground​

Server
Variables
Key
Value

Samples​


Code lengths and limits for the sign-in screens​

GET
/cognito/auth-policy

The numbers a sign-in screen draws and the API enforces, from one place on the server: how many digits the email verification code has and how long it lasts, every length a password reset code can have, the password length bounds, and how recent a sign-in must be to create a password. A client reads them here instead of writing them into a field.

The answer is the same for every caller. In particular passwordResetCode.lengths is the whole set of lengths, never the one a given address would receive, so it says nothing about whether an address has an account.

No authentication. Rate limited at 300 requests/minute per IP. Cacheable for five minutes.

Responses​

The policy

application/json
JSON
"string"

Playground​

Samples​


Ways to sign in to the account​

GET
/cognito/sign-in-methods

Which of Google, Apple and a password the signed-in account has, which one this session signed in with, and when each was added or last changed where that is known. Read from the user pool on every call; 503 SIGN_IN_METHODS_UNAVAILABLE when it cannot be read.

currentMethod is null when it cannot be told for certain (for example a Bearer session that sends no access token); it is never a guess. recentSignIn.fresh says whether this session may create a password now. lastConnect is the result of the last connect round trip, for ten minutes; providerEmail is set only for email_mismatch.

An API key and an admin acting as the user get the list, with currentMethod null, recentSignIn.fresh false and lastConnect null.

canDisconnect / disconnectBlockedReason on each provider say whether DELETE /cognito/sign-in-methods/{provider} would remove it.

Rate limited at 30 requests/minute per account and 60 per IP.

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)

Responses​

The account's ways to sign in

application/json
JSON
"string"

Playground​

Server
Authorization

Samples​


Create a password on a Google or Apple account​

POST
/cognito/set-password

Gives an account that signs in with Google or Apple only a password as well. The sign-in address and the password then work too; Google and Apple keep working.

Behind the staff switch features.create_password, which is off by default. While it is off this route answers 404, and GET /cognito/sign-in-methods answers canCreatePassword: false; read that field instead of calling this route to find out.

Refused unless all of these hold: the account has no password (to change one, use POST /cognito/change-password with the current password); the session signed in recently, within recentSignIn.maxAgeSeconds of GET /cognito/auth-policy (a token refresh does not count as signing in); the password is inside the length bounds and satisfies the pool policy (upper, lower, digit and symbol).

Needs a real sign-in session: not an API key, and not an admin acting as the user. The change is written to the audit log and the account's owner is emailed a security notice. Rate limited at 30 requests/minute per account and 60 per IP.

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)

Request Body​

application/json
JSON
{
"newPassword": "string"
}

Responses​

Password created

application/json
JSON
{
"success": true,
"message": "string",
"changedAt": "string"
}

Playground​

Server
Authorization
Body

Samples​


Disconnect Google or Apple​

DELETE
/cognito/sign-in-methods/{provider}

Stops Google or Apple signing in to the account. A provider identity linked into another sign-in is unlinked; a sign-in the provider created that holds nothing else is deleted, and its sessions end with it. Afterwards a sign-in with that provider at the account's address is refused (/auth?error=provider_disconnected) until it is connected again from Settings. The owner is told by email and the change is audited.

Needs a sign-in session (not an API key, not an admin acting as the user). One change per account at a time: 409 SIGN_IN_METHOD_CHANGE_IN_PROGRESS. Rate limited at 30 requests/minute per account and 60 per IP.

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

provider*
Type
string
Required
Valid values
"google""apple"

Responses​

Disconnected; the account's ways to sign in as they are now

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Start connecting Google or Apple​

POST
/cognito/sign-in-methods/{provider}/connect

Opens a round trip that connects Google or Apple to the signed-in account, and answers the address to open in the provider window. The round trip ends at GET /cognito/oauth/callback, which redirects to returnPath with connect_provider and connect_result; the browser stays signed in as it was.

A provider connects only when the provider account uses the account's own sign-in address, and that address is verified. This is the rule sign-in already links by; another address is refused (email_mismatch) and no account is created for it.

The response sets the short-lived httpOnly oauth_flow cookie the callback requires, so the provider window must be opened by the same browser. One round trip per account is open at a time, each lasts ten minutes, and an account may start ten an hour. A completed connect is written to the audit log and the account's owner is emailed a security notice.

Needs a real sign-in session: not an API key, and not an admin acting as the user. Rate limited at 30 requests/minute per account and 60 per IP.

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

provider*
Type
string
Required
Valid values
"google""apple"

Request Body​

application/json
JSON
{
"returnPath": "string"
}

Responses​

The round trip is open

application/json
JSON
{
"provider": "string",
"authorizeUrl": "string",
"expiresInSeconds": 0
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Send an email verification code​

POST
/cognito/email-code/send

Sends the signed-in account's own sign-in address a new verification email with a code to type in and the link. Nothing in the request names an address. A new code replaces the last one. The first code is sent by POST /cognito/signup with verifyWith: code; this is "Resend code".

One code a minute and five an hour per account (429 VERIFICATION_CODE_RATE_LIMITED with retryAfterSeconds and a Retry-After header). After too many wrong codes in total the code path is closed for that address (429 VERIFICATION_CODE_LOCKED) and only the link verifies it.

Needs a real sign-in session. Rate limited at 30 requests/minute per account and 60 per IP.

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)

Responses​

Sent, or nothing to verify

application/json
JSON
{
"sent": true,
"alreadyVerified": true,
"length": 6,
"expiresInSeconds": 600,
"maxAttempts": 5,
"resendAfterSeconds": 60
}

Playground​

Server
Authorization

Samples​


Confirm the email with a typed code​

POST
/cognito/email-code/confirm

Verifies the signed-in account's sign-in address with the code from the verification email. A right code does exactly what following the link does. A code works once, for ten minutes, for the account it was sent to, and allows five tries.

A wrong or expired code answers 400 INVALID_VERIFICATION_CODE, with attemptsLeft when the try was counted. After too many wrong codes in total: 429 VERIFICATION_CODE_LOCKED; the link in the email still works. An address that is already verified answers 200 with alreadyVerified: true.

Needs a real sign-in session. Rate limited at 30 requests/minute per account and 60 per IP.

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)

Request Body​

application/json
JSON
{
"code": "string"
}

Responses​

Verified

application/json
JSON
{
"verified": true,
"alreadyVerified": true
}

Playground​

Server
Authorization
Body

Samples​


Create donation​

POST
/donations

Record a pending donation row against a fundraiser. The Stripe fee is computed server-side and the donor is the session's account.
Requires a bearer session and a verified email address, is gated by the features.donations flag, and is protected by reCAPTCHA v3 (action donation) — send the token as recaptcha_token in the body or in the x-recaptcha-token header. Because this route already requires a verified email, a Cognito session may omit the token; an API key or impersonation session without one answers 400. A token that is sent is always verified: below the score threshold answers 403.
This is the bookkeeping half of a gift. Money is moved by POST /payments/create-intent + POST /payments/confirm.

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​

Header Parameters

x-recaptcha-token

reCAPTCHA v3 token, action donation. Alternative to recaptcha_token in the body.

Type
string
x-app-attest-key-id

iOS only. The App Attest key id (standard base64, as DCAppAttestService.generateKey returns it) of a key registered with POST /app-attest/attest. Send with x-app-attest-assertion.

Type
string
x-app-attest-assertion

iOS only. base64 of the assertion from generateAssertion(keyId, clientDataHash: SHA256(raw request body)). The body must carry a fresh app_attest_challenge. A valid assertion replaces the reCAPTCHA token; the headers alone never do. An invalid one answers 403 with code APP_ATTEST_INVALID, APP_ATTEST_KEY_UNKNOWN (attest a new key) or APP_ATTEST_CHALLENGE_INVALID (fetch a new challenge), unless the request passes reCAPTCHA some other way.

Type
string
x-play-integrity-token

Android only. A Google Play Integrity standard token, requested with requestHash = lowercase hex SHA-256 of the raw request body. The body must carry a fresh play_integrity_challenge from POST /play-integrity/challenge. A valid token replaces the reCAPTCHA token; the header alone never does. An invalid one answers 403 with code PLAY_INTEGRITY_INVALID, PLAY_INTEGRITY_CHALLENGE_INVALID (fetch a new challenge) or PLAY_INTEGRITY_UNAVAILABLE (Google could not be reached), unless the request passes reCAPTCHA some other way.

Type
string

Request Body​

application/json
JSON
"string"

Responses​

Donation created

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Headers
Body

Samples​


Read fundraiser donation map​

GET
/fundraisers/{fundraiserId}/donation-map

Latest 200 paid gifts, newest first, with the donor wall's ledger-derived net cents, moderated messages and canonical public profile routes. Anonymous and guest routes use opaque keys; email and internal identity IDs are never returned. Referral sources come only from recorded, non-self attributions whose sharer is public, active and named. Campaign readability and the owner/admin exception match the donor wall. Unknown or unreadable campaigns return empty data and total zero. Responses are private, no-store. Larger campaigns report has_more; the paginated donations endpoint remains the complete list.

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)
or

Parameters​

Path Parameters

fundraiserId*
Type
string
Required
Format
"uuid"

Responses​

Public map gifts and recorded referrals

application/json
JSON
{
"data": [
{
"id": "string",
"amount_cents": 0,
"currency": "string",
"created_at": "string",
"donor_name": "string",
"donor_avatar": "string",
"donor_href": "string",
"is_anonymous": true,
"anonymous_key": "string",
"comment": "string",
"via": {
"name": "string",
"avatar": "string",
"href": "string"
}
}
],
"pagination": {
"total": 0,
"limit": 0,
"has_more": true
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List donations for fundraiser​

GET
/fundraisers/{fundraiserId}/donations

Public donor wall for one fundraiser: paid donations only, newest first, with a true total count. Donor email and payment identifiers are never returned, and anonymous gifts have their donor name and avatar stripped. Amounts are net (donation minus the Stripe fee) so the list agrees with the creator's balance.
Only a campaign anyone may open by link (live, ended or paused; not private; not deleted) has a public donor wall. For any other campaign the answer is an empty data array with total: 0, the same as for an unknown id, unless the caller is signed in as the campaign's owner or an admin.

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)
or

Parameters​

Path Parameters

fundraiserId*
Type
string
Required
Format
"uuid"

Query Parameters

limit

Page size, clamped to 1–200. A missing, zero, negative or non-numeric value means 20.

Type
integer
Minimum
1
Maximum
200
Default
20
offset

A missing, negative or non-numeric value means 0.

Type
integer
Minimum
0
Default
0

Responses​

Paginated list of donations

application/json
JSON
{
"data": [
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Stop future nonprofit monthly gifts from a paid receipt​

POST
/donations/receipt/{receiptId}/nonprofit-monthly/cancel

The opaque receipt ID or its Stripe PaymentIntent ID is the guest donor's capability. Stops the linked monthly subscription without refunding past gifts or changing the amount or beneficiary. Repeated cancellation is safe. Pending subscription creation is stopped too. A receipt for another product or a guessed identifier cannot cancel a nonprofit gift.

Parameters​

Path Parameters

receiptId*
Type
string
Required
Min Length
16
Max Length
200

Responses​

Future monthly giving stopped

application/json
JSON
{
"data": {
"canceled": true
}
}

Playground​

Server
Variables
Key
Value

Samples​


Get donation by receipt ID​

GET
/donations/receipt/{receiptId}

The donor's receipt. Public — the receipt id is the Stripe PaymentIntent (pi_…) or invoice (in_…) id, a capability token only the donor holds, so treat it as a secret: the response includes the donor's email and card details. Answers for a donation in any payment state, including pending. Responses are Cache-Control: private, no-store. receipt_context identifies the donation flow independently of a tax acknowledgment and is available while nonprofit settlement is pending. A reservation identity is never returned as nonprofit_receipt.

The receipt says where the payment stands (state and the fields beside it). A gift paid by US bank has its receipt from the moment the bank accepts the debit: state is in_progress and bank_arrival is the day the money is expected. money_went is the split the page shows, anonymous_key the donor's public anonymous identity, and receipt_email how many copies were mailed. A creator membership payment is read here too, by its invoice id; membership says who it supports.

Authentication is optional and changes one thing: receipt_email.sent_to lists the addresses only for the signed-in donor the gift belongs to.

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)
or

Parameters​

Path Parameters

receiptId*

The receipt id, or the donation's PaymentIntent id.

Type
string
Required

Responses​

Receipt details

application/json
JSON
{
"data": {
"id": "string",
"fundraiser_id": "string",
"amount_cents": 0,
"net_amount_cents": 0,
"fee_amount_cents": 0,
"tip_amount_cents": 0,
"currency": "string",
"donor_name": "string",
"donor_email": "string",
"is_anonymous": true,
"payment_status": "string",
"payment_clearing": true,
"payment_method_type": "string",
"card_brand": "string",
"card_last4": "string",
"bank_name": "string",
"bank_last4": "string",
"wallet_type": "string",
"fee_kind": "string",
"fee_covered": true,
"state": "string",
"bank_arrival": "string",
"cleared_at": "string",
"payment_cleared_at": "string",
"reversed_at": "string",
"failure_code": "string",
"refunded_at": "string",
"refunded_cents": 0,
"money_went": "string",
"tax_cents": 0,
"anonymous_key": "string",
"receipt_email": "string",
"membership": {
"creator_id": "string",
"creator_name": "string",
"tier_name": "string",
"billing_interval": "string"
},
"receipt_id": "string",
"created_at": "string",
"campaign_title": "string",
"campaign_slug": "string",
"beneficiary_name": "string",
"receipt_context": "string",
"nonprofit_receipt": {
"additionalProperties": "string"
},
"nonprofit_receipt_adjustment": {
"state": "string",
"refunded_charge_cents": 0
},
"nonprofit_monthly": {
"status": "string",
"cancel_at_period_end": true,
"next_payment_at": "string"
},
"fundraiser": {
"title": "string",
"slug": "string"
}
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Send donation receipt​

POST
/donations/receipt/email

Email the receipt for one donation.

The donation is named by receipt_id and nothing else — every figure
in the email is read from that row, so the caller cannot dictate the
contents. receipt_id is the Stripe PaymentIntent id, which is not
guessable.

recipient_email is deliberately free-form, because "send it to my
accountant" is the feature. What bounds it instead is a cap of 5
sends per donation
, after which this returns 429 (code
RECEIPT_EMAIL_CAPPED) for that donation permanently. Every answer
that counted a send carries receipt_email, the counts after it.

A gift whose US bank payment is still in progress can be mailed too:
the copy reads "Bank payment in progress", with the day the money is
expected. The address is kept with the gift once the copy is sent, and
shown again only to the signed-in donor (GET /donations/receipt/{receiptId}).

Authentication is optional; the endpoint is rate limited.

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)
or

Request Body​

application/json
JSON
{
"receipt_id": "pi_3abc123def456",
"recipient_email": "string"
}

Responses​

Receipt sent.

application/json
JSON
{
"success": true,
"message": "string",
"receipt_email": "string"
}

Playground​

Server
Authorization
Body

Samples​


Get a campaign's top donors​

GET
/fundraisers/{fundraiserId}/top-donors

The campaign's biggest donors, one row per person across all their paid gifts. Anonymous donors keep their total but not their name; they are identified by an opaque anonymous_key. When any donor gave in more than one currency, meta.mixed_currency is true and the totals should not be shown. Public.
Only a campaign anyone may open by link (live, ended or paused; not private; not deleted) has a public ranking. For any other campaign the answer is an empty data array, the same as for an unknown id, unless the caller is signed in as the campaign's owner or an admin.

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)
or

Parameters​

Path Parameters

fundraiserId*
Type
string
Required
Format
"uuid"

Query Parameters

limit

Rows to return, clamped to 1–25.

Type
integer
Minimum
1
Maximum
25
Default
5

Responses​

Top donors

application/json
JSON
{
"data": [
{
"id": "string",
"anonymous_key": "string",
"is_anonymous": true,
"donor_name": "string",
"donor_avatar": "string",
"total_cents": 0,
"donation_count": 0,
"last_donation_at": "string",
"currency": "string"
}
],
"meta": {
"mixed_currency": true
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List recent gifts (public feed)​

GET
/donations/recent

Paid gifts for the homepage hero, newest first, in one of two modes:

  • Unscoped (no slugs): the newest limit gifts platform-wide.
  • Per campaign (slugs): the newest perCampaign gifts for
    each named campaign, ranked within that campaign.

Only gifts to public campaigns in active or ended status appear, and gifts a moderator pulled from the feed never do. An anonymous gift has its name, avatar, city and ordinal nulled. amount_cents is the net amount (after the Stripe fee) — the same figure the campaign page shows. Campaign titles are localised as for GET /users/{id}/campaigns.

Publicly cached for 15 seconds. No authentication. Rate limited at 300 requests/minute per IP.

Parameters​

Query Parameters

limit

Unscoped mode only.

Type
integer
Minimum
1
Maximum
24
Default
12
slugs

Comma-separated campaign slugs (or a repeated parameter). At most 6 are used; extras are ignored.

Type
string
perCampaign

Per-campaign mode only.

Type
integer
Minimum
1
Maximum
40
Default
3
lang
Type
string
Valid values
"en""ru""uk""es"

Responses​

The gifts

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

Playground​

Server
Variables
Key
Value

Samples​


Get the donor's note​

GET
/donations/receipt/{receiptId}/note

The note already on a paid donation, so the composer can show it and its remaining writes (3 − note_edit_count). data is null when there is no note.

No authentication: the receipt id is the capability. Rate limited at 300 requests/minute per IP. Direct nonprofit/church notes remain private to this capability read and authorized admin surfaces; no donor identity is included in this response.

Parameters​

Path Parameters

receiptId*

The receipt id, or the donation's Stripe PaymentIntent id.

Type
string
Required

Responses​

The note, or null

application/json
JSON
{
"data": {
"id": "string",
"content": "string",
"gif": {
"id": "xT4uQulxzV39haRFjG",
"title": "string",
"width": 480,
"height": 270,
"mp4_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/giphy.mp4",
"webp_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/giphy.webp",
"gif_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/giphy.gif",
"still_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/giphy_s.gif",
"preview_mp4_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/200w.mp4",
"preview_webp_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/200w.webp",
"preview_width": 200,
"preview_height": 113
},
"created_at": "string",
"updated_at": "string",
"note_edit_count": 0,
"retracted": true,
"hidden": true,
"campaign_slug": "string"
}
}

Playground​

Server
Variables
Key
Value

Samples​


Post, edit or retract the donor's note​

POST
/donations/receipt/{receiptId}/note

Writes the note a donor leaves after payment, authorized by the receipt id because guest donors have no session. The donation must be paid and target a campaign or a nonprofit/church general fund. A missing, unpaid or person-targeted donation gets the same 404.
Campaign notes retain their public comments and creator email behavior. A direct general-fund note has a null fundraiser_id, stays on the private receipt and authorized admin note/moderation surfaces, and does not create a public organization thread or campaign email.

Each donation allows 3 writes in total (post, edits and retract combined); after that every write is 429. Read the current note with the GET first so a reload does not spend one. The note is attributed to an account only when the caller is signed in as the donor.

Authentication is optional. Behind features.comments. Rate limited at 5 requests/minute per IP.

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)
or

Parameters​

Path Parameters

receiptId*

The receipt id, or the donation's Stripe PaymentIntent id.

Type
string
Required

Request Body​

application/json
JSON
{
"content": "string",
"retract": true
}

Responses​

Note retracted

application/json
JSON
{
"data": {
"id": "string",
"retracted": true
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Categories​


List categories​

GET
/categories

Get all active fundraiser categories, ordered by display_order.

Responses​

List of categories

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

Playground​

Samples​


Get all category statistics​

GET
/categories/stats

Organization count, active-campaign count and funds raised for every active category, in display_order. Only public campaigns and approved or verified organizations are counted; funds raised are over the category's counted campaigns (approved, public, not deleted).

Responses​

Statistics for all categories

application/json
JSON
{
"data": [
{
"category_name": "string",
"category_slug": "string",
"organization_count": 0,
"campaign_count": 0,
"total_raised_cents": 0
}
]
}

Playground​

Samples​


Get category​

GET
/categories/{id}

A single active category, addressed by its numeric id or its slug.

Parameters​

Path Parameters

id*

Category id (an integer) or slug.

Type
string
Required

Responses​

Category details

application/json
JSON
{
"data": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Get category statistics​

GET
/categories/{id}/stats

Organization count, active-campaign count and funds raised for one category. Only public campaigns with status active and approved or verified organizations are counted.

Parameters​

Path Parameters

id*

Category id (an integer) or slug.

Type
string
Required

Responses​

Category statistics with fundraiser counts

application/json
JSON
{
"data": {
"category_name": "string",
"organization_count": 0,
"fundraiser_count": 0,
"total_raised_cents": 0
}
}

Playground​

Server
Variables
Key
Value

Samples​


List organizations​

GET
/organizations

Public list of approved/verified, non-deleted organizations. Returns their public fields plus a true total count. Rate-limited. Every organization is a non-profit now (kind: nonprofit); the non-profit directory with its cards and filters is GET /nonprofits.

Parameters​

Query Parameters

verification_status

Only approved or verified take effect; other values fall back to the default public filter.

Type
string
Valid values
"approved""verified"
country
Type
string
limit

Clamped to 1..100. Defaults to 20.

Type
integer
Minimum
1
Maximum
100
Default
20
offset
Type
integer
Minimum
0
Default
0

Responses​

Paginated list of organizations

application/json
JSON
{
"data": [
{
"id": "string",
"legal_name": "string",
"dba_name": "string",
"slug": "string",
"country": "string",
"address": "string",
"website": "string",
"logo": "string",
"banner_image": "string",
"description": "string",
"mission": "string",
"categories": [
"string"
],
"social_links": {
"additionalProperties": "string"
},
"founded_year": 0,
"verification_status": "string",
"verification_completed_at": "string",
"kind": "string",
"parent_organization_id": "string",
"created_at": "string",
"updated_at": "string"
}
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}

Playground​

Server
Variables
Key
Value

Samples​


Deprecated

Create organization​

POST
/organizations

Retired: this creates nothing. A request that passes the checks below always answers 410, pointing to /nonprofits/new; add a non-profit with POST /nonprofits instead. The request body below is the old multi-tier onboarding payload, kept for reference.
Requires a bearer session and a verified email address — an unverified session answers 403. Calls are capped at 5 per hour per (IP, user).

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)

Request Body​

application/json
JSON
{
"legal_name": "string",
"ein": "12-3456789",
"country": "string",
"website": "string",
"description": "string",
"categories": [
"string"
],
"kind": "company",
"parent_organization_id": "string",
"dbas": [
{
"dba_name": "string"
}
],
"locations": [
{
"label": "string",
"address": {
"additionalProperties": "string"
}
}
]
}

Responses​

Playground​

Server
Authorization
Body

Samples​


Get the caller's organizations​

GET
/organizations/me

Organizations the authenticated caller holds an active org-scoped role on. Flat array, no pagination.

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)

Responses​

Caller's organizations

application/json
JSON
{
"data": [
{
"id": "string",
"legal_name": "string",
"dba_name": "string",
"slug": "string",
"country": "string",
"website": "string",
"logo": "string",
"description": "string",
"verification_status": "string",
"kind": "string",
"parent_organization_id": "string",
"created_at": "string",
"updated_at": "string",
"role_name": "string",
"role_display_name": "string",
"role_hierarchy_level": 0,
"org_role_title_id": "string",
"org_role_title_label": "string",
"org_role_title_category": "string",
"start_date": "string",
"end_date": "string",
"is_current": true,
"affiliation_description": "string"
}
]
}

Playground​

Server
Authorization

Samples​


Get organization by ID or slug​

GET
/organizations/{id}

Public read of a single org by UUID or slug. Anonymous callers only see approved/verified non-deleted orgs; an active member of the organization can also read it in its other states and additionally receives suspension/rejection metadata (suspension_reason, rejected_reason, suspended_until) and the unredacted contact_email. Authentication is therefore optional but not inert. Every organization is a non-profit now (kind: nonprofit), so children, which lists a conglomerate's companies, is always empty; the non-profit page itself is GET /nonprofits/{slug}.

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)
or

Parameters​

Path Parameters

id*

Organization UUID or slug.

Type
string
Required

Responses​

Organization detail

application/json
JSON
{
"data": {
"id": "string",
"legal_name": "string",
"dba_name": "string",
"slug": "string",
"country": "string",
"website": "string",
"logo": "string",
"banner_image": "string",
"description": "string",
"mission": "string",
"verification_status": "string",
"kind": "string",
"parent_organization_id": "string",
"address": "string",
"categories": [
"string"
],
"social_links": {
"additionalProperties": "string"
},
"founded_year": 0,
"verification_completed_at": "string",
"contact_email": "string",
"contact_email_public": true,
"suspension_reason": "string",
"rejected_reason": "string",
"suspended_until": "string",
"created_at": "string",
"updated_at": "string",
"primary_location": {
"id": "string",
"label": "string",
"address": {
"additionalProperties": "string"
},
"is_publicly_visible": true
},
"dbas": [
{
"id": "string",
"dba_name": "string",
"is_default": true
}
],
"children": [
{
"id": "string",
"slug": "string",
"legal_name": "string",
"logo": "string",
"verification_status": "string"
}
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get organization stats​

GET
/organizations/{id}/stats

Campaign counts, funds raised, unique donors and followers for an org (UUID or slug). A bare object — not wrapped in data. Every figure but the followers is over the org's counted campaigns: approved, public, not deleted, and active, pending, paused or ended.

Parameters​

Path Parameters

id*
Type
string
Required

Responses​

Organization stats

application/json
JSON
{
"campaignCount": 0,
"totalCampaignCount": 0,
"totalFundsRaisedCents": 45600000,
"uniqueDonorCount": 0,
"followerCount": 0
}

Playground​

Server
Variables
Key
Value

Samples​


Get organization public team​

GET
/organizations/{id}/members

Public "Our team" list for an org (UUID or slug). Filtered to active, publicly-visible, non-expired memberships whose user profile is not private.

Parameters​

Path Parameters

id*
Type
string
Required

Responses​

Organization team members

application/json
JSON
{
"data": [
{
"user_id": "string",
"name": "string",
"profile_slug": "string",
"avatar": "string",
"kyc_verified_at": "string",
"org_role_title_id": "string",
"role_title_label": "string",
"role_title_category": "string",
"role_title_sort_order": 0,
"start_date": "string",
"end_date": "string",
"is_current": true,
"affiliation_description": "string",
"rbac_role_name": "string",
"rbac_hierarchy_level": 0
}
]
}

Playground​

Server
Variables
Key
Value

Samples​


Get organization updates feed​

GET
/organizations/{id}/updates

Public, latest-first updates feed for an org (UUID or slug). Offset pagination, limit clamped 1..50.

Parameters​

Path Parameters

id*
Type
string
Required

Query Parameters

limit
Type
integer
Minimum
1
Maximum
50
Default
20
offset
Type
integer
Minimum
0
Default
0

Responses​

Organization updates

application/json
JSON
{
"data": [
{
"id": "string",
"org_id": "string",
"author_user_id": "string",
"title": "string",
"body": "string",
"cover_image": "string",
"published_at": "string",
"created_at": "string",
"updated_at": "string",
"author_name": "string",
"author_profile_slug": "string",
"author_avatar": "string"
}
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}

Playground​

Server
Variables
Key
Value

Samples​


List public organization documents​

GET
/organizations/{id}/documents/public

Approved trust documents an organization admin has marked public, for an approved or verified org (UUID or slug). Metadata only — there is no public download.

Parameters​

Path Parameters

id*
Type
string
Required

Responses​

Public documents

application/json
JSON
{
"data": [
{
"id": "string",
"doc_type": "string",
"original_filename": "string",
"content_type": "string",
"size_bytes": 0,
"reviewed_at": "string",
"created_at": "string"
}
]
}

Playground​

Server
Variables
Key
Value

Samples​


List organization role titles​

GET
/org-role-titles

Public reference list of non-deprecated position titles (the LinkedIn-style "position" picker on the org-admin Members page), ordered by sort_order then label. These titles are display-only and carry no permissions — they are distinct from the RBAC roles org_owner / org_admin / org_viewer. Pass an id from this list as org_role_title_id when adding a member.

Responses​

Role titles

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

Playground​

Samples​


List campaign locations by US state​

GET
/locations

US states that currently have active campaigns, with a campaign count per state, sorted by state name. The state is parsed out of each campaign's free-text location (a two-letter code or full state name); campaigns whose location cannot be matched to a state are left out. Cached for 5 minutes. Drives the location filter on campaign browse.

Responses​

States with active campaigns

application/json
JSON
{
"data": [
{
"code": "CA",
"name": "California",
"count": 0
}
]
}

Playground​

Samples​


Report an organization​

POST
/organizations/{id}/report

Flags an organization for review by FundlyHub's trust team. A signed-in caller with a verified email address can report; no relationship to the organization is needed. Each user holds at most one report per organization — reporting again overwrites the earlier category and details and puts the report back to pending.

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*

Organization UUID (a slug is not accepted and answers 404).

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"category": "string",
"details": "string"
}

Responses​

Report recorded

application/json
JSON
{
"success": true
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Users​


Get user profile​

GET
/users/{id}

Public profile by UUID or profile_slug. Authentication is optional: the caller's own profile may include their email, and a profile marked private is redacted for every other viewer.
WHAT SURVIVES THE REDACTION (#1696): id, name, avatar, profile_slug, created_at and the four counters — campaign_count, total_funds_raised, follower_count and following_count — with their REAL values. The leaderboard has always published a private person's rank and impact, so a profile reporting zeroes beside a board reporting real figures would be two surfaces disagreeing about one person rather than privacy.
Dropped: bio, location, website, social_links, email, phone, private_contact_email, display_name, account_status, kyc_verified_at and account_kind. The last three are more than a name — a Team chip and a verification tick say something about the person, which is exactly what a private profile withholds.

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)
or

Parameters​

Path Parameters

id*

User UUID or profile_slug.

Type
string
Required

Responses​

User profile — a bare object, not wrapped in data. The fields marked own profile only are present only when the caller is the profile's owner.

application/json
JSON
{
"id": "string",
"name": "string",
"display_name": "string",
"email": "string",
"avatar": "string",
"bio": "string",
"location": "string",
"website": "string",
"social_links": {
"additionalProperties": "string"
},
"links": [
],
"profile_visibility": "string",
"profile_slug": "string",
"account_status": "string",
"role": "string",
"campaign_count": 0,
"total_funds_raised": 0,
"follower_count": 0,
"following_count": 0,
"phone": "string",
"private_contact_email": "string",
"private_contact_verified": true,
"kyc_verified_at": "string",
"account_kind": "string",
"created_at": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Update user profile​

PATCH
/users/{id}

Update your own profile. The fields below are the whole writable set;
anything else in the body is ignored rather than rejected.

location has been accepted since #1654 and was missing from this
schema; profile_visibility is new in #1696.

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*
Type
string
Required

Request Body​

application/json
JSON
{
"name": "string",
"profile_slug": "string",
"links": [
"string"
],
"social_links": {
"additionalProperties": "string"
},
"location": "Sacramento, CA",
"profile_visibility": "private",
"show_followed_cities_to_friends": true
}

Responses​

Profile updated

application/json
JSON
{
"success": true,
"message": "string",
"links": [
]
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Get a user's organization memberships​

GET
/users/{id}/organizations

Public org memberships for a user (UUID or profile_slug). Memberships marked not publicly visible, memberships of deleted organizations, and every membership of a private profile — even to its owner — are left out. 404 only when the user does not exist.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required

Responses​

User organizations

application/json
JSON
{
"data": [
{
"id": "string",
"legal_name": "string",
"dba_name": "string",
"slug": "string",
"logo": "string",
"verification_status": "string",
"kind": "string",
"role_name": "string",
"role_display_name": "string",
"org_role_title_label": "string",
"start_date": "string",
"end_date": "string",
"is_current": true,
"affiliation_description": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get a user's public activity feed​

GET
/users/{id}/activity

The public activity feed on a profile (#1693): six kinds of public act, ordered newest first. Accepts a UUID or a profile_slug; auth-optional.

campaign_launched (the campaign passed approval), achievement_earned (a badge, read through the same public projection the profile badge strip uses), commented, donated, update_posted and endorsed (declared, or their referral link for that campaign recorded a visit — the definition the Endorsed-by dialog and the profile chip already use).

Each row inherits the visibility of the thing it reports: a refunded or charged-back gift, a hidden or retracted comment, a withdrawn update, a soft-deleted campaign and a revoked award are all simply absent. Anonymous gifts never appear, for anyone, including the profile's owner. A campaign that is unlisted, private, paused, draft or deleted is never named. A profile with show_donations_on_profile off keeps every row type except donated.

All money is INTEGER CENTS, never dollars. amount_cents on a donated row is what the gift raised — net of fees, tips excluded: its ledger credit less its Stripe fee — which is the same figure the profile's Impact stat sums and the campaign's donor wall prints, so they cannot disagree.

Paging is a KEYSET cursor, not an offset: pass the nextCursor from the previous page back as cursor. A cursor this endpoint did not issue is a 400. nextCursor is null on the last page.

Parameters​

Path Parameters

id*

A user UUID or a profile_slug.

Type
string
Required

Query Parameters

group

Filter chip. giving is donated; fundraising is campaign_launched and update_posted; community is commented, achievement_earned and endorsed. An unrecognised value falls back to all. The summary block is NOT filtered — it is the strip above the chips and always counts every type.

Type
string
Valid values
"all""giving""fundraising""community"
Default
"all"
limit
Type
integer
Minimum
1
Maximum
50
Default
20
cursor

The opaque nextCursor from the previous page. Omit for page 1.

Type
string

Responses​

A page of the feed. A private profile answers 200 with an empty items array to everybody but its owner, rather than 404 — the page renders and the section is simply empty.

application/json
JSON
{
"items": [
{
"id": "donated:6f1c2a2e-2b0a-4c6f-9a7e-2f0b9c1d4e55",
"type": "string",
"at": "string",
"campaign": {
"id": "string",
"slug": "string",
"title": "string",
"cover_image": "string"
},
"amount_cents": 0,
"currency": "string",
"excerpt": "string",
"gif": {
"id": "xT4uQulxzV39haRFjG",
"title": "string",
"width": 480,
"height": 270,
"mp4_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/giphy.mp4",
"webp_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/giphy.webp",
"gif_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/giphy.gif",
"still_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/giphy_s.gif",
"preview_mp4_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/200w.mp4",
"preview_webp_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/200w.webp",
"preview_width": 200,
"preview_height": 113
},
"achievement": {
"id": "string",
"title": "string",
"tagline": "string",
"tier": "string",
"badge_art_url": "string",
"background_color": "string"
}
}
],
"nextCursor": "string",
"joinedAt": "string",
"summary": {
"windowDays": 0,
"total": 0,
"byType": {
"additionalProperties": 0
}
}
}

Playground​

Server
Variables
Key
Value

Samples​


Get a user's public donation activity​

GET
/users/{id}/donation-activity

"Causes I support" on a public profile — the aggregate plus one entry per supported campaign. Accepts a UUID or a profile_slug; 404 only when the user does not exist.

Anonymous gifts are excluded, always. A profile that is private, or that has show_donations_on_profile off, answers zeroes. Only settled (paid) gifts count, and only to a campaign a reader could actually open — a deleted, draft, private, paused or unlisted campaign is neither listed nor counted (#1694).

Each entry in recent_supported_causes is a full campaign card, the same read model /fundraisers serves the /causes grid from, so the section renders the card the rest of the product uses. total_cents figures are INTEGER CENTS.

total_donated_cents is the PUBLIC figure and excludes anonymous gifts. It is what those gifts raised — net of fees, tips excluded: each gift's ledger credit less its Stripe fee, over its paid and refunded gifts to public campaigns — so it agrees with the profile activity feed's per-gift figures and with the campaign cards those gifts went to. /donor/me/summary counts every gift the owner made and is a different number by design; do not compare them.

currency is the ISO 4217 code total_donated_cents is denominated in, taken from the donor's most recent gift that named one. Read it: minor units are not always hundredths, so formatting the total without it is a 100x error for a zero-decimal currency, not just the wrong symbol.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required

Query Parameters

limit

Causes per page. The profile rail asks for 6; the dedicated page asks for more.

Type
integer
Minimum
1
Maximum
48
Default
6
offset
Type
integer
Minimum
0
Default
0

Responses​

User donation activity

application/json
JSON
{
"data": {
"total_donated_cents": 0,
"currency": "USD",
"causes_supported_count": 0,
"recent_supported_causes": [
{
}
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get a user's Impact and leaderboard rank​

GET
/users/{id}/impact

The figures behind the Impact stat on a public profile, read from the same all-time field /leaderboard is served from, so the two surfaces always agree. Accepts a UUID or a profile_slug. All money is integer cents. A user who has not moved money answers zeroes and a null rank rather than 404 — their referral impressions are still reported. A private profile answers its headline impact figure only, with the rest of the breakdown zeroed and rank null, to everybody but its owner. If the leaderboard field cannot be read the endpoint answers 200 with zeroes rather than failing the profile.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required

Responses​

The user's Impact breakdown

application/json
JSON
{
"impact": {
"rank": 0,
"impact": 0,
"raised": 0,
"given": 0,
"driven": 0,
"impressions": 0,
"gifts": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get a user's permissions​

GET
/users/{id}/permissions

Role assignments and effective permissions for the user named in the path. Requires a bearer session. Callers may read their own; reading another user's requires the view_all_users permission, and any other caller gets 403. Answers can be several minutes old; for the caller's own, current permissions use GET /me/capabilities.

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*
Type
string
Required
Format
"uuid"

Responses​

User permissions — a bare object.

application/json
JSON
{
"roles": [
{
"role_name": "string",
"context_type": "string",
"context_id": "string",
"hierarchy_level": 0
}
],
"permissions": [
"string"
],
"roleDefinitions": [
{
"name": "string",
"hierarchy_level": 0,
"context_type": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get user preferences​

GET
/users/{id}/preferences

Returns the caller's own preferences. Callers may only access their own — any other path id answers 403.
Accounts with no stored row get a default object rather than a 404, so the returned key set differs slightly between the two cases. suppressed_scopes is always present: it lists the notification scopes this account's email address has been unsubscribed from via an emailed link. Those suppressions are keyed by address, not by account, so they stop mail even while the matching toggle reads true — which is exactly why they are reported separately rather than folded into the toggles.

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*
Type
string
Required

Responses​

User preferences

application/json
JSON
{
"user_id": "string",
"email_notifications": true,
"push_notifications": true,
"notify_receipts": true,
"achievement_hints": true,
"suppressed_scopes": [
"string"
],
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Update user preferences​

PUT
/users/{id}/preferences

Upserts the caller's own preferences and returns the stored row. Callers may only update their own — any other path id answers 403. suppressed_scopes is read-only and is not accepted here; an address unsubscribed by an emailed link can only be resubscribed through /unsubscribe/resubscribe.

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*
Type
string
Required

Request Body​

application/json
JSON
{
"view_mode": "string",
"theme": "string",
"admin_theme": "string",
"recent_searches": [
"string"
],
"search_suggestions": true,
"email_notifications": true,
"push_notifications": true,
"reduced_motion": true,
"high_contrast": true,
"font_size": "string",
"has_completed_onboarding": true,
"has_skipped_onboarding": true,
"last_visited": "string",
"auto_save": true,
"default_category": "string",
"notify_donations": true,
"notify_comments": true,
"notify_updates": true,
"notify_milestones": true,
"notify_campaign_status": true,
"notify_followers": true,
"notify_org_status": true,
"notify_payouts": true,
"notify_digest": true,
"notify_donation_reminders": true,
"notify_endorsement_requests": true,
"notify_communities": true,
"notify_sponsors": true,
"show_sponsor_perks": true,
"notify_nearby_perks": true,
"notify_perk_changes": true,
"notify_sponsor_posts": true,
"notify_resources": true,
"notify_my_help": true,
"notify_free_stuff": true,
"notify_events": true,
"notify_receipts": true,
"achievement_hints": true
}

Responses​

Updated preferences — the stored row.

application/json
JSON
{
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Upload user avatar​

POST
/users/{id}/avatar

Upload the caller's own avatar from a base64-encoded image — JPEG, PNG or WebP, at most 5 MB decoded. Callers may only update their own.

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*
Type
string
Required

Request Body​

application/json
JSON
{
"fileBase64": "string",
"contentType": "string"
}

Responses​

Avatar uploaded

application/json
JSON
{
"success": true,
"avatar_url": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete user avatar​

DELETE
/users/{id}/avatar

Delete the caller's own avatar. Callers may only delete their own.

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*
Type
string
Required

Responses​

Avatar deleted

application/json
JSON
{
"success": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Self-deactivate account​

POST
/users/{id}/deactivate

Deactivates the caller's own account and clears auth cookies. Callers may only deactivate their own.

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*
Type
string
Required

Responses​

Account deactivated

application/json
JSON
{
"success": true,
"message": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get the pending account deletion​

GET
/users/me/deletion-request

The caller's pending account deletion. awaiting_payout is true once the 30 days have passed and deletion is waiting for money owed to the caller to be paid out.

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)

Responses​

A deletion is pending.

application/json
JSON
{
"status": "string",
"requested_at": "string",
"scheduled_for": "string",
"awaiting_payout": true
}

Playground​

Server
Authorization

Samples​


Request account deletion​

POST
/users/me/deletion-request

Schedules deletion of the caller's account 30 days from now. In the same step every personal campaign of theirs that is active, paused or pending is closed (status ended), so it stops taking donations, and every session is signed out: the cookies of this one are cleared, every refresh token is revoked and every API key is revoked. An access token already issued keeps working until it expires (at most an hour).

The person can sign in again during the 30 days, which is how they reach Cancel; GET /cognito/me and the sign-in response then carry deletion_scheduled_for. They cannot publish or reopen a campaign meanwhile (publish blocker account_deletion_pending).

After the 30 days the account is deleted once nothing is owed to the person: money not yet paid out is paid out to their verified payout account first, and deletion waits for it. Donation and payout records are kept, anonymised; everything else is deleted, including the sign-in. Campaigns they created for an organization are the organization's: they keep running, and when the deletion completes they are handed to an owner of that organization, unchanged.

Idempotent: while a request is pending, calling again returns 200 with the same schedule and changes nothing. Requires a signed-in session; refused for an API key and while FundlyHub support is viewing the account.

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)

Responses​

A deletion was already pending; its schedule, unchanged.

application/json
JSON
"string"

Playground​

Server
Authorization

Samples​


Cancel account deletion​

DELETE
/users/me/deletion-request

Cancels the caller's pending account deletion. Allowed until the deletion has completed. Campaigns the request closed go back to the status they had, if they are still closed and not deleted; any other campaign is left as it is. Requires a signed-in session; refused for an API key and while FundlyHub support is viewing the account.

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)

Responses​

Cancelled.

application/json
JSON
{
"status": "string",
"cancelled_at": "string",
"restored_campaign_ids": [
"string"
]
}

Playground​

Server
Authorization

Samples​


Set private contact email​

PUT
/users/me/private-contact

Sets the caller's private contact email (visible only to the FundlyHub team). Validates format, blocks disposable domains, and triggers a verification email when the address changes — unless it is the caller's own verified sign-in address, which counts as verified at once. Shares the verification-resend limit: 5 requests per minute per user.

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)

Request Body​

application/json
JSON
{
"email": "string"
}

Responses​

Private contact email saved

application/json
JSON
{
"success": true,
"email": "string",
"verified": true,
"message": "string"
}

Playground​

Server
Authorization
Body

Samples​


Set phone number​

PUT
/users/me/phone

Sets the caller's phone number, unverified. A changed number is no longer verified (phone_verified goes back to false); verify it with a texted code through /users/me/phone-verification/send and /confirm.

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)

Request Body​

application/json
JSON
{
"phone": "string"
}

Responses​

Phone number saved

application/json
JSON
{
"success": true,
"phone": "string",
"message": "string"
}

Playground​

Server
Authorization
Body

Samples​


Phone verification status​

GET
/users/me/phone-verification

Whether the caller can verify a phone with a texted code here (available), whether their phone is verified (profiles.phone_verified, which free stuff requires), and the last four digits of the number on file. Never the number itself.

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)

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization

Samples​


Text me a code​

POST
/users/me/phone-verification/send

Sets the caller's Cognito phone_number to this number and Cognito texts a code to it (the attribute's own verification, with the session's access token). The profile does not change until the code is confirmed. US and Canadian numbers may be written without +1; others start with + and the country code. Limits: a code a minute, 5 an hour and 10 a day per person, and 3 an hour and 5 a day per number whoever asks (429 too_many_codes with details.retry_after_seconds and Retry-After). Already verified with this number: nothing is sent. 503 phone_verification_unavailable ("Phone verification isn't available yet") until the service is switched on and the user pool can send SMS, or when the session's access token can't make these calls. Refused while impersonating and for API keys. The number and the code are never logged.

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)

Request Body​

application/json
JSON
{
"phone": "(916) 555-0108"
}

Responses​

The code was sent (or the number is already verified).

application/json
JSON
{
"sent": true,
"alreadyVerified": true,
"phone": "string",
"resendAfterSeconds": 0
}

Playground​

Server
Authorization
Body

Samples​


Confirm the texted code​

POST
/users/me/phone-verification/confirm

Cognito checks the code (VerifyUserAttribute on phone_number). Once Cognito reports the number verified, the profile records the number Cognito verified and phone_verified = true, and the change is audited (user.phone_verified). 10 tries an hour per person (429 too_many_tries). Same 401, 403 and 503 answers as send.

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)

Request Body​

application/json
JSON
{
"code": "123456"
}

Responses​

Verified.

application/json
JSON
{
"phoneVerified": true,
"phone": "string"
}

Playground​

Server
Authorization
Body

Samples​


Get publish-readiness checklist​

GET
/users/me/publish-readiness

Returns the publish-gate checklist for the caller (hard blockers + soft suggestions). When the checklist is unavailable the answer is ready: true, checklist: null and migration_pending: true.

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)

Responses​

Publish-readiness status

application/json
JSON
{
"ready": true,
"checklist": {
"additionalProperties": true
},
"blockers": [
"string"
],
"suggestions": [
"string"
],
"migration_pending": true
}

Playground​

Server
Authorization

Samples​


List the people you have blocked​

GET
/users/me/blocks

The people the caller has blocked, newest first, with the public name (never an email), avatar and handle. Rate limited per account.

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​

Query Parameters

limit
Type
integer
Default
50
Minimum
1
Maximum
100
offset
Type
integer
Default
0
Minimum
0

Responses​

Blocked people

application/json
JSON
{
"data": [
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Block a person​

POST
/users/{id}/block

Blocks a person (App Store Guideline 1.2). id is a profile UUID or handle, with or without @, as on GET /users/{id}. Idempotent: 201 when the block is new, 200 when it already existed.

A block, enforced by the server for every client:

  • the caller stops receiving that person's comments and replies
    (GET /fundraisers/{fundraiserId}/comments) and the commented rows
    of their profile activity;

  • follows between the two are removed in BOTH directions, and neither
    can follow the other while the block stands
    (POST /subscriptions answers 403 USER_BLOCKED);

  • the blocked person cannot comment on the caller's campaigns or reply
    to the caller's comments (403 COMMENTING_BLOCKED).

Nobody is notified. Unblocking does not restore removed follows.

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*

Profile UUID or handle.

Type
string
Required

Responses​

Already blocked; nothing changed

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Unblock a person​

DELETE
/users/{id}/block

Removes the caller's block of this person. Idempotent: 200 whether or not a block existed. Follows the block removed are not restored.

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*

Profile UUID or handle.

Type
string
Required

Responses​

Not blocked

application/json
JSON
{
"data": {
"user_id": "string",
"blocked": true
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Check profile slug availability​

GET
/users/check-slug/{slug}

Whether a profile handle (the @name in a profile's address) is free to take. The value is trimmed, a leading @ is dropped and it is lower-cased before the check. available is false for a reserved handle, a handle another profile uses, and a handle another account used before (a retired handle stays with its first owner, so its old links cannot be taken over). Pass your own user id as exclude so that your current handle and the ones you retired count as available. No authentication.

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

exclude

User id to exclude from the uniqueness check.

Type
string

Responses​

Slug availability

application/json
JSON
{
"available": true
}

Playground​

Server
Variables
Key
Value

Samples​


Get a profile's trust badges​

GET
/users/{id}/badges

The trust badges (e.g. identity verified, brand ambassador) on a profile, newest first. id is a UUID or a profile slug.

A private profile answers { "badges": [] } to everyone but its owner — the same answer as a profile with no badges, so the response does not confirm that the profile is private.

Authentication is optional; it only matters for the owner.

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)
or

Parameters​

Path Parameters

id*

Profile UUID or profile slug.

Type
string
Required

Responses​

The badges (bare object, not the data envelope)

application/json
JSON
{
"badges": [
{
"id": "string",
"badgeType": "string",
"metadata": {
"additionalProperties": "string"
},
"awardedAt": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List a profile's campaigns​

GET
/users/{id}/campaigns

The campaigns shown on a profile: those the person runs, those they have endorsed (is_endorsed: true), and public active/ended campaigns naming them as an accepted beneficiary (is_beneficiary: true), newest activity first. id is a UUID or a profile slug.

A visitor sees public campaigns in active or ended status. The profile's owner, identified by the session (there is no query flag for it), additionally sees their own draft, pending and paused campaigns and their unlisted and private ones. A private profile shows only its public owned campaigns to visitors; endorsements and beneficiary relationships stay hidden.

Titles and summaries are returned in the reader's language when a translation exists (?lang=, then the language cookie, then Accept-Language).

Rate limited at 300 requests/minute per IP.

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)
or

Parameters​

Path Parameters

id*

Profile UUID or profile slug.

Type
string
Required

Query Parameters

limit
Type
integer
Minimum
1
Maximum
100
Default
60
lang
Type
string
Valid values
"en""ru""uk""es"

Responses​

The profile's campaign cards

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get a profile's share image​

GET
/users/{id}/og-image

The 1200×630 PNG a shared profile link unfurls into: name, avatar, account kind, location, join date and campaign count. Intended for social crawlers. id is a UUID or a profile slug. The name is the profile's display_name: the name, else @handle, else FundlyHub member, never an email address.

A private profile, like a missing one, is a 404. Cached for five minutes, server-side and via Cache-Control.

No authentication. Rate limited at 300 requests/minute per IP.

Parameters​

Path Parameters

id*

Profile UUID or profile slug.

Type
string
Required

Responses​

The image

image/png

Playground​

Server
Variables
Key
Value

Samples​


Resend the private-contact verification email​

POST
/users/me/private-contact/resend

Sends a new verification link to the caller's private contact email (set with PUT /users/me/private-contact). Links last 24 hours; a verified private contact email is required before publishing a campaign. If the address is already verified, nothing is sent and the response says so.

Rate limited at 5 requests/minute per user, a bucket shared with PUT /users/me/private-contact.

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)

Responses​

Sent, or already verified

application/json
JSON
{
"success": true,
"alreadyVerified": true,
"email": "string"
}

Playground​

Server
Authorization

Samples​


List top creators​

GET
/marketplace/creators

Public profiles ranked by money raised, then followers. Cached server- side; cached says whether this answer came from the cache.

fundsRaised is in DOLLARS (a decimal), unlike the rest of the API, which uses integer cents.

No authentication.

Parameters​

Query Parameters

limit
Type
integer
Minimum
1
Maximum
100
Default
20

Responses​

The creators (bare object with data, not paginated)

application/json
JSON
{
"data": [
{
"id": "string",
"name": "string",
"avatar": "string",
"location": "string",
"bio": "string",
"profileType": "string",
"fundsRaised": 0,
"campaignsCompleted": 0,
"followersCount": 0,
"sharesCount": 0,
"badges": [
"string"
]
}
],
"total": 0,
"executionTimeMs": 0,
"cached": true
}

Playground​

Server
Variables
Key
Value

Samples​


Public leaderboard​

GET
/leaderboard

One ranked list on impact = raised + given + driven, in integer cents, over the chosen period.
All three value a gift the one way the campaign card does: what it raised, net of fees, tips excluded
(its ledger credit less its Stripe fee), over paid and refunded gifts to public campaigns — a refund
does not lower any of them.
Raised is the sum of the person's counted campaign cards — gifts to public fundraisers they organize, their own gifts included;
Given is every such gift they made under their name; Driven is other people's such gifts through
their share or ambassador link to fundraisers they do not organize. Every dollar counts once.
Anonymous donors appear as alias rows keyed on an opaque anonymousKey; guest and anonymous rows link to their donor page under /d/{kind}/{key}.
When the request carries a session, standing describes where the caller ranks on the full view.
q searches the ranked board by name without renumbering it: a match keeps the rank it has on the full view.

Views and scopes (#2070). Cities and communities are filters on the same board. view picks people,
communities or cities; city (with area=1 for its metro) and community narrow it. A city scope ranks
every row whose ONE home city is in it: a registered person's profile city; without one (and for guest
and anonymous rows), the city most of that row's own settled gifts come from (donor_place_id, all time;
a tie goes to the most recent gift). Guest and anonymous rows are the same rows as Everywhere: a guest by
the name the donor wall prints, an anonymous donor by its alias key, never a name, an email or a user id;
a person's anonymous gifts are their alias row's and never place their named row. A community scope ranks its members on
impact through that community (amount_cents, each gift once per member), and a member who turned off
"Show me" appears as "A member" (hidden: true, an opaque id, no name). A private community lists its
members to its members only. Scope totals and community/city rows count each settled gift ONCE, in the
first part that claims it (fund, raised, given, driven), so a total is less than its people rows added up;
dedupe_note says when such a total is on the page. Every combination is a valid URL: a view the scope
does not offer falls back to people, and only an unknown city or community is a 404 SCOPE_NOT_FOUND
(which is also the answer before the cities and communities tables exist; the two views are then empty).

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)
or

Parameters​

Query Parameters

period
Type
string
Valid values
"all""30d""7d"
Default
"all"
role

Everyone; people organizing a public fundraiser; ambassador role holders; or donors — everyone with a settled gift under their name, whatever their role, anonymous identities included. Everyone, creators and ambassadors rank on impact; donors rank on given (see metric). A filtered view is ranked within itself.

Type
string
Valid values
"all""creators""ambassadors""donors"
Default
"all"
offset
Type
integer
Minimum
0
Default
0
limit
Type
integer
Minimum
1
Maximum
100
Default
25
q

Name search over this view. Trimmed and cut to 100 characters.

Type
string
Max Length
100
lang

Language for badge titles and anonymous aliases (en, ru, uk, es). Defaults from Accept-Language.

Type
string
view

What is ranked. A city scope offers people and communities; a community scope offers people (its members). Another value falls back to people.

Type
string
Valid values
"people""communities""cities"
Default
"people"
city

A city's slug (e.g. sacramento-ca), case-insensitive. An old slug of a renamed or merged city resolves to the surviving one; scope.slug is canonical.

Type
string
Max Length
120
area

With city, 1 includes the city's whole metro, counted as one scope. Ignored for a city with no metro.

Type
string
Valid values
"1"
community

A community's slug (or id), case-insensitive. Wins over city when both are sent.

Type
string
Max Length
120

Responses​

One page of the ranked view

application/json
JSON
{
"entries": [
{
"type": "string",
"city": {
"slug": "string",
"name": "string"
},
"community_scope": {
"slug": "string",
"name": "string"
},
"is_viewer": true,
"community_role": "string",
"hidden": true,
"rank": 0,
"tied": true,
"id": "string",
"kind": "string",
"name": "string",
"avatar": "string",
"href": "string",
"anonymousKey": "string",
"isCreator": true,
"isAmbassador": true,
"raised": 0,
"given": 0,
"driven": 0,
"impact": 0,
"score": 0,
"impressions": 0,
"gifts": 0,
"badges": [
{
"slug": "string",
"artKey": "string",
"artUrl": "string",
"tier": "string",
"title": "string"
}
],
"badgeCount": 0
}
],
"qualified": 0,
"hasMore": true,
"standing": {
"rank": 0,
"tied": true,
"score": 0,
"impact": 0,
"raised": 0,
"given": 0,
"driven": 0,
"gap": 0,
"above": "string"
},
"period": "string",
"role": "string",
"metric": "string",
"offset": 0,
"limit": 0,
"query": "string",
"view": "string",
"views": [
"string"
],
"scope": "string",
"viewer_standing": {
"status": "string",
"rank": 0,
"score": 0,
"impact": 0,
"raised": 0,
"given": 0,
"driven": 0,
"gap": 0,
"above": "string",
"above_hidden": true,
"scope_name": "string",
"reason": "string",
"viewer_city": {
"slug": "string",
"name": "string"
},
"suggestion": {
"kind": "string",
"city": "string",
"area": true,
"name": "string",
"href": "string"
}
},
"jump_to": {
"city": {
"slug": "string",
"name": "string",
"photo_url": "string",
"relation": "string",
"area": true,
"impact_cents": 0,
"href": "string"
},
"communities": [
{
"slug": "string",
"name": "string",
"photo_url": "string",
"member_count": 0,
"impact_cents": 0,
"role": "string",
"href": "string"
}
]
},
"dedupe_note": true,
"executionTimeMs": 0,
"cached": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Public donor page​

GET
/donors/{kind}/{key}

The public page behind a guest or anonymous donor row on the leaderboard.

A donor identity is addressed ONLY by an opaque public key of 20 hex characters. The key is
one-way: no email, no identity id and no account reference ever leaves the server, and the
guest key and the anonymous key of one person cannot be related to each other.

given and gifts cover the identity's paid and refunded gifts to public campaigns — the
same figures the leaderboard row shows — each valued at what it raised: net of fees, tips
excluded. The campaigns list is drawn from those same gifts. A gift to a campaign that is
not public is in none of these figures; campaignsHidden only counts how many there are.

An anonymous identity is never named: name is null and anonymousKey carries the key, from
which the client derives the same localized alias the donor wall shows.

No authentication: the page is viewer-independent. Money is in integer cents.

Parameters​

Path Parameters

kind*
Type
string
Required
Valid values
"guest""anon"
key*

The opaque public key from a leaderboard row or a search result.

Type
string
Required
Pattern
"^[0-9a-f]{20}$"

Responses​

The donor page

application/json
JSON
{
"kind": "string",
"key": "string",
"name": "string",
"anonymousKey": "string",
"given": 0,
"gifts": 0,
"currency": "string",
"firstGiftAt": "string",
"lastGiftAt": "string",
"rank": 0,
"score": 0,
"href": "string",
"campaigns": [
{
"id": "string",
"slug": "string",
"title": "string",
"coverImage": "string",
"isProject": true,
"givenCents": 0,
"gifts": 0,
"lastGiftAt": "string"
}
],
"campaignsHidden": 0,
"hasMoreCampaigns": true
}

Playground​

Server
Variables
Key
Value

Samples​


Get platform statistics​

GET
/stats

Public endpoint returning aggregate platform stats. A bare object, not wrapped in data. Every figure is over the counted campaigns: approved, public, not deleted, and active, pending, paused or ended. A draft, private or deleted campaign is part of none of them.

Responses​

Platform statistics

application/json
JSON
{
"totalRaisedCents": 1234560000,
"activeCampaigns": 0,
"totalSupporters": 0,
"totalCreators": 0,
"totalGoalCents": 5000000000
}

Playground​

Samples​


Get trust center status​

GET
/trust/status

Live security and compliance status for the Trust Center. Public; cached for up to 15 minutes.

Responses​

Trust status

application/json
JSON
{
"success": true,
"data": {
"overallStatus": "string",
"lastChecked": "string",
"controls": [
{
"id": "string",
"label": "string",
"icon": "string",
"status": "string",
"lastChecked": "string",
"details": "string"
}
]
}
}

Playground​

Samples​


ZIP code lookup​

GET
/location/zip/{zipCode}

Look up city and state from a 5-digit US ZIP code. Public; answers are cached. The top-level location keeps the first upstream place for existing callers; places lists every unique city/state choice in upstream order.

Parameters​

Path Parameters

zipCode*
Type
string
Required
Example"95630"

Responses​

Location data

application/json
JSON
{
"zipCode": "string",
"city": "string",
"state": "string",
"stateAbbreviation": "string",
"places": [
{
"zipCode": "string",
"city": "string",
"state": "string",
"stateAbbreviation": "string"
}
]
}

Playground​

Server
Variables
Key
Value

Samples​


Get feature flags​

GET
/system-settings/features

The features.* flags, read-only, for the signed-in caller — so the client can hide what the server will refuse. Flags that only concern FundlyHub's own operations are omitted. Each value is reduced to the three gating fields.

The server treats a flag that has no row as enabled, so a flag absent from this list is not necessarily off.

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)

Responses​

The flags

application/json
JSON
{
"data": [
{
"setting_key": "features.comments",
"setting_value": {
"enabled": true,
"allowed_roles": [
"string"
],
"disabled_message": "string"
},
"category": "string"
}
]
}

Playground​

Server
Authorization

Samples​


Get the platform's published numbers​

GET
/platform/numbers

The figures FundlyHub publishes about itself on /@fundlyhub. The same answer for every reader, cached for five minutes; computed_at says how old it is. GET /stats is unchanged and still served.

No authentication. Rate limited at 300 requests/minute per IP.

Responses​

The numbers (bare object)

application/json
JSON
"string"

Playground​

Samples​


List the FundlyHub team​

GET
/platform/team

The FundlyHub team members shown on /@fundlyhub: staff with a public, slugged profile and an account in good standing — at most 48, ordered by role then name. An empty list is a normal 200.

No authentication. Rate limited at 300 requests/minute per IP.

Parameters​

Query Parameters

lang

Cache key for future localised fields. Anything else is treated as en.

Type
string
Valid values
"en""ru""uk""es"
Default
"en"

Responses​

The roster

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

Playground​

Server
Variables
Key
Value

Samples​


List platform ambassadors with impact​

GET
/platform/ambassadors

Every holder of the ambassador role who is not banned (at most 100), ranked by impact. total counts all of them; members lists only those with a public, slugged profile, so total can exceed members.length.

No authentication. Rate limited at 300 requests/minute per IP.

Parameters​

Query Parameters

lang
Type
string
Valid values
"en""ru""uk""es"
Default
"en"

Responses​

The ambassador rail

application/json
JSON
{
"members": [
],
"total": 0
}

Playground​

Server
Variables
Key
Value

Samples​


Tip FundlyHub​

POST
/platform/tips

A tip to FundlyHub itself — not a donation to a cause, and not tax-deductible. Two ways to pay it, by what the request carries.

Hosted page (no confirmation_token_id and no payment_method_id): creates a pending tip row and a Stripe Checkout Session (payment mode for one_time, monthly subscription mode for recurring) and returns its url; send the browser there. Stripe returns the payer to /tip/{tip_id} on the site. The tip is settled by the Stripe webhook, not by this call.

Sheet mode (exactly one of confirmation_token_id or payment_method_id, while sheetEnabled from GET /payments/checkout-config is true): the tip is paid inside the checkout sheet. The server creates the payment and confirms it, and the 201 answer carries the PaymentIntent's status like every sheet checkout: succeeded, processing (a US bank debit was accepted; the tip counts now, clears in about four business days and is reversed if the bank returns it) or requires_action (finish 3-D Secure in the browser with stripe.handleNextAction({ clientSecret }); the tip is recorded when Stripe reports the payment succeeded). There is no separate confirm call. A monthly tip is a Stripe subscription whose first month is paid here. The tipper pays amount_cents whatever the method; the fee by method is FundlyHub's cost and is reported as stripe_fee_cents. checkout_key makes the request safe to repeat: the same key is the same tip and the same payment, never a second charge. After a decline (402), or a failure whose code is checkout_key_conflict or payment_not_completed, the next attempt uses a new key.

The tip switch. Tips to FundlyHub are taken while tips.platform_tip from GET /payments/checkout-config is true. While staff have it off, both ways answer 409 tip_not_offered and nothing is created or charged. Turning it off stops new tips only: a monthly tip that is already running keeps renewing.

Authentication is optional. With a session the tip is attributed to the account, and the account's name and email are used when the body does not give them. Currency is always USD. In sheet mode a guest paying with Apple Pay, Google Pay or Link sends no name or email (the wallet's are used; what is sent always wins), a guest paying with a new card or bank account sends donor_email, and a monthly tip needs an email however it is paid (400 donor_email_required). A one-time tip from a wallet that carries no email is taken and stored with none: no receipt is emailed, and the receipt page can still send one to an address typed there.

Rate limited at 10 requests/minute per IP (authentication bucket).

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)
or

Request Body​

application/json
JSON
{
"amount_cents": 2500,
"kind": "one_time"
}

Responses​

Hosted page: Checkout started (url). Sheet mode: the tip's payment as it stands (status).

application/json
JSON
{
"tip_id": "5a45b2cd-cebd-4d00-a298-db736b65c3e3",
"kind": "one_time",
"amount_cents": 2500,
"currency": "usd",
"url": "https://checkout.stripe.com/c/pay/cs_test_example"
}

Playground​

Server
Authorization
Body

Samples​


Get a tip receipt​

GET
/platform/tips/{id}

The public receipt for one tip: amount, cadence, status and dates, and the signed-in tipper's profile name unless they tipped anonymously. Never an email or a Stripe identifier.

A tip that has not settled yet is a 200 with status: pending — the payer often arrives from Stripe before the webhook does. A monthly tip also carries subscription; its next charge date is read from Stripe once the tip is paid.

A tip paid by US bank has its receipt while the payment is in progress: clearing is true and bank_arrival is the day the money is expected.

The tip id is the capability. Authentication is optional and changes one thing: receipt_email.sent_to lists the addresses only for the signed-in tipper the tip belongs to. Rate limited at 300 requests/minute per IP.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required
Format
"uuid"

Responses​

The receipt (bare object)

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Email a tip receipt​

POST
/platform/tips/{id}/receipt/email

Emails the receipt for one paid tip to any address — every figure comes from the tip row, so the caller controls only the recipient. Capped at 5 sends per tip, after which this answers 429 (code RECEIPT_EMAIL_CAPPED) for that tip permanently. A missing and an unpaid tip get the same 404. A tip whose US bank payment is still in progress sends the receipt that says so. receipt_email is the counts after this copy.

The mail queue is processed immediately; message says whether the email was sent or only queued.

Authentication is optional. Rate limited at 5 requests/minute per IP.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"recipient_email": "string"
}

Responses​

Sent or queued

application/json
JSON
{
"success": true,
"queued": true,
"message": "string",
"receipt_email": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Get the homepage live-activity feed​

GET
/home/activity

The homepage hero's live chips, newest first: gifts, referral-link views and clicks, people viewing a campaign right now, campaigns submitted for review (never named), and achievements earned. Every event passes the same public gates as the surface it comes from — only public, active or ended campaigns are named, and anonymous donors are not.

events is a discriminated union on kind. The same answer for every reader of a language; publicly cached for 15 seconds.

No authentication. Rate limited at 300 requests/minute per IP.

Parameters​

Query Parameters

limit
Type
integer
Minimum
1
Maximum
40
Default
24
lang

Campaign titles in this language when translated.

Type
string
Valid values
"en""ru""uk""es"

Responses​

The feed

application/json
JSON
{
"data": {
"events": [
],
"generated_at": "string"
}
}

Playground​

Server
Variables
Key
Value

Samples​


Send a campaign-page presence heartbeat​

POST
/presence/fundraisers/{id}

Records that a visitor has a campaign page open; feeds the "N people viewing" chip in GET /home/activity. Designed for navigator.sendBeacon — no body. The visitor is the visitor_id cookie, or the per-tab v query parameter when there is no cookie; only a one-way hash of it is stored, and it expires on its own.

The same heartbeat feeds the organizer's page views (GET /fundraisers/{id}/owner-stats): a visitor counts once per Fundly per UTC day, and only when the User-Agent reads as a browser (bots, link previews and unknown agents never count).

No authentication. Rate limited at 4 requests/minute per IP and campaign, then the 300/minute public bucket.

Parameters​

Path Parameters

id*

Fundraiser UUID.

Type
string
Required
Format
"uuid"

Query Parameters

v

Per-tab visitor id, used only when there is no visitor_id cookie.

Type
string
Pattern
"^[A-Za-z0-9_-]{8,64}$"

Responses​

Recorded (no body)

Playground​

Server
Variables
Key
Value

Samples​


Donors​

A donor's own giving history, summary, and annual statements


Get donor summary​

GET
/donor/me/summary

Aggregate giving stats for the authenticated donor, anonymous gifts included. lifetimeAmountCents counts paid gifts only (no refunds or failures); the counts include every gift that left pending. A bare object.

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)

Responses​

Donor summary

application/json
JSON
{
"lifetimeAmountCents": 0,
"donationCount": 0,
"supportedFundraisers": 0,
"lastDonationAt": "string"
}

Playground​

Server
Authorization

Samples​


Get donor donation history​

GET
/donor/me/donations

Paginated giving history for the authenticated donor with optional filters.

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​

Query Parameters

page
Type
integer
Minimum
1
Default
1
limit
Type
integer
Minimum
1
Maximum
100
Default
20
year
Type
integer
status
Type
string
Valid values
"paid""refunded""failed""pending"
fundraiserId
Type
string
Format
"uuid"

Responses​

Donor donations, newest first

application/json
JSON
{
"data": [
{
"id": "string",
"fundraiser_id": "string",
"fundraiser_title": "string",
"fundraiser_slug": "string",
"amount_cents": 0,
"tip_amount_cents": 0,
"fee_amount_cents": 0,
"currency": "string",
"payment_status": "string",
"payment_intent_id": "string",
"is_anonymous": true,
"comment": "string",
"created_at": "string"
}
],
"pagination": {
"page": 0,
"limit": 0,
"total": 0,
"totalPages": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Download annual giving statement​

GET
/donor/me/annual-statement

Generates a year-end giving summary for the authenticated donor as PDF or CSV (binary download). Includes only paid donations in the requested calendar year. Not a tax receipt.

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​

Query Parameters

year*

Calendar year. Between 2026 and the current year.

Type
integer
Required
Minimum
2026
format*
Type
string
Required
Valid values
"pdf""csv"

Responses​

Generated statement file

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Search​

Full-text search and autocomplete


Full-text search​

GET
/search

Search across campaigns, organizations, users, donors, cities, communities and events. Queries shorter than two characters return an empty result set rather than an error. Authentication is optional and does not change the result set, except that Events staff see event rows before Events launch.
Event rows (type: event, #2495) are live, listed events matched on their title, an accepted host's name (FundlyHub's own row aside) or the city of their venue, upcoming first, then past. They come only while Events are on (features.events), on the first page only, and do not count toward total. They carry figures (starts_at, ends_at, time_zone, day_count, host_name, city_name, cancelled, postponed) for the client to word.
City rows (type: city) are cities with a page, each metro anchor followed by its metro (area: true); community rows (type: community) are active, listed communities. Like donor rows they come on the first page only and do not count toward total. Their link opens the page; scope_href is the leaderboard scope the /leaderboard header search offers instead. Donor rows cover guest donors (matched on the name given at checkout — never on an email) and anonymous identities (matched on the localized alias the donor wall shows for that identity), and they link to /d/{kind}/{key}.
Two limits apply to donor rows specifically. They are returned on the FIRST PAGE ONLY (offset=0); the donor ranking is a single highest-given-first list with no stable second page, so a later offset would repeat the same rows rather than continue them. And a guest-donor name match needs three consecutive alphanumeric characters somewhere in the query — An, a_n and ___ match no guest donor. Anonymous alias matching is unaffected and keeps the two-character minimum. Campaigns, organizations and users page normally and have no such floor.

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)
or

Parameters​

Query Parameters

q*

Search query. Fewer than 2 characters returns an empty result set.

Type
string
Required
scope

Limit to a specific resource type. places is cities and communities together.

Type
string
Valid values
"all""campaigns""users""orgs""donors""cities""communities""places""events"
Default
"all"
limit
Type
integer
Default
20
Maximum
100
offset

Pages campaigns. Donor rows are returned only at offset=0 — see the description above.

Type
integer
Default
0
lang

Language an anonymous donor's alias is matched and cached in. Defaults from Accept-Language.

Type
string
Valid values
"en""ru""uk""es"

Responses​

Search results

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Autocomplete suggestions​

GET
/suggest

Typeahead suggestions drawn from the titles of active, public campaigns: a prefix of the original title or of any translated title matches, and the suggestion is the title in the reader's language (lang, the language cookie, then Accept-Language). Queries shorter than two characters return an empty list.

Parameters​

Query Parameters

q*
Type
string
Required
limit
Type
integer
Default
10
Maximum
20

Responses​

Suggestions

application/json
JSON
{
"suggestions": [
"string"
],
"executionTimeMs": 0,
"cached": true
}

Playground​

Server
Variables
Key
Value

Samples​


Get user earnings​

GET
/payouts/earnings

Returns the authenticated creator's earnings summary in integer CENTS (#1499) — every field is suffixed _cents and must be divided by 100 before display. The target is always derived from the authenticated principal — any ?userId query param is ignored (#1072). total_cents and fees_cents are lifetime aggregates from the canonical ledger. For creators with an active Stripe Connect account, available_cents, pending_cents and withdrawn_cents come from Stripe directly (pending_cents additionally includes platform-held net funds that haven't transferred yet). Creators without a Connect account see available_cents and withdrawn_cents as 0 and pending_cents equal to total_cents (everything sits on FundlyHub's platform balance awaiting onboarding). Rate limited to 100 requests per minute per account.

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)

Responses​

Earnings summary (all values are integer cents)

application/json
JSON
{
"total_cents": 0,
"pending_cents": 0,
"available_cents": 0,
"withdrawn_cents": 0,
"ready_to_pay_out_cents": 0,
"fees_cents": 0
}

Playground​

Server
Authorization

Samples​


Get pending earnings breakdown​

GET
/payouts/earnings/pending-breakdown

Per-donation attribution of the creator's not-yet-available money, lazy-loaded by the Earnings tab's Pending-tile dialog (#1131). The target is always the authenticated principal. Each donation is classified into one of three states: destination_charge_pending (in the creator's own Stripe balance, not yet available; read from Stripe on each request, with Stripe's own available_on), platform_held_unsettled (platform balance, awaiting settlement), or platform_held_settled (platform balance, eligible for release now). available_on is 00:00 UTC of the release day. Rows already transferred to the creator's Stripe balance and rows under review are excluded from the platform-held states. Rate limited to 100 requests per minute per account.

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)

Responses​

Pending breakdown (all amounts in cents)

application/json
JSON
{
"pending_breakdown": {
"has_payout_account": true,
"total_cents": 0,
"destination_charge_cents": 0,
"platform_held_unsettled_cents": 0,
"platform_held_settled_cents": 0,
"dates_from_stripe": true,
"release_schedule": [
{
"available_on": "string",
"amount_cents": 0,
"count": 0
}
],
"donations": [
{
"donation_id": "string",
"amount_cents": 0,
"fundraiser_title": "string",
"fundraiser_slug": "string",
"state": "string",
"available_on": "string",
"donated_at": "string",
"kind": "string"
}
]
}
}

Playground​

Server
Authorization

Samples​


List Stripe connected accounts​

GET
/stripe/accounts

Returns the authenticated user's Stripe Connect accounts. Refreshes each account's enabled/onboarding flags from the Stripe API on read (transient downgrades are suppressed unless Stripe reports a concrete requirement). Returns an empty array if the user has no connected account. Rate limited to 100 requests per minute per account.

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)

Responses​

Connected accounts (array; empty if none)

application/json
JSON
[
{
"stripe_account_id": "string",
"charges_enabled": true,
"payouts_enabled": true,
"details_submitted": true,
"onboarding_complete": true,
"country": "string",
"default_currency": "string",
"created_at": "string",
"requirements": {
}
}
]

Playground​

Server
Authorization

Samples​


Start or resume Stripe Connect onboarding​

POST
/stripe/connect/accounts

Creates the caller's Stripe Connect account if they do not have one, then returns a fresh onboarding link in either case. Send the creator to onboardingUrl; the link is single-use and short-lived, so call this again rather than caching it.
If the stored account no longer exists at Stripe, a new account is created transparently. Requires a bearer session; rate limited to 100 requests per minute per account.

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)

Request Body​

application/json
JSON
{
"businessType": "individual"
}

Responses​

Account id plus a fresh onboarding link

application/json
JSON
{
"accountId": "acct_1AbCdEfGhIjKlMnO",
"onboardingUrl": "string",
"status": "string"
}

Playground​

Server
Authorization
Body

Samples​


Get connected-account status​

GET
/stripe/connect/accounts/{accountId}/status

Reads one connected account straight from Stripe and refreshes the cached flags on FundlyHub's side. The account is addressed by its Stripe id, which you get from GET /stripe/accounts.
Ownership: accountId must be a connected account the caller owns: their own account, or an organization's account where the caller holds org.read_payouts in that organization. Any other id, including one that does not exist, returns 404; the response does not distinguish the two.
This is a pure read: it never moves money. Requires a bearer session; rate limited to 100 requests per minute per account.

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

accountId*

Stripe connected-account id.

Type
string
Required
Example"acct_1AbCdEfGhIjKlMnO"

Responses​

Account status

application/json
JSON
{
"status": "string",
"chargesEnabled": true,
"payoutsEnabled": true,
"detailsSubmitted": true,
"requirements": {
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Create an embedded-components account session​

POST
/stripe/connect/sessions

Mints a Stripe Account Session client secret for the embedded Connect components (account_onboarding, payouts, payments). Omit accountId to use the caller's most recent connected account.
Ownership: an explicit accountId must be a connected account the caller owns: their own account, or an organization's account where the caller holds org.manage_payouts in that organization. Any other id, including one that does not exist, returns 404 and no session is created.
Requires a bearer session; rate limited to 100 requests per minute per account.

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)

Request Body​

application/json
JSON
{
"accountId": "string"
}

Responses​

Account session

application/json
JSON
{
"clientSecret": "string"
}

Playground​

Server
Authorization
Body

Samples​


List transfers to the creator's Stripe balance​

GET
/stripe/connect/transfers

Platform → creator transfers recorded for the authenticated caller, newest first. These are movements onto the creator's Stripe balance; payouts to their bank are a separate list (GET /stripe/connect/payouts). Requires a bearer session; rate limited to 100 requests per minute per account.

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​

Query Parameters

limit
Type
integer
Default
10
Maximum
100
offset
Type
integer
Default
0

Responses​

Transfer rows (bare array)

application/json
JSON
[
{
"id": "string",
"stripe_transfer_id": "string",
"donation_id": "string",
"fundraiser_id": "string",
"amount_cents": 0,
"application_fee_cents": 0,
"currency": "string",
"status": "string",
"failure_reason": "string",
"created_at": "string",
"arrived_at": "string"
}
]

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List payouts to the creator's bank​

GET
/stripe/connect/payouts

Payouts from the creator's Stripe balance to their bank account. Read live from Stripe so the list matches what the creator sees in their bank; if Stripe is unreachable the endpoint falls back to FundlyHub's own records, which only cover payouts this API initiated or that a webhook recorded.
arrival_date and created are Unix timestamps in seconds, not ISO strings. Stripe paginates by cursor, so offset only applies to the database fallback. Requires a bearer session; rate limited to 100 requests per minute per IP.

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​

Query Parameters

limit
Type
integer
Default
10
Maximum
100
offset

Only honoured by the database fallback path.

Type
integer
Default
0

Responses​

Payout rows (bare array)

application/json
JSON
[
{
"id": "po_1AbCdEfGhIjKlMnO",
"amount": 0,
"currency": "string",
"status": "string",
"arrival_date": 0,
"created": 0,
"destination": "string"
}
]

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Withdraw available balance to the bank​

POST
/stripe/connect/payouts

Initiates a standard payout from the caller's connected Stripe balance to their bank account. Omit amountCents to withdraw the full available balance.
The minimum payout is $1.00 (100 cents) and the amount may not exceed the available balance. The caller must have a payout-enabled connected account. Gated by the features.payouts flag; requires a bearer session; rate limited to 100 requests per minute per account.

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)

Request Body​

application/json
JSON
{
"amountCents": 0
}

Responses​

Payout initiated

application/json
JSON
{
"payoutId": "po_1AbCdEfGhIjKlMnO",
"amount": 0,
"currency": "string",
"status": "string",
"arrivalDate": "string"
}

Playground​

Server
Authorization
Body

Samples​


Refresh payouts and withdrawals from Stripe​

POST
/stripe/connect/payouts/reconcile

Re-reads every payout of the caller's connected Stripe account and repairs FundlyHub's own records of them: the payout rows, the link between each payout and the donations it carried, and the payout entries in the financial ledger. These are what a campaign's Updates feed (GET /projects/{fundraiserId}/updates) lists as withdrawals, so a payout Stripe made on its automatic schedule shows up there without waiting for a webhook. Moves no money. Never a dry run.
Omit accountId to refresh the caller's own account. An acct_… id of an organization account the caller can manage payouts for is also accepted; any other id answers 404, like an unknown one.
Requires a bearer session; rate limited to 100 requests per minute per account, and to one refresh per account per minute (429 with Retry-After).

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)

Request Body​

application/json
JSON
{
"accountId": "acct_1AbCdEfGhIjKlMnO"
}

Responses​

Refresh result

application/json
JSON
{
"accountId": "acct_1AbCdEfGhIjKlMnO",
"payoutsFound": 0,
"payoutRowsInserted": 0,
"payoutRowsUpdated": 0,
"donationsStamped": 0,
"donationsCleared": 0,
"balanceTransactionsBackfilled": 0,
"ledgerRowsWritten": 0,
"errors": 0,
"payouts": [
{
"id": "po_1AbCdEfGhIjKlMnO",
"status": "string",
"amount": 0,
"currency": "string",
"row": "string",
"donationsStamped": 0,
"ledgerRowsWritten": 0,
"ok": true
}
]
}

Playground​

Server
Authorization
Body

Samples​


Get payout methods and schedule​

GET
/stripe/connect/payout-settings

The bank accounts and debit cards attached to the caller's connected account, plus the payout schedule Stripe currently applies. Requires a bearer session; rate limited to 100 requests per minute per account.

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)

Responses​

Payout methods and schedule

application/json
JSON
{
"payoutMethods": [
{
"id": "string",
"type": "string",
"bankName": "string",
"last4": "string",
"currency": "string",
"country": "string",
"routingNumber": "string",
"status": "string",
"defaultForCurrency": true,
"brand": "string"
}
],
"schedule": "string"
}

Playground​

Server
Authorization

Samples​


Update the payout schedule​

PUT
/stripe/connect/payout-schedule

Sets how often Stripe pays the creator out. weekly requires weeklyAnchor (a weekday name), monthly requires monthlyAnchor (1–31); manual and daily take neither. Requires a bearer session; rate limited to 100 requests per minute per account.

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)

Request Body​

application/json
JSON
{
"interval": "string",
"weeklyAnchor": "monday",
"monthlyAnchor": 0
}

Responses​

The schedule Stripe now applies

application/json
JSON
"string"

Playground​

Server
Authorization
Body

Samples​


Get a Stripe dashboard link​

GET
/stripe/connect/express-login

Returns a URL into Stripe for the caller's connected account — a single-use Express login link deep-linked to payouts for Express accounts, or the Connect dashboard URL for other account types. Do not cache it. Requires a bearer session; rate limited to 100 requests per minute per account.

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)

Dashboard URL

application/json
JSON
{
"url": "string"
}
Server
Authorization

List milestones​

GET
/fundraisers/{fundraiserId}/milestones

Get all milestones for a fundraiser, earliest due date first. Readable exactly when GET /fundraisers/{id} is: a campaign that is not active, paused or ended, is private, or has been deleted answers 404 to everyone but its owner. Authentication is optional.

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)
or

Parameters​

Path Parameters

fundraiserId*
Type
string
Required
Format
"uuid"

Query Parameters

lang

Overlay the stored translation of title and description for this language, when one exists.

Type
string
Valid values
"en""ru""uk""es"

Responses​

List of milestones

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Create milestone​

POST
/fundraisers/{fundraiserId}/milestones

Add a milestone to a campaign. Only the campaign owner may post one, the caller's email must be verified, and the endpoint is gated by the features.milestones flag.
The request body is camelCase (targetAmountCents, dueDate) while the response row is snake_case (target_amount_cents, due_date). Both are in CENTS; target_amount_cents is also accepted in the body. The dollars-era targetAmount is not, and is ignored.

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

fundraiserId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"title": "string",
"description": "string",
"targetAmountCents": 0,
"dueDate": "string"
}

Responses​

Milestone created

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Get milestone​

GET
/milestones/{id}

A single milestone by id. Public when its campaign is: a milestone of a campaign that is not active, paused or ended, is private, or has been deleted answers 404 to everyone but the campaign's owner. Authentication is optional.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required
Format
"uuid"

Query Parameters

lang

Overlay the stored translation of title and description for this language, when one exists.

Type
string
Valid values
"en""ru""uk""es"

Responses​

Milestone details

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Update milestone​

PUT
/milestones/{id}

Partial update of a milestone. Only the owner of the parent campaign may update it, and the caller's email must be verified. Send only the fields you are changing; an empty body answers 400.
The request body is camelCase (targetAmountCents, dueDate, completedAt) while the response row is snake_case. Setting completedAt is what marks a milestone complete.

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*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"title": "string",
"description": "string",
"targetAmountCents": 0,
"dueDate": "string",
"completedAt": "string"
}

Responses​

Milestone updated

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete milestone​

DELETE
/milestones/{id}

Deletes a milestone. Only the owner of the parent campaign may delete it.

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*
Type
string
Required
Format
"uuid"

Responses​

Deleted

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Save a hand-edited milestone translation​

PUT
/fundraisers/{id}/milestones/{milestoneId}/translations/{lang}

Creates or overwrites one milestone's translation in lang as source: "human". The milestone must belong to the campaign in the path. Campaign owner only. Audit-logged. lang may not be the campaign's source language.

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 campaign's UUID.

Type
string
Required
Format
"uuid"
milestoneId*
Type
string
Required
Format
"uuid"
lang*
Type
string
Required
Valid values
"en""ru""uk""es"

Request Body​

application/json
JSON
{
"title": "string",
"description": "string"
}

Responses​

The saved row

application/json
JSON
{
"data": {
"milestone_id": "string",
"language": "string",
"title": "string",
"description": "string",
"source": "string",
"translated_at": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Get checkout config​

GET
/payments/checkout-config

What the donation checkout prices with: whether the one-sheet checkout
is on for this caller, the fee rule for each kind of payment method, the
version of the "Save for next time" wording, Stripe's minimum charge,
and whether each checkout offers a tip to FundlyHub (tips). The
checkout carries no rate and no tip default of its own; it reads them
here.

sheetEnabled is the server's own answer for the
features.donate_sheet_v2 setting, the same answer
POST /payments/create-intent checks in sheet mode. While it is
false, show the previous checkout.

Public, and authentication is optional: it changes sheetEnabled only
while the setting is off, for a signed-in operator the setting allows.
The answer is Cache-Control: no-store.

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)
or

Responses​

The checkout config.

application/json
JSON
{
"data": {
"sheetEnabled": false,
"feeSchedule": {
"card": {
"percent": 0.029,
"fixedCents": 30,
"capCents": null
},
"card_intl": {
"percent": 0.044,
"fixedCents": 30,
"capCents": null
},
"us_bank_account": {
"percent": 0.008,
"fixedCents": 0,
"capCents": 500
}
},
"saveConsentVersion": "2026-11-09",
"minimumChargeCents": 50,
"tips": {
"fundly_gift": true,
"nonprofit_gift": false,
"platform_tip": true,
"event_tickets": false,
"community_fund_gift": false,
"community_dues": false,
"creator_membership": false
}
}
}

Playground​

Server
Authorization

Samples​


Get the caller's anonymous alias key​

GET
/payments/anonymous-identity

The opaque key an anonymous gift from this caller is shown under on
public pages, so the checkout can name the alias ("Shown on the page
as Anonymous Neighbor") before the donor pays. It is the same
anonymous_key the public donor lists carry for that donor's
anonymous gifts; seed the alias and its avatar from it exactly as
those lists do.

Signed in, the key is the account's. For a guest it is the key their
earlier anonymous gifts from this browser or network already use, or
null when a gift from them would start a new identity (its alias is
known only once the gift exists). Show the plain "Anonymous" wording
for null; never guess an alias.

Asking creates nothing and changes nothing: no donor, no identity and
no gift is written. The key is not a credential and names nobody.
Public, authentication optional. The answer is
Cache-Control: private, no-store.

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)
or

Responses​

The key, or null.

application/json
JSON
{
"data": {
"anonymous_key": "3f9a1c0b7d2e4a6f8b10"
}
}

Playground​

Server
Authorization

Samples​


Create payment intent​

POST
/payments/create-intent

Create a Stripe PaymentIntent for a donation. This is the first half of
the donation flow; confirm it with POST /payments/confirm once Stripe
reports the payment succeeded.

Every field is snake_case, and every amount is in integer cents.
amount_cents is the donation itself; tip_amount_cents is the
optional tip to FundlyHub. A tip is taken only while the checkout's
switch is on: tips.fundly_gift from GET /payments/checkout-config
for a personal Fundly, tips.nonprofit_gift for a church or
non-profit's campaign. While it is off, a non-zero tip answers 409
tip_not_offered and nothing is charged; it is never dropped
silently. The charge Stripe sees is
amount_cents + tip_amount_cents, and it must clear Stripe's $0.50
(50 cent) minimum.

amount_cents was called amount. The value was always cents — only
the name has changed, so that it says so.

fundraiser_id decides where the money goes. Omit it and the
PaymentIntent is created against the platform account with no campaign
attribution — the donation is not credited to any campaign and no
transfer to a creator is scheduled. It is optional in the sense that
the request succeeds without it, not in the sense that it is safe to
leave out.

The campaign must be active and not deleted; anything else is
rejected (404 if the id is unknown, 409 if the campaign exists but
cannot accept money).

Authentication is optional — a signed-in donor gets the donation linked
to their account, an anonymous one does not. reCAPTCHA is enforced
(see below), except that a signed-in session whose email is verified
may omit the token. While donations are switched off platform-wide the
request is refused with 403 and no PaymentIntent is created.
A personal campaign reserves its pending donation under the fundraiser row
lock before the provider request, preventing concurrent owner/beneficiary
reassignment. The same row is enriched with the PaymentIntent before its
client secret is returned. Unconfirmed intents whose reservation cannot
be saved are canceled and the request fails; no usable secret is returned.
Failed preparation remains a failed payment attempt without increasing
raised totals. Nonprofit checkout keeps its existing immutable reservation.

Two modes. A request without confirmation_token_id or
payment_method_id is the previous checkout, unchanged: the gift is
priced with the card fee rule, the PaymentIntent offers Stripe's
payment methods except US bank accounts, and the browser confirms it
with Stripe.js using client_secret.

Sheet mode is the one-sheet checkout, used while sheetEnabled
from GET /payments/checkout-config is true. The request carries
exactly one way to pay: confirmation_token_id for a new card, US
bank account, Apple Pay, Google Pay or Link payment (from Stripe.js
createConfirmationToken), or payment_method_id for one of the
signed-in donor's saved methods. The server reads the method, prices
the gift with that method's fee rule (fee_kind), creates a
PaymentIntent for that method only, records the pending gift, and
confirms the payment itself. The 200 answer carries the
PaymentIntent's status:

  • succeeded: the payment went through.
  • processing: a US bank debit was accepted. It takes about four
    business days to clear. The gift is recorded and counted now, like a
    card gift, and is reversed if the bank returns the debit.
  • requires_action: the card issuer wants the donor to authenticate
    (3-D Secure). Finish it in the browser with
    stripe.handleNextAction({ clientSecret }).

Then call POST /payments/confirm with payment_intent_id. A decline
answers 402 and charges nothing: the PaymentIntent is canceled, and
the next try is a new request. Sheet mode is refused with 409
sheet_disabled while features.donate_sheet_v2 is off for the
caller. reCAPTCHA, App Attest, Play Integrity and features.donations
apply to both modes.

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)
or

Parameters​

Header Parameters

x-recaptcha-token

reCAPTCHA v3 token, action payment. Required unless supplied as recaptcha_token in the body, or the caller is a signed-in session with a verified email. Missing (guest or unverified) → 400; failing the score threshold → 403, whoever sent it.

Type
string
x-app-attest-key-id

iOS only. The App Attest key id (standard base64, as DCAppAttestService.generateKey returns it) of a key registered with POST /app-attest/attest. Send with x-app-attest-assertion.

Type
string
x-app-attest-assertion

iOS only. base64 of the assertion from generateAssertion(keyId, clientDataHash: SHA256(raw request body)). The body must carry a fresh app_attest_challenge. A valid assertion replaces the reCAPTCHA token; the headers alone never do. An invalid one answers 403 with code APP_ATTEST_INVALID, APP_ATTEST_KEY_UNKNOWN (attest a new key) or APP_ATTEST_CHALLENGE_INVALID (fetch a new challenge), unless the request passes reCAPTCHA some other way.

Type
string
x-play-integrity-token

Android only. A Google Play Integrity standard token, requested with requestHash = lowercase hex SHA-256 of the raw request body. The body must carry a fresh play_integrity_challenge from POST /play-integrity/challenge. A valid token replaces the reCAPTCHA token; the header alone never does. An invalid one answers 403 with code PLAY_INTEGRITY_INVALID, PLAY_INTEGRITY_CHALLENGE_INVALID (fetch a new challenge) or PLAY_INTEGRITY_UNAVAILABLE (Google could not be reached), unless the request passes reCAPTCHA some other way.

Type
string

Request Body​

application/json
JSON
{
"amount_cents": 5000,
"currency": "usd",
"fundraiser_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tip_amount_cents": 500,
"tip_percent": 10,
"donor_email": "donor@example.com",
"donor_name": "Alex Rivera",
"is_anonymous": false
}

Responses​

PaymentIntent created. In sheet mode it has also been confirmed, and status says how that went.

application/json
JSON
{
"client_secret": "pi_3abc123def456_secret_Example",
"payment_intent_id": "pi_3abc123def456",
"amount_cents": 5500,
"stripe_fee_cents": 190,
"net_amount_cents": 4810,
"fee_kind": "card"
}

Playground​

Server
Authorization
Headers
Body

Samples​


Confirm payment​

POST
/payments/confirm

Confirm a PaymentIntent that Stripe reports as succeeded, or as
processing, and settle the donation record.

The field is payment_intent_id (snake_case) — the value returned as
payment_intent_id by POST /payments/create-intent.

A US bank debit is processing for about four business days. Its
gift is recorded paid now and shown and counted like a card gift, and
the answer says status: processing and clearing: true: the money
has not cleared yet. When Stripe reports the debit succeeded, the gift
stops clearing and its receipt is sent. If the bank returns the debit,
the gift is reversed: payment_status becomes failed and it no
longer counts.

Safe to retry: a PaymentIntent whose donation is already paid is
returned as-is rather than double-counted. Stripe webhooks reconcile the
same donation independently, so a client that never reaches this call
still ends up with a settled donation — calling it just makes the
receipt available immediately.

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)
or

Request Body​

application/json
JSON
{
"payment_intent_id": "pi_3abc123def456"
}

Responses​

Payment confirmed; the settled donation is returned.

application/json
JSON
{
"data": {
"id": "string",
"fundraiser_id": "string",
"donor_user_id": "string",
"donor_name": "string",
"donor_avatar": "string",
"amount_cents": 5000,
"currency": "USD",
"tip_amount_cents": 500,
"fee_amount_cents": 175,
"net_amount_cents": 4825,
"payment_status": "string",
"payment_provider": "string",
"payment_intent_id": "string",
"receipt_id": "string",
"comment": "string",
"is_anonymous": true,
"anonymous_key": "string",
"created_at": "string",
"campaign_title": "string",
"campaign_slug": "string",
"card_brand": "string",
"card_last4": "string",
"payment_method_type": "string",
"bank_name": "string",
"bank_last4": "string",
"wallet_type": "string",
"fee_kind": "string",
"payment_clearing": true,
"status": "string",
"clearing": true
}
}

Playground​

Server
Authorization
Body

Samples​


App Attest​

Apple App Attest for the FundlyHub iOS app. A request carrying a valid assertion may skip reCAPTCHA on POST /payments/create-intent and POST /donations, guest or signed in. See the Native Clients guide for the byte-level protocol.


Issue an App Attest challenge​

POST
/app-attest/challenge

A random, single-use challenge for the iOS app, valid for
expires_in_seconds (300). Fetch one before attesting a key and one
before every donation request that carries an App Attest assertion.

Public (guests call it). Rate limited to 30 a minute per address.
Answers 503 with code: APP_ATTEST_DISABLED while App Attest is not
configured on the server.

Responses​

A fresh challenge (Cache-Control: no-store).

application/json
JSON
{
"challenge": "q7uE3fP9yK2sV1xW4zA6bC8dE0fG2hJ4kL6mN8pR0tU",
"expires_in_seconds": 300
}

Playground​

Samples​


Register an App Attest key​

POST
/app-attest/attest

Register a device key with its attestation. The server verifies the
certificate chain to Apple's App Attestation Root CA, that the
attestation was made for challenge
(clientDataHash = SHA256(UTF-8 bytes of challenge)), the App ID, the
environment, a zero counter and that key_id is the key's hash, then
stores the public key. Attest once per key; attesting a key that is
already registered changes nothing.

Public (guests call it). Rate limited to 10 a minute per address.

Request Body​

application/json
JSON
{
"key_id": "string",
"attestation": "string",
"challenge": "string"
}

Responses​

Key verified and registered.

Playground​

Server
Body

Samples​


Play Integrity​

Google Play Integrity for the FundlyHub Android app. A request carrying a valid standard integrity token, whose request hash is the SHA-256 of the raw body, may skip reCAPTCHA on POST /payments/create-intent, POST /donations and POST /communities/{id}/fund/gifts, guest or signed in. See the Native Clients guide for the byte-level protocol.


Issue a Play Integrity challenge​

POST
/play-integrity/challenge

A random, single-use challenge for the Android app, valid for
expires_in_seconds (300). Fetch one before every donation request
that carries a Play Integrity token, put it in the body as
play_integrity_challenge, and request the token with
requestHash = lowercase hex SHA-256 of that exact body.

Public (guests call it). Rate limited to 30 a minute per address.
Answers 503 with code: PLAY_INTEGRITY_DISABLED while Play
Integrity is not configured on the server.

Responses​

A fresh challenge (Cache-Control: no-store).

application/json
JSON
{
"challenge": "q7uE3fP9yK2sV1xW4zA6bC8dE0fG2hJ4kL6mN8pR0tU",
"expires_in_seconds": 300
}

Playground​

Samples​


Payment Methods​

A signed-in donor's saved payment methods (the cards and US bank accounts they chose to keep) and the church and non-profit monthly gifts each one pays. Saving is opt-in, at checkout ("Save for next time") or from the profile. Every operation needs a signed-in caller. Reads also accept an API key; every change needs the person's own signed-in session, so an API key answers 403 SESSION_CREDENTIAL_REQUIRED and an administrator viewing the account answers 403 IMPERSONATION_RESTRICTED_ACTION. Ids are FundlyHub ids (SavedMethod.id and the monthly gift's id); Stripe's ids never appear. A method or gift that is not the caller's answers 404, exactly like one that does not exist. Refusals come as { "error": "…", "code": "…" }, and every answer is Cache-Control: private, no-store. A US bank account is verified instantly when the donor signs in to their bank; there is no micro-deposit step and no "waiting to verify" state.


List my saved payment methods and monthly gifts​

GET
/me/payment-methods

The caller's live saved payment methods (the default first, then the
newest) and their live church and non-profit monthly gifts (newest
first), each with the saved method that pays it.

Reads accept any sign-in of the person, an API key or an administrator
viewing the account included.

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)

Responses​

The caller's methods and monthly gifts.

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization

Samples​


Start adding a payment method​

POST
/me/payment-methods/setup-intent

A Stripe SetupIntent client secret for adding a card or a US bank
account from the profile, or for connecting Link (type link: a
card-only SetupIntent the page confirms from Stripe's Link button, so
the card Link pays with is saved as a link method). Collect the method in the browser with
Stripe.js confirmSetup using clientSecret, then call
POST /me/payment-methods/sync with the SetupIntent's id. The method
is kept for later off-session payments (monthly gifts). A US bank
account is verified instantly through the donor's bank sign-in; there
are no micro-deposits.

The caller's own signed-in session only. Limited to 10 an hour per
account, on top of the per-account 100 a minute.

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)

Request Body​

application/json
JSON
{
"type": "card"
}

Responses​

The SetupIntent's client secret.

application/json
JSON
{
"data": {
"clientSecret": "seti_1Example0000_secret_Example"
}
}

Playground​

Server
Authorization
Body

Samples​


Record a payment method added from the profile​

POST
/me/payment-methods/sync

Records the method a profile SetupIntent saved, once the browser's
confirmSetup has finished, and returns it. Stripe's
setup_intent.succeeded event records the same method, in either
order, so calling this twice, or after the event, returns the same
method. The donor's first saved method becomes their default.

The caller's own signed-in session only.

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)

Request Body​

application/json
JSON
{
"setup_intent_id": "seti_1Example0000"
}

Responses​

The saved method.

application/json
JSON
{
"data": {
"method": "string"
}
}

Playground​

Server
Authorization
Body

Samples​


Remove a saved payment method​

DELETE
/me/payment-methods/{id}

Removes one of the caller's methods: it is detached from the caller's
Stripe customer, so nothing can charge it again, then taken off the
list. When it was the default, the newest remaining method that has
not expired becomes the default.

A method that live monthly gifts charge cannot be removed: the answer
is 409 used_by_monthly_gift with those gifts. Move them with
POST /me/payment-methods/{id}/move-gifts (or one at a time with
PATCH /me/monthly-gifts/{id}), then remove it again.

The caller's own signed-in session only.

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)

Responses​

Removed.

Playground​

Server
Authorization

Samples​


Make a saved payment method the default​

PATCH
/me/payment-methods/{id}

Makes one of the caller's live methods their default; the previous
default stops being it. Making the current default the default changes
nothing. An expired card cannot be the default.

The caller's own signed-in session only.

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)

Request Body​

application/json
JSON
{
"isDefault": true
}

Responses​

The method, now the default.

application/json
JSON
{
"data": {
"method": "string"
}
}

Playground​

Server
Authorization
Body

Samples​


Move a method's monthly gifts to another method​

POST
/me/payment-methods/{id}/move-gifts

Moves every live monthly gift that charges this method onto another
of the caller's saved methods, before removing this one. Each gift's
Stripe subscription charges the new method from its next payment. A
gift whose subscription has already ended is skipped and not counted.
Safe to repeat: a gift already moved no longer charges this method.

The target must be a live method of the caller, not an expired card,
and on the same Stripe customer as the gifts' subscriptions.

The caller's own signed-in session only.

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 method the gifts move off (SavedMethod.id).

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"toPaymentMethodId": "string"
}

Responses​

How many gifts moved.

application/json
JSON
{
"data": {
"moved": 1
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Change the method a monthly gift charges​

PATCH
/me/monthly-gifts/{id}

Pays one of the caller's live church or non-profit monthly gifts with
another of their saved methods, from its next payment: the gift's
Stripe subscription takes the method as its default. Choosing the
method it already charges changes nothing. The method must be a live
method of the caller, not an expired card, and on the same Stripe
customer as the gift's subscription.

The caller's own signed-in session only.

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 monthly gift's id (MonthlyGiftSummary.id).

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"paymentMethodId": "string"
}

Responses​

The gift, with its method.

application/json
JSON
{
"data": {
"gift": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Stop one of my monthly gifts​

POST
/me/monthly-gifts/{id}/cancel

Stops one of the caller's own church or non-profit monthly gifts, the
same way the cancel link in the gift's receipt does. Past gifts stay as
they are. A gift that has already ended answers 200 as well.

The caller's own signed-in session only.

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 monthly gift's id (MonthlyGiftSummary.id).

Type
string
Required
Format
"uuid"

Responses​

Stopped.

application/json
JSON
{
"data": {
"canceled": true
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Account​

The signed-in person's account area: the numbers the account index shows, My giving (every gift on one page) and Subscriptions (monthly gifts, community dues, creator memberships and monthly tips to FundlyHub in one answer), and a person's own monthly tips. Every operation needs a signed-in caller; every change needs the person's own signed-in session, so an API key answers 403 SESSION_CREDENTIAL_REQUIRED and an administrator viewing the account answers 403 IMPERSONATION_RESTRICTED_ACTION. Ids are FundlyHub ids; no Stripe id is returned. Something that is not the caller's answers 404. Nothing is cached.


The numbers the account index shows​

GET
/me/account/summary

The counts the account index and the account navigation carry, in one
answer: the caller's charging subscriptions (how many, of each kind,
what they come to a month and a year, and the next charge), unread
notifications, live Fundlies they organize, and achievement cards not
opened yet. Every part is an aggregate read; no list is loaded.

A part that could not be read is null, not zero: show no badge for it.

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)

Responses​

The account index numbers.

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization

Samples​


My giving, one page​

GET
/me/account/giving

Every gift the caller made, newest first, with the four figures above
the list. One definition of "a gift" feeds the list, its count, the
figures and the year filter:

  • the caller's donations (a Fundly, a church or non-profit, a creator
    membership's payments), except a payment that was started and never
    finished;
  • the caller's gifts to a community fund.

Community dues and tips to FundlyHub are not gifts to a cause and are
not listed; they are on GET /me/account/subscriptions. The tip added
to a gift is that gift's own tipAmountCents.

stats is over every gift whatever the filters; pagination.total is
the number the filters leave, so with no filter it equals
stats.giftCount.

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​

Query Parameters

page

1-based page. Default 1.

Type
integer
Minimum
1
Default
1
limit

Gifts per page. Default 20.

Type
integer
Minimum
1
Maximum
100
Default
20
year

A calendar year (UTC), one of stats.years.

Type
integer
Example2026
status

Responses​

The figures and one page of gifts.

application/json
JSON
{
"data": {
"stats": "string",
"gifts": [
],
"pagination": {
"page": 0,
"limit": 0,
"total": 0,
"totalPages": 0
}
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


My subscriptions, the whole page​

GET
/me/account/subscriptions

The caller's monthly gifts to churches and non-profits, paid community
memberships, creator memberships and monthly tips to FundlyHub, with
what pays each, and the subscriptions that ended with what it takes to
start the same one again.

summary counts the subscriptions that are charging: started,
live, not set to end and not paused. Each item says so itself
(charging; every tip in tips is). Yearly amounts are summed apart
from monthly ones and never folded in. summary.nextCharge is the
earliest charge still ahead of a subscription whose last payment went
through.

Nothing here carries a Stripe id: a payment method is named by the
caller's own SavedMethod.id when it is one of their saved methods.

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​

Query Parameters

endedLimit

How many ended subscriptions to return, most recently ended first. Default 10.

Type
integer
Minimum
1
Maximum
50
Default
10

Responses​

The Subscriptions page.

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


My monthly tips to FundlyHub​

GET
/me/platform-tips

The caller's monthly tips: the ones still charging (tips) and the
ones that ended (ended, most recent first). A monthly tip is named by
the id of its first month's tip (POST /platform/tips), whether it was
started on the hosted page or paid in the checkout sheet. One paid in
the sheet is listed as soon as its first month is paid (or its bank
debit accepted). An attempt whose first month was never paid (a
declined card, a 3-D Secure step nobody finished) is not a monthly
tip: it is not listed here, live or ended, and its id answers 404.

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)

Responses​

The caller's monthly tips.

application/json
JSON
{
"data": {
"tips": [
],
"ended": [
]
}
}

Playground​

Server
Authorization

Samples​


Change the method a monthly tip charges​

PATCH
/me/platform-tips/{id}

Pays one of the caller's live monthly tips with another of their saved
methods, from its next charge. The rules are the ones every
subscription shares (see SubscriptionRetry): the method must be a
live method of the caller, not an expired card, and on the same Stripe
customer as the tip's subscription; a US bank account only where the
subscription already takes bank debits. A renewal that failed is paid
with the new method at once.

The caller's own signed-in session only.

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 monthly tip's id (AccountMonthlyTip.id).

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

The tip, with its method, and what became of a renewal that was owed.

application/json
JSON
{
"data": {
"tip": "string",
"payment": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Stop one of my monthly tips​

POST
/me/platform-tips/{id}/cancel

Stops one of the caller's own monthly tips. It takes effect at once,
like stopping a monthly gift: no further month is charged, and the
months already paid stay as they are (no refund). A tip that has
already ended answers 200 as well, with when it ended.

The caller's own signed-in session only.

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 monthly tip's id (AccountMonthlyTip.id).

Type
string
Required
Format
"uuid"

Responses​

Stopped.

application/json
JSON
{
"data": {
"canceled": true,
"effective": "string",
"endedAt": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Change the method a creator membership charges​

PATCH
/me/subscriptions/{id}

Pays one of the caller's memberships with another of their saved
methods. When the membership's renewal failed (past_due, unpaid)
the open invoice is paid with the new method at once, and payment
says what became of it; a membership that is paid up again loses its
payment_failed_at, failure_code and next_payment_attempt_at.

The method must be a live method of the caller, not an expired card,
and on the same Stripe customer as the membership's subscription; a US
bank account only where the membership already takes bank debits.

The caller's own signed-in session only.

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 membership's id (CreatorSubscription.id).

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

The membership, with its method, and what became of a renewal that was owed.

application/json
JSON
{
"data": {
"subscription": "string",
"payment": {
"status": "string",
"failure_code": "string"
}
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


List a creator's tiers​

GET
/creators/{user_id}/tiers

A creator's active tiers, by sort_order then price. Empty for a private profile, except to its owner.

Authentication is optional; it only matters for the owner.

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)
or

Parameters​

Path Parameters

user_id*

The creator's profile UUID (slugs are not accepted).

Type
string
Required
Format
"uuid"

Responses​

Active tiers

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List my tiers​

GET
/me/tiers

The caller's tiers, archived ones included (active first). Empty for someone who has never created one.

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)

Responses​

The caller's tiers

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

Playground​

Server
Authorization

Samples​


Create a tier​

POST
/me/tiers

Creates a tier and its Stripe Product with a monthly Price (and an annual one when annual_amount_cents is given). Creating a first tier grants the caller the creator role; there is no separate "become a creator" step. Receiving payouts still needs Stripe Connect onboarding — fans can subscribe before then, and the money is held.

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)

Request Body​

application/json
JSON
"string"

Responses​

Tier created

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Body

Samples​


Archive a tier​

DELETE
/me/tiers/{tier_id}

Archives one of the caller's tiers (is_active: false), hiding it from the public list. Reversible, and safe for tiers with subscribers. To remove a tier for good, use DELETE /me/tiers/{tier_id}/permanent.

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

tier_id*
Type
string
Required
Format
"uuid"

Responses​

Archived

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Update a tier​

PATCH
/me/tiers/{tier_id}

Partial update of one of the caller's tiers. Changing a price mints a new Stripe Price and deactivates the old one; existing subscribers keep their original price until renewal. Setting annual_amount_cents to null withdraws annual billing. Currency cannot be changed. A tier that is not the caller's is a 404.

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

tier_id*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"name": "string",
"description": "string",
"amount_cents": 0,
"annual_amount_cents": 0,
"benefits": [
"string"
],
"cover_image": "string",
"sort_order": 0,
"subscriber_limit": 0
}

Responses​

Updated tier

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete a tier permanently​

DELETE
/me/tiers/{tier_id}/permanent

Deletes one of the caller's tiers outright. Only possible for a tier nobody has ever subscribed to — a cancelled subscription is still a billing record — otherwise 409 with code: TIER_HAS_SUBSCRIBERS; archive it instead.

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

tier_id*
Type
string
Required
Format
"uuid"

Responses​

Deleted

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List my creator subscriptions​

GET
/me/subscriptions

Every subscription the caller holds, ended ones included, with tier and creator display fields. Active and trialing first, then past due, paused, and the rest; newest first within each.

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)

Responses​

The caller's subscriptions

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

Playground​

Server
Authorization

Samples​


Subscribe to a creator tier​

POST
/me/subscriptions

Creates a Stripe Subscription to an active tier, recorded locally as incomplete. Confirm the first payment in the browser with Stripe Elements using client_secret; the webhook then moves it to active.

Calling again while a previous attempt for the same tier is still incomplete or past_due resumes it — the same subscription and client_secret — rather than creating a second one. An active or trialing subscription to the tier is a 409. Subscribing to a different tier of the same creator is allowed.

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)

Request Body​

application/json
JSON
{
"tier_id": "string",
"interval": "string"
}

Responses​

Subscription created or resumed

application/json
JSON
{
"data": {
"subscription_id": "string",
"stripe_subscription_id": "string",
"client_secret": "string",
"status": "string"
}
}

Playground​

Server
Authorization
Body

Samples​


Cancel a creator subscription​

POST
/me/subscriptions/{id}/cancel

An active or trialing subscription is set to cancel at the end of the paid period. One that is incomplete, past_due, unpaid or paused is cancelled immediately. Already cancelled or already scheduled is a no-op. A subscription that is not the caller's is a 404.

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 local subscription id (subscription_id), not the Stripe id.

Type
string
Required
Format
"uuid"

Responses​

Cancelled or scheduled

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Resume a creator subscription​

POST
/me/subscriptions/{id}/resume

Undoes a scheduled cancellation while the subscription is still running. A no-op when nothing is scheduled. A subscription that has already ended cannot be resumed — subscribe again.

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*
Type
string
Required
Format
"uuid"

Responses​

Resumed (or nothing to undo)

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Communities​

Communities, such as a church, a school, a workplace or a city: the directory and featured lists, a community's page and its tabs, joining (one tap, by request, or a paid membership), people, invites and invite links, roles (owner, leaders, volunteers, members), posts, sharing Fundlies to a community (with leader approval where it is required), the community fund and its Stripe account, and each person's community settings. A community is named by its slug or its uuid ({key}, or {id} under /communities/). Reads answer 404 for a deleted community, a draft (except to its owner) and a hidden or suspended community (except to its members); a suspended community is read-only. Moving the fund's money and opening its Stripe links need a real signed-in session: an API key or an impersonating admin cannot.

Operations​

PATCH/me/community-memberships/{membershipId}GET/communitiesPOST/communitiesGET/communities/topGET/communities/slug-availableGET/communities/form-rulesGET/communities/reachGET/home/featured-communitiesGET/communities/invites/{token}POST/communities/invites/{token}/acceptPOST/communities/invites/{token}/declineGET/communities/{key}DELETE/communities/{key}PATCH/communities/{key}GET/communities/{key}/aboutGET/communities/{key}/feedGET/communities/{key}/fundliesGET/communities/{key}/membersPOST/communities/{key}/membersGET/communities/{key}/alert-countsGET/communities/{key}/linksPUT/communities/{key}/linksPOST/communities/{key}/links/{linkId}/clickPOST/communities/{key}/reportPOST/communities/{key}/joinPOST/communities/{key}/leaveGET/communities/{key}/requestsPOST/communities/{key}/requests/{userId}/approvePOST/communities/{key}/requests/{userId}/denyPOST/communities/{key}/requests/{userId}/declineGET/communities/{key}/mePATCH/communities/{key}/meGET/communities/{key}/peopleDELETE/communities/{key}/members/{userId}PATCH/communities/{key}/members/{userId}POST/communities/{key}/transferGET/communities/{key}/invitesPOST/communities/{key}/invitesPOST/communities/{key}/invites/{inviteId}/resendDELETE/communities/{key}/invites/{inviteId}GET/communities/{key}/invite-linkPATCH/communities/{key}/invite-linkPOST/communities/{key}/invite-link/rotatePOST/communities/{key}/postsDELETE/communities/{key}/posts/{postId}PATCH/communities/{key}/posts/{postId}GET/me/communities/shareableGET/fundraisers/{id}/communitiesPUT/fundraisers/{id}/communitiesGET/communities/{key}/pending-fundliesPOST/communities/{key}/fundlies/{fundraiserId}/approvePOST/communities/{key}/fundlies/{fundraiserId}/rejectGET/me/communitiesGET/me/community-settingsPUT/me/community-settingsPATCH/me/community-settingsGET/users/{id}/communitiesPOST/unsubscribe/one-clickPOST/communities/{id}/stripe/onboardingGET/communities/{id}/stripe/statusPOST/communities/{id}/stripe/dashboard-linkGET/communities/{id}/membershipPATCH/communities/{id}/membershipGET/communities/{id}/membership/mePOST/communities/{id}/join/paidPOST/communities/{id}/membership/cancelPOST/communities/{id}/membership/resumeGET/me/community-membershipsGET/me/community-memberships/{membershipId}/invoicesGET/me/community-memberships/{membershipId}/receiptsGET/me/community-memberships/{membershipId}/receipts/{receiptId}GET/communities/{id}/fundPATCH/communities/{id}/fundGET/communities/{id}/fund/entriesGET/communities/{id}/fund/entries.csvPOST/communities/{id}/fund/giftsGET/communities/{id}/fund/gifts/{paymentIntentId}/receiptGET/communities/{id}/fund/allocation-checkPOST/communities/{id}/fund/allocationsPOST/communities/{id}/fund/withdrawals/codePOST/communities/{id}/fund/withdrawalsGET/me/community-funds/pay-options

Change the method my community dues charge​

PATCH
/me/community-memberships/{membershipId}

Pays one of the caller's paid community memberships with another of
their saved methods. Dues pass the payment method's own fee through to
the member and nothing more, so when the new method is priced by
another rule (a US bank account in place of a card) the fee on the
coming invoices changes with it. Dues that were owed are paid with the
new method at once.

The method must be a live method of the caller, not an expired card,
and on the same Stripe customer as the membership; a US bank account
only where the membership already takes bank debits. A membership still
waiting for approval or for its first payment has no method to change
yet.

The caller's own signed-in session only.

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

membershipId*

The membership's id (GET /me/community-memberships, AccountDuesMembership.id).

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

Changed. Read the membership again for its method.

application/json
JSON
{
"data": {
"payment": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


List communities (the directory)​

GET
/communities

Active, listed communities. q (2 characters or more) matches name, city and about; category is a kind or paid. counts apply q and ignore category.

Parameters​

Query Parameters

q
Type
string
category
Type
string
Valid values
"all""paid""city""church""diaspora""families""school""workplace""other"
Default
"all"
offers_help

Just the ones with help in Find help (#2423). Ignored while Resources are switched off. It narrows counts too.

Type
string
Valid values
"true""1"
sort

impact ranks by Community impact, the figure on each card. raised, its old name, is still accepted.

Type
string
Valid values
"featured""members""impact""new"
Default
"featured"
limit
Type
integer
Minimum
1
Maximum
48
Default
24
offset
Type
integer
Minimum
0
Default
0

Responses​

OK

application/json
JSON
{
"data": [
],
"total": 0,
"pagination": "string",
"counts": {
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Create a community​

POST
/communities

The caller becomes the owner. Co-leaders get invites with their role. draft: true keeps it visible to the owner only. Settings are audit-logged; community.created is published.

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)

Request Body​

application/json
JSON
{
"name": "string",
"slug": "string",
"kind": "string",
"city_text": "string",
"place_id": "string",
"languages": [
"string"
],
"about": "string",
"links": [
],
"guidelines": [
"string"
],
"photo_url": "string",
"avatar_url": "string",
"photo_original_url": "string",
"photo_crop": {
"additionalProperties": "string"
},
"avatar_crop": {
"additionalProperties": "string"
},
"visibility": "string",
"listed": true,
"join_approval": "string",
"membership": "string",
"price_cents": 0,
"yearly_price_cents": 0,
"perks": [
"string"
],
"leaders_join_free": true,
"share_policy": "string",
"add_policy": "string",
"default_alert": "string",
"show_leaders": true,
"co_leaders": [
{
"user_id": "string",
"role": "string",
"additionalProperties": "string"
}
],
"draft": true,
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": "string",
"additionalProperties": "string"
}

Playground​

Server
Authorization
Body

Samples​


Top communities this month​

GET
/communities/top

The current calendar month (UTC), ranked by Community impact in the month (the card's figure, over the month), new members, or Fundlies fully funded. raised, the old name of impact, is still accepted.

Parameters​

Query Parameters

metric
Type
string
Valid values
"impact""new_members""funded"
Default
"impact"
limit
Type
integer
Minimum
1
Maximum
20
Default
5

Responses​

OK

application/json
JSON
{
"data": [
{
"community": "string",
"rank": 0,
"value": 0,
"fundlies_month": 0,
"funded_month": 0,
"month_impact_cents": 0,
"month_new_members": 0,
"additionalProperties": "string"
}
],
"month": "string",
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Check a community link​

GET
/communities/slug-available

Whether /communities/<slug> is free, and a suggestion when it is not.

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​

Query Parameters

slug
Type
string

Responses​

OK

application/json
JSON
{
"data": {
"slug": "string",
"available": true,
"reason": "string",
"suggestion": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


The community form's limits and choices​

GET
/communities/form-rules

Every limit and option the owner's Create and Settings forms hold to (lengths, counts, the link cap, the co-leader cap, the plan's price limits and quick picks, and each setting's choices), read from the same constants the server validates with. The plan's limits are null on a build without paid communities.

Responses​

OK

application/json
JSON
{
"data": {
"name": {
"min": 0,
"max": 0
},
"slug": {
"min": 0,
"max": 0
},
"city": {
"max": 0
},
"languages": {
"max_items": 0,
"max_length": 0
},
"about": {
"max": 0
},
"guidelines": {
"max_items": 0,
"max_length": 0
},
"links": {
"max": 0,
"label_max": 0
},
"co_leaders": {
"max_leaders": 0,
"max_people": 0
},
"owned_max": 0,
"perks": {
"max_items": 0,
"max_length": 0
},
"price": {
"min_cents": 0,
"max_cents": 0,
"yearly_max_cents": 0,
"presets_cents": [
0
],
"default_cents": 0,
"yearly_months": 0
},
"processing_fee": {
"percentage": 0,
"fixed_cents": 0
},
"currency": "string",
"kinds": [
"string"
],
"visibilities": [
"string"
],
"join_approvals": [
"string"
],
"memberships": [
"string"
],
"share_policies": [
"string"
],
"add_policies": [
"string"
],
"default_alerts": [
"string"
],
"co_leader_roles": [
"string"
],
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Samples​


Who would hear about a shared Fundly​

GET
/communities/reach

For the share step: distinct people across up to 3 of the caller's communities (minus the caller), the overlap who hear once, and per community the instant and digest counts. Counts only.

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​

Query Parameters

ids

Comma-separated community ids or slugs, at most 3.

Type
string

Responses​

OK

application/json
JSON
{
"data": {
"total": 0,
"overlap": 0,
"digest": 0,
"per": [
{
"community_id": "string",
"instant": 0,
"digest": 0,
"additionalProperties": "string"
}
],
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Featured communities for the home page​

GET
/home/featured-communities

Staff-featured communities first, then the biggest.

Parameters​

Query Parameters

limit
Type
integer
Minimum
1
Maximum
12
Default
4

Responses​

OK

application/json
JSON
{
"data": [
],
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Preview an invite​

GET
/communities/invites/{token}

Works for a member's share link code and for an emailed invite token. Shows the community and who invited.

Parameters​

Path Parameters

token*

An invite link code or an emailed invite token.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"kind": "string",
"community": "string",
"invited_by": "string",
"role": "string",
"status": "string",
"expires_at": "string",
"requires_approval": true,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Accept an invite​

POST
/communities/invites/{token}/accept

A share link joins (or requests, when approval applies); an emailed invite joins with its role. A paid community answers 402 for a member invite.

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

token*

An invite link code or an emailed invite token.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"status": "string",
"community": {
"slug": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Decline an invite​

POST
/communities/invites/{token}/decline

Turns down an emailed invite to a community for the signed-in caller: an invite that is still pending is marked declined (any other is left as it is), and the answer is status: declined with the community's slug. Only an emailed invite can be declined; an invite link's code, like an unknown token, answers 404 (code: INVITE_INVALID). An invite addressed to another account answers 403 (code: NOT_YOUR_INVITE).

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

token*

An invite link code or an emailed invite token.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"status": "string",
"community": {
"slug": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get a community​

GET
/communities/{key}

404 for a draft (except to its owner), a deleted community, or a hidden or suspended one (except to its members). A private community answers 200; its feed and members are gated.

Parameters​

Path Parameters

key*

The community's slug or uuid.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": "string",
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Delete a community​

DELETE
/communities/{key}

Owner only. A soft delete; 409 HAS_MONEY while the fund holds money or memberships are paying.

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

key*

The community's slug or uuid.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"deleted": true,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Update a community​

PATCH
/communities/{key}

Owner and leaders. Plan fields (membership, prices, perks, leaders_join_free) are owner only and follow the paid-membership rules. publish: true turns a draft live. Attribute CRUD: audit-logged, no event.

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

key*

The community's slug or uuid.

Type
string
Required

Request Body​

application/json
JSON
{
"publish": true,
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": "string",
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


A community's About tab​

GET
/communities/{key}/about

The community's About tab: its description, links, languages, guidelines, kind and city, visibility, how joining works (approval, and a paid membership's prices), when it was created, its stats and its team. Public, and a private community's About tab is readable too. A deleted community answers 404, as do a draft (except to its owner) and a hidden or suspended community (except to its members).

Parameters​

Path Parameters

key*

The community's slug or uuid.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"about": "string",
"languages": [
"string"
],
"guidelines": [
"string"
],
"kind": "string",
"city_text": "string",
"stats": {
"additionalProperties": "string"
},
"team": [
{
"additionalProperties": "string"
}
],
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


A community's feed​

GET
/communities/{key}/feed

Posts, the projection of community events (Fundlies posted, milestones, joins grouped per week, fund moves when the viewer can see the fund) and updates on Fundlies posted here, newest first. 403 MEMBERS_ONLY for non-members of a private community.

Parameters​

Path Parameters

key*

The community's slug or uuid.

Type
string
Required

Query Parameters

limit
Type
integer
Minimum
1
Maximum
50
Default
20
before

next_before from the previous page.

Type
string

Responses​

OK

application/json
JSON
{
"data": [
],
"next_before": "string",
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Fundlies posted in a community​

GET
/communities/{key}/fundlies

Public, private communities included. Active = live and not fully funded; funded = raised at least the goal; ended = neither. q matches title, organizer name and city.

Parameters​

Path Parameters

key*

The community's slug or uuid.

Type
string
Required

Query Parameters

status
Type
string
Valid values
"active""funded""ended"
Default
"active"
q
Type
string
sort
Type
string
Valid values
"newest""most_raised""ending"
Default
"newest"
limit
Type
integer
Minimum
1
Maximum
48
Default
24
offset
Type
integer
Minimum
0
Default
0

Responses​

OK

application/json
JSON
{
"data": [
],
"total": 0,
"counts": {
"active": 0,
"funded": 0,
"ended": 0,
"additionalProperties": "string"
},
"pagination": "string",
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


A community's members​

GET
/communities/{key}/members

The team first (owner, leaders, volunteers), then members, newest first; with show_leaders off and a viewer below leader, one list without roles. q matches public names; total is the match count.

Parameters​

Path Parameters

key*

The community's slug or uuid.

Type
string
Required

Query Parameters

q
Type
string
role
Type
string
Valid values
"all""team""leaders""volunteers""members"
filter
Type
string
Valid values
"new_month"
limit
Type
integer
Minimum
1
Maximum
100
Default
48
offset
Type
integer
Minimum
0
Default
0

Responses​

OK

application/json
JSON
{
"data": [
],
"total": 0,
"counts": {
"all": 0,
"team": 0,
"leaders": 0,
"volunteers": 0,
"members": 0,
"new_month": 0,
"additionalProperties": "string"
},
"pagination": "string",
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Add people​

POST
/communities/{key}/members

Adds where the person's setting allows it, otherwise sends an invite. Up to 50 adds and invites a day per person. Added people get one notification with a Leave action.

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

key*

The community's slug or uuid.

Type
string
Required

Request Body​

application/json
JSON
{
"user_ids": [
"string"
],
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"added": [
"string"
],
"invited": [
"string"
],
"skipped": [
"string"
],
"skipped_reasons": {
"additionalProperties": "string"
},
"additionalProperties": "string"
},
"remaining_today": 0,
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Who hears a new Fundly​

GET
/communities/{key}/alert-counts

Owner, leaders and volunteers. Counts only; members' own settings stay private.

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

key*

The community's slug or uuid.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"instant": 0,
"digest": 0,
"off": 0,
"muted": 0,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


A community's links, for editing​

GET
/communities/{key}/links

Owner and leaders. Every live link in order, with its Safe Browsing status (a flagged link is hidden from the page) and its clicks in the last 30 days.

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)

Path Parameters

key*

The community's slug or uuid.

Type
string
Required

OK

application/json
JSON
{
"data": [
],
"max": 8
}
Server
Authorization
Variables
Key
Value

Replace a community's links​

PUT
/communities/{key}/links

Owner and leaders; a suspended community is read-only. The ordered list replaces the live one: a row with its id keeps it (and its clicks), a URL already live is matched to its row, a live link left out is deleted. The server normalizes, detects the platform, refuses duplicates and more than 8, and checks every new URL with Google Web Risk (Safe Browsing) (unreachable: saved unchecked and re-checked nightly). Audit-logged as community.links_updated; no domain event.

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)

Path Parameters

key*

The community's slug or uuid.

Type
string
Required
application/json
JSON
{
"links": [
]
}

The list as saved.

application/json
JSON
{
"data": [
],
"max": 0
}
Server
Authorization
Variables
Key
Value
Body

Count a click on a community link​

POST
/communities/{key}/links/{linkId}/click

Public, rate-limited, sent as a beacon when someone opens a link. Adds one to today's count for the link; stores no user id. Always 204.

Parameters​

Path Parameters

key*
Type
string
Required
linkId*
Type
string
Required
Format
"uuid"

Responses​

Counted, or ignored for an unknown, removed or flagged link.

Playground​

Server
Variables
Key
Value

Samples​


Report a community​

POST
/communities/{key}/report

Signed in with a verified email. One report per person and community; a repeat report updates it. FundlyHub's Trust & Safety team reviews it.

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

key*
Type
string
Required

Request Body​

application/json
JSON
{
"reason": "string",
"details": "string",
"link_id": "string"
}

Responses​

Received.

application/json
JSON
{
"data": {
"id": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Join a community​

POST
/communities/{key}/join

One tap for a public community without approval; a request otherwise. A share link without approval (made by an owner or leader) joins directly. 402 PAYMENT_REQUIRED for a paid community; 403 REMOVED for a removed person.

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

key*

The community's slug or uuid.

Type
string
Required

Request Body​

application/json
JSON
{
"invite": "string",
"via": "string",
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"status": "string",
"viewer": {
"additionalProperties": "string"
},
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Leave a community​

POST
/communities/{key}/leave

409 OWNER_MUST_TRANSFER for the owner; 409 PAID_MEMBERSHIP_ACTIVE while a paid membership runs (cancel it first).

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

key*

The community's slug or uuid.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"left": true,
"access_until": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Join requests​

GET
/communities/{key}/requests

The people waiting for approval to join, oldest request first (at most 200): each person's user id, public name, avatar, handle and profile link, when they asked, and whether they came through an invite (via_invite). Someone with a private profile or an inactive account is shown as "A member", with no picture or link. For the owner, leaders and volunteers; anyone else gets 403 (code: FORBIDDEN), as does everyone in a suspended community. An unknown community answers 404.

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

key*

The community's slug or uuid.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": [
{
"user_id": "string",
"name": "string",
"avatar_url": "string",
"requested_at": "string",
"via_invite": true,
"additionalProperties": "string"
}
],
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Approve a join request​

POST
/communities/{key}/requests/{userId}/approve

Owner, leaders and volunteers. Publishes community.member_joined.

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

key*

The community's slug or uuid.

Type
string
Required
userId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": {
"status": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Deny a join request​

POST
/communities/{key}/requests/{userId}/deny

Turns down userId's request to join: the request is removed, and the answer is status: denied. For the owner, leaders and volunteers; anyone else gets 403 (code: FORBIDDEN), as does everyone in a suspended community. No pending request from that person answers 404. POST /communities/{key}/requests/{userId}/decline does the same.

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

key*

The community's slug or uuid.

Type
string
Required
userId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": {
"status": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Deny a join request (alias)​

POST
/communities/{key}/requests/{userId}/decline

An alias of POST /communities/{key}/requests/{userId}/deny, served by the same handler: it removes userId's pending request to join and answers status: denied. For the owner, leaders and volunteers; anyone else gets 403. No pending request from that person answers 404.

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

key*

The community's slug or uuid.

Type
string
Required
userId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": {
"status": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


My membership settings​

GET
/communities/{key}/me

The caller's role and alert choice in this community.

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

key*

The community's slug or uuid.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"role": "string",
"status": "string",
"alert_level": "string",
"channels": {
"email": true,
"push": true,
"web": true,
"additionalProperties": "string"
},
"muted_until": "string",
"pinned_home": true,
"joined_at": "string",
"joined_via": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Change my alerts here​

PATCH
/communities/{key}/me

Alert level, channels (an array or a partial object), mute (mute_days or muted_until, null unmutes) and pin to home.

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

key*

The community's slug or uuid.

Type
string
Required

Request Body​

application/json
JSON
{
"alert_level": "string",
"channels": {
"additionalProperties": "string"
},
"mute_days": 0,
"muted_until": "string",
"pinned_home": true,
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Add people: search and suggestions​

GET
/communities/{key}/people

Names and handles of public profiles, or an exact email; with no q, people the caller knows. state says whether an Add adds them right away (their community_add_policy) or sends an invite.

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

key*

The community's slug or uuid.

Type
string
Required

Query Parameters

q
Type
string

Responses​

OK

application/json
JSON
{
"data": [
{
"user_id": "string",
"name": "string",
"avatar_url": "string",
"handle": "string",
"city": "string",
"reason": "string",
"state": "string",
"invited_at": "string",
"additionalProperties": "string"
}
],
"remaining_today": 0,
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Remove a member​

DELETE
/communities/{key}/members/{userId}

Owner and leaders; never the owner; a leader cannot remove a leader. A removed person cannot join again on their own; they come back only by accepting a personal invite addressed to them.

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

key*

The community's slug or uuid.

Type
string
Required
userId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": {
"removed": true,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Change a member's role​

PATCH
/communities/{key}/members/{userId}

Leaders change roles below leader; only the owner makes or unmakes leaders. 409 LEADER_LIMIT past 10 leaders, the owner included.

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

key*

The community's slug or uuid.

Type
string
Required
userId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"role": "string",
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"user_id": "string",
"role": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Hand the community to a leader​

POST
/communities/{key}/transfer

Owner only; the new owner must be an active leader. The old owner becomes a leader, or leaves with leave: true, which answers { "data": null } (the caller is no longer in the community).

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

key*

The community's slug or uuid.

Type
string
Required

Request Body​

application/json
JSON
{
"user_id": "string",
"leave": true,
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"id": "string",
"slug": "string",
"name": "string",
"href": "/communities/city-of-goodness",
"kind": "string",
"city_text": "string",
"place_id": "string",
"place_slug": "string",
"photo_url": "string",
"avatar_url": "string",
"visibility": "string",
"listed": true,
"membership": "string",
"price_cents": 0,
"yearly_price_cents": 0,
"currency": "string",
"join_approval": "string",
"status": "string",
"featured": true,
"member_count": 0,
"fundly_count": 0,
"impact_cents": 0,
"created_at": "string",
"offers_help": true,
"viewer": {
"role": "string",
"status": "string",
"join_action": "string",
"can": {
"view_feed": true,
"view_members": true,
"edit_settings": true,
"manage_members": true,
"manage_leaders": true,
"approve_joins": true,
"approve_fundlies": true,
"add_people": true,
"invite_link": true,
"post": true,
"pin": true,
"share_fundly": true,
"transfer": true,
"delete": true,
"manage_payouts": true,
"additionalProperties": "string"
},
"can_manage": true,
"can_add": true,
"can_post": true,
"alert_level": "string",
"pinned_home": true,
"is_paid_member": true,
"renews_at": "string",
"paid_price_cents": 0,
"additionalProperties": "string"
},
"about": "string",
"links": [
],
"languages": [
"string"
],
"guidelines": [
"string"
],
"owner_id": "string",
"share_policy": "string",
"add_policy": "string",
"default_alert": "string",
"show_leaders": true,
"photo_original_url": "string",
"photo_crop": {
"additionalProperties": "string"
},
"avatar_crop": {
"additionalProperties": "string"
},
"stats": {
"member_count": 0,
"fundly_count": 0,
"active_count": 0,
"funded_count": 0,
"ended_count": 0,
"impact_cents": 0,
"impact": {
"fund_cents": 0,
"raised_cents": 0,
"given_cents": 0,
"driven_cents": 0,
"gifts": {
"fund": 0,
"raised": 0,
"given": 0,
"driven": 0
},
"fund_to_shared_cents": 0
},
"gift_count": 0,
"new_members_month": 0,
"team_count": 0,
"additionalProperties": "string"
},
"team": [
{
"user_id": "string",
"name": "string",
"avatar_url": "string",
"handle": "string",
"href": "string",
"role": "string",
"since": "string",
"added_count": 0,
"additionalProperties": "string"
}
],
"pinned_post": {
"id": "string",
"body": "string",
"created_at": "string",
"author": "string",
"additionalProperties": "string"
},
"leaderboard_url": "string",
"invite": {
"token": "string",
"url": "string",
"uses": 0,
"requires_approval": true,
"expires_at": "string",
"additionalProperties": "string"
},
"setup": {
"has_photo": true,
"member_count": 0,
"has_welcome_post": true,
"has_fundly": true,
"additionalProperties": "string"
},
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Pending invites​

GET
/communities/{key}/invites

Owner, leaders and volunteers. An address shows only for invites typed as an address.

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

key*

The community's slug or uuid.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": [
{
"id": "string",
"user_id": "string",
"name": "string",
"avatar_url": "string",
"email": "string",
"role": "string",
"invited_by_name": "string",
"created_at": "string",
"expires_at": "string",
"last_sent_at": "string",
"additionalProperties": "string"
}
],
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Invite people​

POST
/communities/{key}/invites

By email or account. Invites expire after 14 days. A volunteer role needs a leader; a leader role needs the owner.

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

key*

The community's slug or uuid.

Type
string
Required

Request Body​

application/json
JSON
{
"emails": [
"string"
],
"user_ids": [
"string"
],
"role": "string",
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"invited": 0,
"invites": [
{
"additionalProperties": "string"
}
],
"skipped": [
{
"additionalProperties": "string"
}
],
"additionalProperties": "string"
},
"remaining_today": 0,
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Resend an invite​

POST
/communities/{key}/invites/{inviteId}/resend

A fresh token and 14 more days; once a day.

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

key*

The community's slug or uuid.

Type
string
Required
inviteId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": {
"resent": true,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Cancel an invite​

DELETE
/communities/{key}/invites/{inviteId}

Owner, leaders and volunteers, or whoever sent it.

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

key*

The community's slug or uuid.

Type
string
Required
inviteId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": {
"cancelled": true,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


My invite link​

GET
/communities/{key}/invite-link

Each member has their own link (/communities/<slug>?invite=<token>), so joins credit them.

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)

Path Parameters

key*

The community's slug or uuid.

Type
string
Required

OK

application/json
JSON
{
"data": {
"token": "string",
"url": "string",
"uses": 0,
"requires_approval": true,
"expires_at": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}
Server
Authorization
Variables
Key
Value

Change my invite link​

PATCH
/communities/{key}/invite-link

Owner and leaders: approval for each join, and an expiry.

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)

Path Parameters

key*

The community's slug or uuid.

Type
string
Required
application/json
JSON
{
"requires_approval": true,
"expires_in_days": 0,
"additionalProperties": "string"
}

OK

application/json
JSON
{
"data": {
"additionalProperties": "string"
},
"additionalProperties": "string"
}
Server
Authorization
Variables
Key
Value
Body

Replace my invite link​

POST
/communities/{key}/invite-link/rotate

Cancels the caller's own invite link for this community and issues one with a new code; the old code no longer works as an invite (its preview says cancelled). Answers the new link: token, url, uses back at 0, requires_approval and expires_at. The new link has no expiry, and an owner's or leader's link starts without the approval step, so set them again with PATCH /communities/{key}/invite-link. Any active member may rotate their own link; anyone else, and everyone in a suspended community, gets 403.

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)

Path Parameters

key*

The community's slug or uuid.

Type
string
Required

OK

application/json
JSON
{
"data": {
"additionalProperties": "string"
},
"additionalProperties": "string"
}
Server
Authorization
Variables
Key
Value

Post to a community​

POST
/communities/{key}/posts

Owner, leaders and volunteers; pinning needs owner or leader, and unpins the previous post. A "Tell your members" post (CM-07) names one of the community's own live resources in resource_id (owner and leaders only; 400 VALIDATION_ERROR with details.field = resource_id otherwise), and the feed shows the help's card under the post while the viewer may see it.

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

key*

The community's slug or uuid.

Type
string
Required

Request Body​

application/json
JSON
{
"body": "string",
"pinned": true,
"resource_id": "string",
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete a post​

DELETE
/communities/{key}/posts/{postId}

Takes a post off the community's feed (a pinned post is unpinned) and answers deleted: true. The author may delete their own post while they can still post here (as an active volunteer, leader or owner); the owner and leaders may delete any post. Anyone else gets 403. A post that is not in this community, or was already deleted, answers 404.

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

key*

The community's slug or uuid.

Type
string
Required
postId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": {
"deleted": true,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit or pin a post​

PATCH
/communities/{key}/posts/{postId}

Edits a post's body (1 to 2000 characters) or pins or unpins it (pinned), and answers the post. The author may edit their own post while they can still post here (as an active volunteer, leader or owner); the owner and leaders may edit any post, and only they pin. One post is pinned at a time: pinning this one unpins the others. A post that is not in this community, or was deleted, answers 404; a caller who may not make the change gets 403, and a bad value 400 (code: VALIDATION_ERROR).

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

key*

The community's slug or uuid.

Type
string
Required
postId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"body": "string",
"pinned": true,
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Communities I can share a Fundly to​

GET
/me/communities/shareable

The caller's active communities, with this Fundly's share state when fundraiser_id is given (it may not exist yet).

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​

Query Parameters

fundraiser_id
Type
string
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": [
],
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


A Fundly's community shares​

GET
/fundraisers/{id}/communities

The organizer's view of where the Fundly is shared and what each share waits for.

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 fundraiser id.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": [
{
"community_id": "string",
"slug": "string",
"name": "string",
"status": "string",
"primary": true,
"awaiting": "string",
"additionalProperties": "string"
}
],
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Share a Fundly to communities​

PUT
/fundraisers/{id}/communities

At most 3, exactly one primary; [] removes every share. A share posts only after the Fundly passes verification and, under leader approval, a leader approves; community.fundly_posted fires then.

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 fundraiser id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"communities": [
{
"community_id": "string",
"primary": true,
"additionalProperties": "string"
}
],
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": [
{
"additionalProperties": "string"
}
],
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Fundlies waiting for approval​

GET
/communities/{key}/pending-fundlies

Owner and leaders: shares waiting under leader approval.

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

key*

The community's slug or uuid.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": [
{
"fundraiser": "string",
"shared_by": "string",
"shared_at": "string",
"verified": true,
"additionalProperties": "string"
}
],
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Approve a shared Fundly​

POST
/communities/{key}/fundlies/{fundraiserId}/approve

Owner and leaders. Posts it now if it passed verification.

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

key*

The community's slug or uuid.

Type
string
Required
fundraiserId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": {
"status": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Reject a shared Fundly​

POST
/communities/{key}/fundlies/{fundraiserId}/reject

Turns down a Fundly shared to this community that is waiting for approval (the list is GET /communities/{key}/pending-fundlies): it is not posted, and the answer is status: rejected. For the owner and leaders; anyone else gets 403, as does everyone in a suspended community. A Fundly with no share waiting here answers 404. If this was the Fundly's primary community, another of its live shares becomes primary, a posted one before a pending one.

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

key*

The community's slug or uuid.

Type
string
Required
fundraiserId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": {
"status": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


My communities​

GET
/me/communities

Pinned first, then by role and name, with my alert choice and any paid membership.

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)

Responses​

OK

application/json
JSON
{
"data": [
],
"additionalProperties": "string"
}

Playground​

Server
Authorization

Samples​


My community settings​

GET
/me/community-settings

Who can add me, quiet hours, profile and leaderboard visibility, timezone.

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)

Responses​

OK

application/json
JSON
{
"data": {
"add_policy": "string",
"quiet_hours": {
"enabled": true,
"start": "string",
"end": "string",
"additionalProperties": "string"
},
"show_on_profile": true,
"show_on_leaderboards": true,
"timezone": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization

Samples​


Change my community settings (PUT)​

PUT
/me/community-settings

The same as PATCH /me/community-settings (one handler serves both): only the fields sent change. add_policy is who may add you to a community directly (anyone; follows_and_shared, the default: people you follow and people in your communities; or nobody), and any other add becomes an invite. quiet_hours takes { enabled }, show_on_profile and show_on_leaderboards are true or false, and timezone is an IANA time zone. A bad value answers 400 (code: VALIDATION_ERROR, with field); otherwise the answer is all of the caller's community settings.

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)

Request Body​

application/json
JSON
{
"add_policy": "string",
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Body

Samples​


Change my community settings​

PATCH
/me/community-settings

Partial. Quiet hours are 10pm to 7am local; only enabled is stored.

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)

Request Body​

application/json
JSON
{
"add_policy": "string",
"quiet_hours": {
"enabled": true,
"additionalProperties": "string"
},
"show_on_profile": true,
"show_on_leaderboards": true,
"timezone": "string",
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Body

Samples​


A person's communities​

GET
/users/{id}/communities

For the profile. Empty when the person turned it off; private communities show only to viewers who are members too.

Parameters​

Path Parameters

id*

Profile uuid or handle.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": [
],
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


One-click unsubscribe (RFC 8058)​

POST
/unsubscribe/one-click

The List-Unsubscribe-Post target mailbox providers call. The signed token names one address and one scope (the email's category); that one suppression is written at once.

Parameters​

Query Parameters

token

The signed unsubscribe token from the List-Unsubscribe header.

Type
string

Responses​

OK

application/json
JSON
{
"data": {
"scope": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Connect the community's Stripe account​

POST
/communities/{id}/stripe/onboarding

Owner only. Creates (or reuses) the community's own Stripe Express account, which the owner verifies, and returns a fresh Stripe-hosted onboarding link that returns to the community's settings. accept_debit_terms: true records the owner's consent to Stripe Account Debits, which giving from the fund to a Fundly needs. Requires a signed-in session.

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 community's uuid or slug.

Type
string
Required

Request Body​

application/json
JSON
{
"accept_debit_terms": true
}

Responses​

OK

application/json
JSON
{
"data": {
"url": "string",
"account_id": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


The community's Stripe account status​

GET
/communities/{id}/stripe/status

Owner and leaders. Read live from Stripe (the stored row when Stripe is unreachable).

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 community's uuid or slug.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"connected": true,
"status": "string",
"account_id": "string",
"charges_enabled": true,
"payouts_enabled": true,
"details_submitted": true,
"requirements_due": [
"string"
],
"bank_name": "string",
"last4": "string",
"payout_schedule": "string",
"debit_consent": true,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Open the community's Stripe dashboard​

POST
/communities/{id}/stripe/dashboard-link

Owner only: a one-time Stripe Express dashboard login link (bank account, payouts).

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)

Path Parameters

id*

The community's uuid or slug.

Type
string
Required

OK

application/json
JSON
{
"data": {
"url": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}
Server
Authorization
Variables
Key
Value

The paid membership plan​

GET
/communities/{id}/membership

Public. The monthly and yearly price, perks, who receives the dues (named even when leaders are hidden), a price change serving its 30 days of notice, the card fee preview (FundlyHub keeps 0%), and that dues are not tax-deductible.

Authorizations​

or
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 community's uuid or slug.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"membership": "string",
"price_cents": 0,
"yearly_price_cents": 0,
"currency": "string",
"perks": [
"string"
],
"leaders_join_free": true,
"payee_name": "string",
"pending_change": {
"price_cents": 0,
"yearly_price_cents": 0,
"effective_at": "string"
},
"accepting_payments": true,
"fee_preview": {
"gross_cents": 0,
"card_fee_cents": 0,
"fundlyhub_fee_cents": 0,
"net_cents": 0
},
"tax_note": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Change the paid membership plan​

PATCH
/communities/{id}/membership

Owner only. A price change with paying members is scheduled: every paying member is emailed and moves to the new price at their first renewal 30 days or more after the notice; new joiners pay it at once. Paid to free cancels every subscription at period end. Audit-logged, no event.

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 community's uuid or slug.

Type
string
Required

Request Body​

application/json
JSON
{
"membership": "string",
"price_cents": 0,
"yearly_price_cents": 0,
"perks": [
"string"
],
"leaders_join_free": true
}

Responses​

OK

application/json
JSON
{
"data": {
"membership": "string",
"price_cents": 0,
"yearly_price_cents": 0,
"currency": "string",
"perks": [
"string"
],
"leaders_join_free": true,
"payee_name": "string",
"pending_change": {
"price_cents": 0,
"yearly_price_cents": 0,
"effective_at": "string"
},
"accepting_payments": true,
"fee_preview": {
"gross_cents": 0,
"card_fee_cents": 0,
"fundlyhub_fee_cents": 0,
"net_cents": 0
},
"tax_note": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


My paid membership in a community​

GET
/communities/{id}/membership/me

The signed-in person's paid membership: status, price, renewal, card, and the client secret of an open invoice while payment is needed.

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 community's uuid or slug.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"id": "string",
"status": "string",
"interval": "string",
"amount_cents": 0,
"current_period_end": "string",
"cancel_at_period_end": true,
"access_until": "string",
"card": {
"brand": "string",
"last4": "string"
},
"client_secret": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Join a paid community​

POST
/communities/{id}/join/paid

With approval (leaders approve, or a private community): creates the join request and returns a SetupIntent client_secret (intent_type: setup) to save the card. Nothing is charged until a leader approves; then the subscription is created and the saved card charged. Without approval: returns the first invoice's PaymentIntent secret (intent_type: payment); the member is in once it is paid. Dues go to the community's own Stripe account; FundlyHub keeps 0%. Dues are not donations and are not tax-deductible.

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 community's uuid or slug.

Type
string
Required

Request Body​

application/json
JSON
{
"interval": "month"
}

Responses​

OK

application/json
JSON
{
"data": {
"status": "string",
"intent_type": "string",
"client_secret": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Cancel a paid membership (leave)​

POST
/communities/{id}/membership/cancel

Cancels at the end of the paid period: access lasts until access_until, no further charge, then the member leaves. A membership never charged (waiting for approval) ends at once.

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 community's uuid or slug.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"access_until": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Undo a cancellation​

POST
/communities/{id}/membership/resume

Before the period ends, keeps the membership renewing.

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 community's uuid or slug.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"id": "string",
"status": "string",
"interval": "string",
"amount_cents": 0,
"current_period_end": "string",
"cancel_at_period_end": true,
"access_until": "string",
"card": {
"brand": "string",
"last4": "string"
},
"client_secret": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


My paid community memberships​

GET
/me/community-memberships

Every live paid membership of the signed-in person, for Settings: price, renewal, card. Dues are not tax-deductible. The Subscriptions page reads the same memberships, with ended ones and without asking Stripe, from GET /me/account/subscriptions; PATCH /me/community-memberships/{membershipId} changes what pays one.

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)

Responses​

OK

application/json
JSON
{
"data": [
{
"community": {
"id": "string",
"slug": "string",
"name": "string",
"avatar_url": "string",
"additionalProperties": "string"
},
"status": "string",
"interval": "string",
"amount_cents": 0,
"current_period_end": "string",
"cancel_at_period_end": true,
"tax_note": "string",
"additionalProperties": "string"
}
],
"additionalProperties": "string"
}

Playground​

Server
Authorization

Samples​


Receipts for a paid membership​

GET
/me/community-memberships/{membershipId}/invoices

The membership's paid and open Stripe invoices with their hosted and PDF links.

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

membershipId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": [
{
"id": "string",
"number": "string",
"amount_paid_cents": 0,
"created_at": "string",
"hosted_invoice_url": "string",
"pdf_url": "string",
"additionalProperties": "string"
}
],
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


A paid membership's dues, as FundlyHub receipts​

GET
/me/community-memberships/{membershipId}/receipts

One receipt per dues payment, newest first: what reached the community, the processing fee, what was paid and where the payment stands. A payment the bank returned stays listed (state returned). The signed-in member's own membership only; another person's is 404.

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

membershipId*
Type
string
Required
Format
"uuid"

Query Parameters

limit
Type
integer
Minimum
1
Maximum
50
Default
12
offset
Type
integer
Minimum
0
Default
0

Responses​

OK

application/json
JSON
{
"data": [
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


One dues receipt​

GET
/me/community-memberships/{membershipId}/receipts/{receiptId}

One of the membership's dues receipts, by its id. The signed-in member's own only.

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

membershipId*
Type
string
Required
Format
"uuid"
receiptId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


The community fund​

GET
/communities/{id}/fund

Visibility applies: public anyone; members paying members, the owner and leaders; private the owner and leaders. A viewer who cannot see the fund gets 200 with viewer and the settings only. Dues are one row a month; an anonymous giver is named to leaders only. payout_account is for the owner and leaders, hold for the owner.

Authorizations​

or
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 community's uuid or slug.

Type
string
Required

Query Parameters

limit
Type
integer
Minimum
1
Maximum
100
Default
20

Responses​

OK

application/json
JSON
{
"data": {
"community_id": "string",
"enabled": true,
"visibility": "string",
"accept_gifts": true,
"viewer": {
"can_see": true,
"can_move_money": true,
"is_leader": true,
"can_give": true,
"additionalProperties": "string"
},
"balance": {
"available_cents": 0,
"pending_cents": 0,
"pending_available_on": "string",
"spendable_cents": 0,
"open_disputes_cents": 0,
"additionalProperties": "string"
},
"totals": {
"raised_cents": 0,
"dues_cents": 0,
"gifts_cents": 0,
"given_cents": 0,
"withdrawn_cents": 0,
"since": "string",
"additionalProperties": "string"
},
"given_to": [
{
"fundraiser_id": "string",
"slug": "string",
"title": "string",
"organizer_name": "string",
"image_url": "string",
"raised_cents": 0,
"from_fund_cents": 0,
"additionalProperties": "string"
}
],
"entries": [
{
"id": "string",
"kind": "string",
"amount_cents": 0,
"gross_cents": 0,
"created_at": "string",
"available_on": "string",
"fundraiser": {
"id": "string",
"slug": "string",
"title": "string",
"organizer_name": "string"
},
"to_leader_fundly": true,
"donor_name": "string",
"anonymous": true,
"note": "string",
"reason": "string",
"actor_name": "string",
"member_count": 0,
"period": "string",
"additionalProperties": "string"
}
],
"entries_total": 0,
"payout_account": {
"bank_name": "string",
"last4": "string"
},
"open_dispute": true,
"negative_balance": true,
"hold": {
"limit_days": 0,
"next_auto_payout_on": "string",
"next_auto_payout_cents": 0
},
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Fund settings​

PATCH
/communities/{id}/fund

Owner only. On: the account pays out manually and the money collects; off: weekly payouts. Visibility changes are audit-logged (no event) and hide past activity too. accept_debit_terms: true records the Account Debit consent.

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 community's uuid or slug.

Type
string
Required

Request Body​

application/json
JSON
{
"enabled": true,
"visibility": "string",
"accept_gifts": true,
"accept_debit_terms": true
}

Responses​

OK

application/json
JSON
{
"data": {
"community_id": "string",
"enabled": true,
"visibility": "string",
"accept_gifts": true,
"viewer": {
"can_see": true,
"can_move_money": true,
"is_leader": true,
"can_give": true,
"additionalProperties": "string"
},
"balance": {
"available_cents": 0,
"pending_cents": 0,
"pending_available_on": "string",
"spendable_cents": 0,
"open_disputes_cents": 0,
"additionalProperties": "string"
},
"totals": {
"raised_cents": 0,
"dues_cents": 0,
"gifts_cents": 0,
"given_cents": 0,
"withdrawn_cents": 0,
"since": "string",
"additionalProperties": "string"
},
"given_to": [
{
"fundraiser_id": "string",
"slug": "string",
"title": "string",
"organizer_name": "string",
"image_url": "string",
"raised_cents": 0,
"from_fund_cents": 0,
"additionalProperties": "string"
}
],
"entries": [
{
"id": "string",
"kind": "string",
"amount_cents": 0,
"gross_cents": 0,
"created_at": "string",
"available_on": "string",
"fundraiser": {
"id": "string",
"slug": "string",
"title": "string",
"organizer_name": "string"
},
"to_leader_fundly": true,
"donor_name": "string",
"anonymous": true,
"note": "string",
"reason": "string",
"actor_name": "string",
"member_count": 0,
"period": "string",
"additionalProperties": "string"
}
],
"entries_total": 0,
"payout_account": {
"bank_name": "string",
"last4": "string"
},
"open_dispute": true,
"negative_balance": true,
"hold": {
"limit_days": 0,
"next_auto_payout_on": "string",
"next_auto_payout_cents": 0
},
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


The fund activity, paged​

GET
/communities/{id}/fund/entries

The fund's activity, newest first: limit entries (1 to 100, default 20) from offset, with total for paging. Visible as the fund is (see GET /communities/{id}/fund): public to anyone, members to paying members, the owner and leaders, private to the owner and leaders, and a fund that is switched off to the owner and leaders only. An unknown community answers 404; anyone else who may not see the fund gets 403 (code: FUND_HIDDEN). Dues are one row a month (period, member_count); an anonymous giver is named to the owner and leaders only, and the team member behind an entry (actor_name) only when the community shows its leaders or the caller is the owner or a leader.

Authorizations​

or
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 community's uuid or slug.

Type
string
Required

Query Parameters

limit
Type
integer
Minimum
1
Maximum
100
Default
20
offset
Type
integer
Minimum
0
Default
0

Responses​

OK

application/json
JSON
{
"data": {
"entries": [
{
"id": "string",
"kind": "string",
"amount_cents": 0,
"gross_cents": 0,
"created_at": "string",
"available_on": "string",
"fundraiser": {
"id": "string",
"slug": "string",
"title": "string",
"organizer_name": "string"
},
"to_leader_fundly": true,
"donor_name": "string",
"anonymous": true,
"note": "string",
"reason": "string",
"actor_name": "string",
"member_count": 0,
"period": "string",
"additionalProperties": "string"
}
],
"total": 0,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Export the fund activity (CSV)​

GET
/communities/{id}/fund/entries.csv

Owner and leaders. Every entry, givers named, dues by month.

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 community's uuid or slug.

Type
string
Required

Responses​

CSV

text/csv
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Give once to the community fund​

POST
/communities/{id}/fund/gifts

Anyone, guests included (a guest gives donor_email; in sheet mode a guest paying with Apple Pay, Google Pay or Link may omit it and donor_name, and the wallet's are used). A destination charge to the community's own Stripe account: the card fee comes out, FundlyHub keeps 0%. A gift to the fund is not a donation to a Fundly and is not tax-deductible. Confirm the returned PaymentIntent with Stripe Elements. Needs the same reCAPTCHA token as a donation's payment intent (recaptcha_token or x-recaptcha-token; signed-in verified users are exempt). The apps can send an App Attest assertion (x-app-attest-key-id, x-app-attest-assertion, app_attest_challenge) or a Play Integrity token (x-play-integrity-token, play_integrity_challenge) instead, exactly as on POST /payments/create-intent; an invalid one answers 403 with its APP_ATTEST_* or PLAY_INTEGRITY_* code unless the request passes another way.

Authorizations​

or
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 community's uuid or slug.

Type
string
Required

Request Body​

application/json
JSON
{
"amount_cents": 0,
"note": "string",
"anonymous": true,
"donor_name": "string",
"donor_email": "string",
"recaptcha_token": "string",
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"client_secret": "string",
"payment_intent_id": "string",
"fee_cents": 0,
"net_cents": 0,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Variables
Key
Value
Body

Samples​


The receipt of a gift to the community fund​

GET
/communities/{id}/fund/gifts/{paymentIntentId}/receipt

The receipt of one gift to the community's fund, read by the gift's own PaymentIntent id (payment_intent_id from POST /communities/{id}/fund/gifts). No authentication: guests give, so the id is the capability; treat it as a secret, since the receipt carries the giver's name and email. A gift from before the fund kept the PaymentIntent id has none (404). Responses are Cache-Control: private, no-store.

Parameters​

Path Parameters

id*

The community's id or slug.

Type
string
Required
paymentIntentId*
Type
string
Required
Pattern
"^pi_[A-Za-z0-9_]+$"

Responses​

OK

application/json
JSON
{
"data": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Can the fund give to this Fundly?​

GET
/communities/{id}/fund/allocation-check

Owner only. Why not, when not: own_fundly (the owner organizes, co-organizes or is the beneficiary of the Fundly), dispute_open, negative_balance, fund_disabled, fundraiser_not_accepting, recipient_unavailable (the Fundly's beneficiary cannot take the gift now: a nonprofit without a ready payout account, or a beneficiary nobody linked or invited), account_not_ready, debit_consent_required.

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 community's uuid or slug.

Type
string
Required

Query Parameters

fundraiser_id*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": {
"eligible": true,
"reason": "string",
"available_cents": 0,
"to_leader_fundly": true,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Give from the fund to a Fundly​

POST
/communities/{id}/fund/allocations

Owner only, signed-in session. A Stripe Account Debit moves the money from the community account to the platform, then a donation from " fund" (no tip, no card fee, never anonymous, no receipt) lands on the Fundly and pays the recipient card checkout would: the nonprofit's own Stripe account, the linked beneficiary, a pending invitation (held until accepted) or, on the organizer's own Fundly, the organizer; never the organizer instead. A beneficiary that cannot take the gift is refused (409 RECIPIENT_UNAVAILABLE); if that is found after the debit, the money goes back to the fund. Refused for a Fundly the owner organizes, co-organizes or benefits from; labelled when it is a leader's. Send an Idempotency-Key header (or idempotency_key): the same key returns the first result; with a different body, 409 IDEMPOTENCY_CONFLICT. Publishes community.fund_allocated after commit.

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​

Header Parameters

Idempotency-Key
Type
string
Max Length
200

Path Parameters

id*

The community's uuid or slug.

Type
string
Required

Request Body​

application/json
JSON
{
"fundraiser_id": "string",
"amount_cents": 0,
"note": "string",
"idempotency_key": "string",
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"allocation_id": "string",
"entry_id": "string",
"donation_id": "string",
"amount_cents": 0,
"available_cents_after": 0,
"to_leader_fundly": true,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Headers
Variables
Key
Value
Body

Samples​


Send the withdrawal code​

POST
/communities/{id}/fund/withdrawals/code

Owner only, signed-in session. Emails a 6-digit one-time code (10 minutes, one use, 5 attempts) to the owner's account address; at most 5 an hour.

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 community's uuid or slug.

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"method": "string",
"sent_to_hint": "string",
"expires_at": "string",
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Withdraw from the fund to the community bank​

POST
/communities/{id}/fund/withdrawals

Owner only, signed-in session. A payout from the community's Stripe account to its bank, with a reason (at most 120 characters) and the emailed code. Blocked while a dispute is open or the balance is negative. Audit-logged; publishes community.fund_withdrawn after commit.

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 community's uuid or slug.

Type
string
Required

Request Body​

application/json
JSON
{
"amount_cents": 0,
"reason": "string",
"code": "string",
"additionalProperties": "string"
}

Responses​

OK

application/json
JSON
{
"data": {
"withdrawal_id": "string",
"entry_id": "string",
"payout_id": "string",
"amount_cents": 0,
"arrival_date": "string",
"available_cents_after": 0,
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Funds I can give from to this Fundly​

GET
/me/community-funds/pay-options

The donation widget's "Pay with" list: community funds the signed-in person owns, with money in them, that may give to this Fundly (never the person's own, co-organized or beneficiary Fundly, and none when the Fundly's beneficiary cannot take a fund gift now). A fund with an open dispute or a negative balance is listed with the reason.

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​

Query Parameters

fundraiser_id*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": [
{
"community_id": "string",
"slug": "string",
"name": "string",
"avatar_url": "string",
"available_cents": 0,
"visibility": "string",
"blocked_reason": "string",
"additionalProperties": "string"
}
],
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Enhance text​

POST
/ai/enhance-text

Rewrite or generate one campaign field with an LLM. Requires a bearer session and is gated by the features.ai_text_enhancement flag. Throughput is capped per user (10 requests per minute by default).
context.field selects the system prompt and must be one of summary, story or milestone; any other value falls back to the summary prompt. text is capped at the server's maximum length.

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)

Request Body​

application/json
JSON
{
"action": "string",
"text": "string",
"context": {
"field": "string",
"title": "string",
"category": "string",
"goalAmount": 0,
"beneficiaryName": "string",
"milestoneTitle": "string",
"milestoneAmount": 0
}
}

Responses​

Enhanced text

application/json
JSON
{
"enhancedText": "string"
}

Playground​

Server
Authorization
Body

Samples​


Campaign AI chat​

POST
/ai/campaign-chat

Conversational assistant for the campaign-creation wizard. Requires a
bearer session; throughput is capped per user (10 requests per minute
by default).

The response is a Server-Sent Events stream (text/event-stream),
not a JSON document. Each event carries one JSON object:

  • {"type":"token","content":"…"} — one streamed text token
  • {"type":"campaign_data","data":{…}} — campaign fields the model extracted
  • {"type":"done"} — stream complete
  • {"type":"error","message":"…"} — the stream failed mid-flight

Only the most recent 30 messages of messages are sent to the model.

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)

Request Body​

application/json
JSON
{
"messages": [
{
"role": "string",
"content": "string"
}
],
"extractedData": {
"additionalProperties": "string"
}
}

Responses​

Server-Sent Events stream of tokens and extracted campaign data.

text/event-stream
JSON
"string"

Playground​

Server
Authorization
Body

Samples​


Detect category​

POST
/ai/detect-category

Classifies a campaign into one of the platform's categories. Requires a bearer session; throughput is capped per user (10 requests per minute by default).
Send any combination of title, summary and description — they are joined, truncated to 500 characters and classified. At least one must be present and the joined text must be 3 characters or longer.

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)

Request Body​

application/json
JSON
{
"title": "string",
"summary": "string",
"description": "string"
}

Responses​

Detected category

application/json
JSON
{
"categoryName": "string"
}

Playground​

Server
Authorization
Body

Samples​


Generate a project update​

POST
/ai/generate-update

Writes or rewrites a campaign update's text with an LLM. Requires a bearer session and is gated by the features.ai_update_generation flag. Throughput is capped per user inside the handler (10 requests per minute by default).
context.fundraiserTitle is required. Up to three context.previousUpdates are folded into the prompt for generate and improve.

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)

Request Body​

application/json
JSON
{
"action": "string",
"text": "string",
"context": {
"fundraiserTitle": "string",
"fundraiserId": "string",
"milestoneTitle": "string",
"previousUpdates": [
"string"
]
}
}

Responses​

Generated text

application/json
JSON
{
"enhancedText": "string"
}

Playground​

Server
Authorization
Body

Samples​


Import descriptive event details from a public URL​

POST
/ai/scrape-event-url

Requires a session and the Events feature gate (event staff retain their existing access while the feature is off). Per-account request limits apply. Reads public HTTP(S) event pages, rejects private/reserved destinations, and extracts descriptive fields for the host to review through normal draft saving. Never creates or publishes an event and never imports hosts, prices, permissions, payment settings or a schedule. The host must review the details and set the schedule before publishing.

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)

Request Body​

application/json
JSON
{
"url": "string"
}

Responses​

Extracted descriptive fields for review; absent fields were not found.

application/json
JSON
{
"success": true,
"data": {
"title": "string",
"subtitle": "string",
"aboutHtml": "string",
"coverImage": "string",
"venueName": "string"
}
}

Playground​

Server
Authorization
Body

Samples​


Import a campaign from a URL​

POST
/ai/scrape-campaign-url

Reads a campaign page on another platform and extracts its fields with an LLM, for the "import from link" step of the campaign builder. Requires a bearer session; throughput is capped per user inside the handler (10 requests per minute by default).
The response carries a one-time scrape_token, valid for 30 minutes; pass it on POST /fundraisers when creating the imported campaign. When the LLM is not configured, only the page title is returned, with a note and no token.

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)

Request Body​

application/json
JSON
{
"url": "string"
}

Responses​

Extracted campaign fields

application/json
JSON
{
"success": true,
"data": {
"title": "string",
"summary": "string",
"story": "string",
"goalAmount": 0,
"categoryName": "string",
"beneficiaryName": "string",
"location": "string",
"type": "string",
"isProject": true,
"coverImage": "string",
"galleryImages": [
"string"
],
"additionalProperties": "string"
},
"platform": "string",
"scrape_token": "string",
"note": "string"
}

Playground​

Server
Authorization
Body

Samples​


RBAC​

The signed-in caller's own roles and permissions


Get current user capabilities​

GET
/me/capabilities

Scope-aware permissions and roles for the authenticated user. Requires a bearer session and nothing else — this is the endpoint a client should use to decide what to show. The answer always includes the caller's global roles; with an organization or fundraiser scope it adds the roles held in that scope. A bare object, not wrapped in data.

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​

Query Parameters

scopeType

Defaults to global. scopeId is required for the other two.

Type
string
Valid values
"global""organization""fundraiser"
Default
"global"
scopeId

The organization or fundraiser id. Required unless scopeType is global.

Type
string
Format
"uuid"

Responses​

User capabilities

application/json
JSON
{
"permissions": [
"string"
],
"roles": [
"string"
],
"scope": {
"type": "string",
"id": "string"
},
"fetchedAt": "string",
"expiresAt": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Notifications​

In-app notifications for the authenticated user. Which events also generate email is governed by the toggles on /users/{id}/preferences, not by anything under /notifications.


List notifications​

GET
/notifications

Returns the authenticated user's notifications, newest first, together with the unread count. The count always excludes archived rows, even when archived=true is requested.
There is no offset pagination here — raise limit (max 100) to see further back.

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​

Query Parameters

limit
Type
integer
Default
20
Maximum
100
archived

Pass "true" to return archived notifications instead of the active ones. Any other value returns the active ones.

Type
string
Valid values
"true""false"

Responses​

Notifications payload

application/json
JSON
{
"notifications": [
],
"unreadCount": 0,
"updatesUnreadCount": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Delete notifications​

DELETE
/notifications

Permanently deletes the given notifications for the authenticated user.

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)

Request Body​

application/json
JSON
{
"ids": [
"string"
]
}

Responses​

Deletion result

application/json
JSON
{
"success": true,
"deleted": 0
}

Playground​

Server
Authorization
Body

Samples​


Mark notifications as read​

PATCH
/notifications/mark-read

Marks the given notification ids as read for the authenticated user.

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)

Request Body​

application/json
JSON
{
"ids": [
"string"
]
}

Responses​

Update result

application/json
JSON
{
"success": true,
"updated": 0
}

Playground​

Server
Authorization
Body

Samples​


Mark all notifications as read​

PUT
/notifications/read-all

Marks all of the authenticated user's notifications as read.

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)

Responses​

Update result

application/json
JSON
{
"success": true,
"updated": 0
}

Playground​

Server
Authorization

Samples​


Mark one notification as read​

PUT
/notifications/{id}/read

Marks a single notification as read for the authenticated user.

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*
Type
string
Required

Responses​

Update result

application/json
JSON
{
"success": true,
"updated": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Archive notifications​

PATCH
/notifications/archive

Archives the given notification ids for the authenticated user.

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)

Request Body​

application/json
JSON
{
"ids": [
"string"
]
}

Responses​

Archive result

application/json
JSON
{
"success": true,
"archived": 0
}

Playground​

Server
Authorization
Body

Samples​


List my campaign updates​

GET
/me/campaign-updates

Updates posted on campaigns the authenticated user is connected to, newest first, each with its read state, plus the unread count. Read state is kept on the server, so it is the same on every device.
A campaign is included when the user follows its holder — the person running a personal campaign, or the organization an org campaign belongs to — and the campaign is public and active or ended; or when the user has a paid gift to it and it is active, ended or paused and not private (an unlisted campaign a donor holds the link to is included). The user's own campaigns and own updates are never included, nor deleted campaigns or withdrawn updates.
An update posted before the user started following or first gave is returned with is_read: true and never counts as unread.
Paged by an opaque keyset cursor: pass next_cursor back as cursor until it is null.

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​

Query Parameters

limit
Type
integer
Default
20
Minimum
1
Maximum
50
cursor

The next_cursor of the previous page. A cursor this API did not mint is a 400.

Type
string
lang

Overlay translations into this locale, as GET /projects/{fundraiserId}/updates does.

Type
string
Valid values
"en""ru""uk""es"

Responses​

One page of the feed

application/json
JSON
{
"data": [
],
"next_cursor": "string",
"unread_count": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Mark all my campaign updates as read​

PUT
/me/campaign-updates/read-all

Marks every unread update in the user's feed read. With until, only updates posted at or before that instant (inclusive to the millisecond), so clearing the list a client is showing does not also clear an update that arrived after it was fetched.

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)

Request Body​

application/json
JSON
{
"until": "string"
}

Responses​

Update result and the new unread count

application/json
JSON
{
"success": true,
"updated": 0,
"unread_count": 0
}

Playground​

Server
Authorization
Body

Samples​


Mark one campaign update as read​

PUT
/me/campaign-updates/{updateId}/read

Marks one update read for the authenticated user. Idempotent: an update already read answers updated: 0 and keeps its first read_at. Any existing, non-withdrawn update may be marked, whether or not it is in the user's feed, so a client can mark an update read wherever it was opened. There is no "mark unread", as for notifications.

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

updateId*
Type
string
Required
Format
"uuid"

Responses​

Update result and the new unread count

application/json
JSON
{
"success": true,
"updated": 0,
"unread_count": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Check follow status​

GET
/subscriptions/status

Returns whether followerId currently follows followingId. A signed-in caller may ask about any pair — follow edges are public.

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​

Query Parameters

followerId*
Type
string
Required
followingId*
Type
string
Required
followingType

Defaults to "user".

Type
string
Valid values
"user""organization"
Default
"user"

Responses​

Follow status

application/json
JSON
{
"isFollowing": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Follow a user or organization​

POST
/subscriptions

Creates a follow edge from the authenticated caller to following_id. The follower is always the authenticated user and cannot be supplied by the client. Gated by the features.user_follow_user flag.

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)

Request Body​

application/json
JSON
{
"following_id": "string",
"following_type": "user"
}

Responses​

Follow created

application/json
JSON
{
"success": true
}

Playground​

Server
Authorization
Body

Samples​


Unfollow a user or organization​

DELETE
/subscriptions/{followerId}/{followingId}/{followingType}

Removes a follow edge. The path followerId must match the authenticated caller.

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

followerId*
Type
string
Required
followingId*
Type
string
Required
followingType*
Type
string
Required
Valid values
"user""organization"

Responses​

Follow removed

application/json
JSON
{
"success": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List a user's followers​

GET
/users/{id}/followers

Returns the users that follow the given user. Emails are never exposed.
A PRIVATE PROFILE ANSWERS AN EMPTY ARRAY to anyone but its owner (#1696). This list publishes other people's names, avatars, handles and counts, one row per follow, so a private profile's social graph is not enumerable through it. The COUNTS remain public — they ride on the profile payload, which carries real figures for a private profile. 200 with [], not 404: the person exists, their graph is closed.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required

Query Parameters

limit
Type
integer
Default
20
Maximum
100
offset
Type
integer
Default
0

Responses​

Follower list

application/json
JSON
[
{
"id": "string",
"name": "string",
"avatar": "string",
"email": "string",
"role": "string",
"profile_slug": "string",
"follower_count": 0,
"campaign_count": 0,
"type": "string"
}
]

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List who a user is following​

GET
/users/{id}/following

Returns the entities the given user follows. Emails are never exposed.
A PRIVATE PROFILE ANSWERS AN EMPTY ARRAY to anyone but its owner (#1696). This list publishes other people's names, avatars, handles and counts, one row per follow, so a private profile's social graph is not enumerable through it. The COUNTS remain public — they ride on the profile payload, which carries real figures for a private profile. 200 with [], not 404: the person exists, their graph is closed.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required

Query Parameters

limit
Type
integer
Default
20
Maximum
100
offset
Type
integer
Default
0

Responses​

Following list

application/json
JSON
[
{
"id": "string",
"name": "string",
"avatar": "string",
"email": "string",
"role": "string",
"profile_slug": "string",
"follower_count": 0,
"campaign_count": 0,
"type": "string"
}
]

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Recalculate follower counts​

POST
/users/{id}/recalculate-counts

Recounts the caller's followers and followings, stores follower_count / following_count on the profile, and returns them. id must be the caller's own profile UUID; any other profile answers 403. The counts are also refreshed whenever a follow is created or removed, so this is only a manual resync. Requires a bearer session.

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*
Type
string
Required
Format
"uuid"

Responses​

The recounted figures

application/json
JSON
{
"success": true,
"data": {
"follower_count": 0,
"following_count": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List comments for a fundraiser​

GET
/fundraisers/{fundraiserId}/comments

Returns paginated comments for a fundraiser, newest first. Hidden and retracted comments are left out. A comment written as a donor's note from their receipt carries its gift (donation_amount_cents, donation_currency); on an anonymous gift the author fields are null and is_anonymous is true. Every row carries gif, a GIF object or null; a GIF comment's content may be empty.
Authentication is optional. Every row carries like_count; for a signed-in caller liked_by_me says whether they like it, and for a guest it is always false.
A signed-in caller never receives comments or replies by people they have blocked (POST /users/{id}/block), and pagination.total counts only what they receive. Nobody else's list changes. A donor's note on an anonymous gift is never filtered this way.

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)
or

Parameters​

Path Parameters

fundraiserId*
Type
string
Required
Format
"uuid"

Query Parameters

limit
Type
integer
Default
50
Minimum
1
Maximum
100
offset
Type
integer
Default
0
Minimum
0

Responses​

Comment list

application/json
JSON
{
"data": [
{
"id": "string",
"fundraiser_id": "string",
"content": "string",
"gif": {
"id": "xT4uQulxzV39haRFjG",
"title": "string",
"width": 480,
"height": 270,
"mp4_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/giphy.mp4",
"webp_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/giphy.webp",
"gif_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/giphy.gif",
"still_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/giphy_s.gif",
"preview_mp4_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/200w.mp4",
"preview_webp_url": "https://media2.giphy.com/media/xT4uQulxzV39haRFjG/200w.webp",
"preview_width": 200,
"preview_height": 113
},
"parent_comment_id": "string",
"created_at": "string",
"updated_at": "string",
"author_id": "string",
"author_name": "string",
"author_avatar": "string",
"can_manage": true,
"is_anonymous": true,
"donation_amount_cents": 0,
"donation_currency": "string",
"like_count": 0,
"liked_by_me": true
}
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Create a comment​

POST
/fundraisers/{fundraiserId}/comments

Creates a comment (or reply) on a fundraiser. The author is derived from the authenticated user. Content must be 2000 characters or less, and is required unless gif_id is set.
gif_id attaches a GIF (#1963): a GIPHY id from GET /gifs/trending or GET /gifs/search. The server looks it up on GIPHY and stores the GIF object it builds itself; clients never send URLs. Only g and pg GIFs are accepted. A request with gif_id also counts against the GIF rate limit (60 a minute per account).
Requires a verified email address, and is gated by the features.comments flag — either gate failing answers 403.

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

fundraiserId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"content": "string",
"parent_comment_id": "string",
"gif_id": "string"
}

Responses​

Comment created — the stored row (including gif, a GIF object or null) plus author_name and author_avatar.

application/json
JSON
{
"data": {
"additionalProperties": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Trending GIFs for the comment GIF picker​

GET
/gifs/trending

GIPHY's trending GIFs, rated pg or lower, as GIF objects. Cached on the server for a few minutes. Page with offset = the previous answer's next_offset.
Authentication is optional. Rate limited at 60 requests a minute per account (per IP for a guest), on top of the public limit.
Answers 503 { "error": "gifs_unavailable" } while GIF comments are off (features.comment_gifs) or GIPHY is not configured. Clients should hide their GIF button when they get it.

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)
or

Parameters​

Query Parameters

limit
Type
integer
Default
24
Minimum
1
Maximum
50
offset
Type
integer
Default
0
Minimum
0
Maximum
4999

Responses​

A page of GIFs

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Search GIFs for the comment GIF picker​

GET
/gifs/search

GIPHY search, rated pg or lower, as GIF objects. Cached on the server by q, offset, limit and lang. Same limits and 503 behaviour as GET /gifs/trending.

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)
or

Parameters​

Query Parameters

q*

The search term. Whitespace is collapsed and it is cut to 50 characters.

Type
string
Required
Min Length
1
limit
Type
integer
Default
24
Minimum
1
Maximum
50
offset
Type
integer
Default
0
Minimum
0
Maximum
4999
lang

The search language. Anything else is treated as en.

Type
string
Valid values
"en""ru""uk""es"
Default
"en"

Responses​

A page of GIFs

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Delete a comment​

DELETE
/comments/{id}

Deletes a comment. Only the comment's author may delete it. A donor's note tied to a gift is retracted (hidden, kept for the record) rather than deleted.

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*
Type
string
Required
Format
"uuid"

Responses​

Comment deleted

application/json
JSON
{
"success": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit your own comment​

PATCH
/comments/{id}

Updates only the authenticated author's text, preserving its post time, author and saved GIF. Donation notes retain their existing three-write limit. Retracted notes cannot be edited. An author_id in the body never changes ownership.

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*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"content": "string"
}

Responses​

Comment updated

application/json
JSON
{
"data": {
"id": "string",
"content": "string",
"updated_at": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Report a comment​

POST
/comments/{id}/report

Reports a comment, a reply or a donor's note to the moderators (App Store Guideline 1.2). Validated like a campaign report: reason is a short phrase, sent in English whatever the reader's language because the queue is read in English. Clients offer these reasons: "Harassment or bullying", "Hate speech or symbols", "Spam or scam", "Sexual or explicit content", "Violence or threats", "Self-harm or suicide", "False or misleading information", "Something else".

One open report per person per comment: reporting again while the report is still pending updates its reason and details and answers 200 instead of 201. Once a moderator has resolved it, a new report may be filed. You cannot report your own comment. Requires a verified email address; rate limited per account.

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*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"reason": "Harassment or bullying",
"details": "string"
}

Responses​

You already had a pending report of this comment; it was updated.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Like a comment​

PUT
/comments/{commentId}/like

Likes a comment or a reply as the authenticated user. Idempotent: liking a comment you already like changes nothing and answers the same state. No verified email is required. Gated by the features.comments flag and the per-account rate limit.

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

commentId*
Type
string
Required
Format
"uuid"

Responses​

Liked; the comment's count after the write

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Unlike a comment​

DELETE
/comments/{commentId}/like

Removes the authenticated user's like from a comment or a reply. Idempotent: unliking a comment you do not like changes nothing.

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

commentId*
Type
string
Required
Format
"uuid"

Responses​

Not liked; the comment's count after the write

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get the project updates feed​

GET
/projects/{fundraiserId}/updates

Returns a unified feed of the fundraiser's updates and its withdrawals, newest first — a bare array. A withdrawal row is this campaign's share of a payout that carried its donations (never the payout's whole amount); paid, in-transit and pending payouts are listed. Withdrawn updates are left out. An unreadable feed answers 200 with an empty array rather than an error.
Readable exactly when GET /fundraisers/{id} is: a campaign that is not active, paused or ended, is private, or has been deleted answers 404 to everyone but its owner.
Authentication is optional. Every update item carries like_count; for a signed-in caller liked_by_me says whether they like it, and for a guest it is always false. Withdrawal items carry neither.

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)
or

Parameters​

Path Parameters

fundraiserId*
Type
string
Required

Query Parameters

lang

Overlay update translations into this language, when they exist.

Type
string
Valid values
"en""ru""uk""es"

Responses​

Update feed (items are type "update" or "withdrawal")

application/json
JSON
[
{
"type": "string",
"id": "string",
"created_at": "string",
"title": "string",
"body": "string",
"author": {
"id": "string",
"name": "string",
"avatar": "string"
},
"amount_cents": 0,
"currency": "string",
"status": "string",
"arrival_date": "string",
"like_count": 0,
"liked_by_me": true
}
]

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Post a project update​

POST
/projects/{fundraiserId}/updates

Creates a project update on a fundraiser. Only the fundraiser owner may post, the caller's email must be verified, and the endpoint is gated by the features.project_updates flag. The body field is required (at most 20,000 characters; title at most 200). The update's language is detected and machine translations are queued.

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

fundraiserId*
Type
string
Required

Request Body​

application/json
JSON
{
"title": "string",
"body": "string"
}

Responses​

Update created — a bare object, not wrapped in data.

application/json
JSON
{
"id": "string",
"fundraiser_id": "string",
"author_id": "string",
"title": "string",
"body": "string",
"source_language": "string",
"created_at": "string",
"updated_at": "string",
"type": "string",
"author": {
"id": "string",
"name": "string",
"avatar": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete a project update​

DELETE
/projects/{fundraiserId}/updates/{updateId}

Soft-deletes a project update. Only the fundraiser owner may delete it.

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

fundraiserId*
Type
string
Required
updateId*
Type
string
Required

Responses​

Update deleted

application/json
JSON
{
"success": true,
"deletedId": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit a project update​

PATCH
/projects/{fundraiserId}/updates/{updateId}

Changes an update's title and/or body. Campaign owner only; the caller's email must be verified, and the endpoint is gated by the features.project_updates flag. Send at least one of title and body; title: null (or blank) removes the title.
When the words change, the update's language is detected again, its machine translations are dropped and re-queued, and hand-made translations are flagged as outdated. A withdrawn update answers 404. Audit-logged.

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

fundraiserId*
Type
string
Required
Format
"uuid"
updateId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"title": "string",
"body": "string"
}

Responses​

The edited update (bare object)

application/json
JSON
{
"id": "string",
"fundraiser_id": "string",
"author_id": "string",
"title": "string",
"body": "string",
"source_language": "string",
"created_at": "string",
"updated_at": "string",
"type": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Like a project update​

PUT
/projects/{fundraiserId}/updates/{updateId}/like

Likes a campaign update as the authenticated user. Idempotent: liking an update you already like changes nothing and answers the same state. No verified email is required; the per-account rate limit applies.

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

fundraiserId*
Type
string
Required
Format
"uuid"
updateId*
Type
string
Required
Format
"uuid"

Responses​

Liked; the update's count after the write

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Unlike a project update​

DELETE
/projects/{fundraiserId}/updates/{updateId}/like

Removes the authenticated user's like from a campaign update. Idempotent: unliking an update you do not like changes nothing.

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

fundraiserId*
Type
string
Required
Format
"uuid"
updateId*
Type
string
Required
Format
"uuid"

Responses​

Not liked; the update's count after the write

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List project milestones​

GET
/projects/{fundraiserId}/milestones

Returns all milestones for a fundraiser, ordered by due date then creation date — a bare array, unlike GET /fundraisers/{fundraiserId}/milestones, which wraps the same rows in milestones. Readable exactly when GET /fundraisers/{id} is: a campaign that is not active, paused or ended, is private, or has been deleted answers 404 to everyone but its owner. Authentication is optional.

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)
or

Parameters​

Path Parameters

fundraiserId*
Type
string
Required

Query Parameters

lang

Overlay the stored translation of title and description for this language, when one exists.

Type
string
Valid values
"en""ru""uk""es"

Responses​

Milestone list

application/json
JSON
[
]

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get project funding stats​

GET
/projects/{fundraiserId}/stats

Returns allocation, disbursement, and milestone-count stats for a project-type fundraiser. Non-project fundraisers return zeroed stats. Not available yet for project fundraisers: the endpoint currently answers 500 for them. Readable exactly when GET /fundraisers/{id} is: a campaign that is not active, paused or ended, is private, or has been deleted answers 404 to everyone but its owner. Authentication is optional.

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)
or

Parameters​

Path Parameters

fundraiserId*
Type
string
Required

Responses​

Project stats

application/json
JSON
{
"totalAllocated": 0,
"totalDisbursed": 0,
"unallocated": 0,
"milestones": {
"total": 0,
"additionalProperties": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List translations of a campaign's updates​

GET
/fundraisers/{id}/updates/translations

Every live (not withdrawn) update of the campaign, newest first, with its original text and language and one row per other supported locale. Campaign owner only.

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 campaign's UUID.

Type
string
Required
Format
"uuid"

Responses​

Updates with their translations

application/json
JSON
{
"data": {
"fundraiser_id": "string",
"updates": [
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get one update's translations​

GET
/fundraisers/{id}/updates/{updateId}/translations

One update of the campaign: its original and its rows in the other three locales. Campaign owner only. A withdrawn update, or one belonging to another campaign, answers 404.

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 campaign's UUID.

Type
string
Required
Format
"uuid"
updateId*
Type
string
Required
Format
"uuid"

Responses​

The update and its translations

application/json
JSON
{
"data": {
"fundraiser_id": "string",
"update_id": "string",
"id": "string",
"created_at": "string",
"source": {
"language": "string",
"title": "string",
"content": "string",
"edited_at": "string"
},
"translations": [
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Save a hand-edited update translation​

PUT
/fundraisers/{id}/updates/{updateId}/translations/{lang}

Creates or overwrites an update's translation in lang as source: "human", so no automatic pass overwrites it. Campaign owner only. Audit-logged. Refused in the update's own language. When the update has a title, the translation must carry one too.

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 campaign's UUID.

Type
string
Required
Format
"uuid"
updateId*
Type
string
Required
Format
"uuid"
lang*
Type
string
Required
Valid values
"en""ru""uk""es"

Request Body​

application/json
JSON
{
"title": "string",
"content": "string"
}

Responses​

The saved row

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Regenerate an update translation​

POST
/fundraisers/{id}/updates/{updateId}/translations/{lang}/regenerate

Re-runs machine translation of one update into lang and stores it as source: "machine". A hand-edited row is only replaced with force=1. Campaign owner only. Audit-logged.

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 campaign's UUID.

Type
string
Required
Format
"uuid"
updateId*
Type
string
Required
Format
"uuid"
lang*
Type
string
Required
Valid values
"en""ru""uk""es"

Query Parameters

force

1 or true overwrites a hand-edited row.

Type
string
Valid values
"1""true"

Responses​

The regenerated row

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Shares​

Sharing a campaign: recording a share-button tap for a fundraiser or a profile (signed in or not), the campaign's PNG link-preview image, square poster and story card and the zip kit that bundles them, and what sharing has done for a campaign: visits through shared links and the gifts they led to, in total and per share channel. The images and the counts are public for a campaign anyone may open by its link.


Track a share event​

POST
/shares

Records a social-share event for a fundraiser or profile. Authentication is optional — the sharing user is recorded when a session is present, otherwise the row is anonymous.

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)
or

Request Body​

application/json
JSON
{
"entity_type": "string",
"entity_id": "string",
"platform": "string"
}

Responses​

Share tracked

application/json
JSON
{
"success": true,
"message": "string"
}

Playground​

Server
Authorization
Body

Samples​


Campaign link-preview image​

GET
/fundraisers/slug/{slug}/og-image

A 1200×630 PNG Open Graph card for the campaign: title, cover, organizer, raised and goal amounts and donor count. Public; served to social crawlers.
Only a campaign anyone may open by link (live, ended or paused; not private; not deleted) has an image. Any other campaign is a 404, the same as an unknown slug, for every caller.
The language comes from ?lang=, else the locale cookie, else Accept-Language, else the original text. Without ?lang= the response varies on Accept-Language, Cookie. Cached for 30 seconds.

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

lang

Language to render in. Without it the locale cookie, then Accept-Language, decide.

Type
string
Valid values
"en""ru""uk""es"

Responses​

PNG image

image/png

Playground​

Server
Variables
Key
Value

Samples​


Campaign square share poster​

GET
/fundraisers/slug/{slug}/share-poster

A 1080×1080 PNG for feed posts (Instagram and similar). Same data, language rules, caching and 404 for a campaign that is not readable by link as the link-preview image.

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

lang

Language to render in. Without it the locale cookie, then Accept-Language, decide.

Type
string
Valid values
"en""ru""uk""es"

Responses​

PNG image

image/png

Playground​

Server
Variables
Key
Value

Samples​


Campaign story card​

GET
/fundraisers/slug/{slug}/share-story

A 1080×1920 PNG for Instagram and Facebook Stories. Same data, language rules, caching and 404 for a campaign that is not readable by link as the link-preview image.

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

lang

Language to render in. Without it the locale cookie, then Accept-Language, decide.

Type
string
Valid values
"en""ru""uk""es"

Responses​

PNG image

image/png

Playground​

Server
Variables
Key
Value

Samples​


Campaign share kit​

GET
/fundraisers/slug/{slug}/share-kit.zip

The link-preview image, the square poster and the story card in one zip download (<slug>-link.png, <slug>-post.png, <slug>-story.png), as linked from the ambassador endorsement-request email. Same language rules, 30-second caching and 404 for a campaign that is not readable by link as the single images. All three must render, or the call answers 404.

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

lang

Language to render in. Without it the locale cookie, then Accept-Language, decide.

Type
string
Valid values
"en""ru""uk""es"

Responses​

Zip archive, sent as an attachment named <slug>-share-kit.zip

application/zip

Playground​

Server
Variables
Key
Value

Samples​


Get a campaign's share impact​

GET
/fundraisers/{id}/share-impact

What sharing has done for this campaign, all-time: human visits that arrived through a shared link, how many came through endorsers' links, and the paid or refunded, non-self-referred gifts traced back to a share, valued at what they raised (net of fees, tips excluded). Public. A campaign nobody has shared returns zeros. Readable exactly when GET /fundraisers/{id} is: a campaign that is not active, paused or ended, is private, or has been deleted answers 404 to everyone but its owner. Authentication is optional.

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)
or

Parameters​

Path Parameters

id*

The campaign's UUID; anything else answers 400.

Type
string
Required
Format
"uuid"

Responses​

Share impact (bare object)

application/json
JSON
{
"impressions": 0,
"viaEndorsers": 0,
"gifts": 0,
"donors": 0,
"value": 0,
"currencies": [
"string"
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get a campaign's shares per channel​

GET
/fundraisers/{id}/share-channels

Human clicks through shared links, and the gifts they led to, per share channel, all-time. Every channel is present, with zeros when none. Public. Readable exactly when GET /fundraisers/{id} is: a campaign that is not active, paused or ended, is private, or has been deleted answers 404 to everyone but its owner. Authentication is optional.

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)
or

Parameters​

Path Parameters

id*

The campaign's UUID; anything else answers 400.

Type
string
Required
Format
"uuid"

Responses​

Per-channel stats (bare object)

application/json
JSON
{
"total": "string",
"channels": {
"additionalProperties": "string"
},
"unattributed": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Organization Admin​

The org-scoped admin panel at /org-admin/{slug}/*. Every operation needs a bearer session, resolves {slug} to an organization (an unknown or malformed slug answers 404 Organization not found, never 403), and then checks an org-scoped permission held through the caller's org_owner, org_admin or org_viewer role on that organization. A caller without the permission gets 403 with message: "Requires permission: <name>".

Role → permission map: org_viewer holds org.read, org.read_donations, org.read_payouts and org.read_donors. org_admin adds org.update_settings, org.manage_members, org.manage_dbas, org.manage_locations and org.upload_documents. org_owner adds org.manage_children and org.manage_payouts.

Operations​

GET/org-admin/{slug}/overviewGET/org-admin/{slug}/fundraisersGET/org-admin/{slug}/donationsGET/org-admin/{slug}/donorsGET/org-admin/{slug}/users/searchGET/org-admin/{slug}/membersPOST/org-admin/{slug}/membersDELETE/org-admin/{slug}/members/{userId}PATCH/org-admin/{slug}/members/{userId}PATCH/org-admin/{slug}/settingsPOST/org-admin/{slug}/avatarDELETE/org-admin/{slug}/avatarPOST/org-admin/{slug}/updatesDELETE/org-admin/{slug}/updates/{updateId}PATCH/org-admin/{slug}/updates/{updateId}POST/org-admin/{slug}/bannerDELETE/org-admin/{slug}/bannerGET/org-admin/{slug}/dbasPOST/org-admin/{slug}/dbasDELETE/org-admin/{slug}/dbas/{dbaId}PATCH/org-admin/{slug}/dbas/{dbaId}GET/org-admin/{slug}/locationsPOST/org-admin/{slug}/locationsDELETE/org-admin/{slug}/locations/{locationId}PATCH/org-admin/{slug}/locations/{locationId}POST/org-admin/{slug}/payouts/connectGET/org-admin/{slug}/payouts/statusGET/org-admin/{slug}/childrenPOST/org-admin/{slug}/childrenGET/org-admin/{slug}/documentsPOST/org-admin/{slug}/documentsGET/org-admin/{slug}/documents/{docId}/downloadDELETE/org-admin/{slug}/documents/{docId}PATCH/org-admin/{slug}/documents/{docId}/public-visibilityGET/org-admin/{slug}/usersGET/org-admin/{slug}/users/followers/{userId}GET/org-admin/{slug}/donors/{donorId}GET/org-admin/{slug}/donations/{id}GET/org-admin/{slug}/donations/{id}/receiptGET/org-admin/{slug}/donations/{id}/receipt-emails/{emailId}POST/org-admin/{slug}/donations/{id}/receipt/emailGET/org-admin/{slug}/analyticsGET/org-admin/{slug}/fundsGET/org-admin/{slug}/funds/processingPOST/org-admin/{slug}/funds/payoutsPUT/org-admin/{slug}/funds/schedulePOST/org-admin/{slug}/funds/dashboardPATCH/org-admin/{slug}/fundraisers/{id}/page-listing

Get organization dashboard totals​

GET
/org-admin/{slug}/overview

Headline numbers for the org-admin dashboard. For a conglomerate the figures roll up the organization and all of its child organizations; for a company they cover the organization alone. Raised and donors are over the organization's counted gifts, the same gifts the Analytics (GET /org-admin/{slug}/analytics) and the non-profit month card (GET /org-admin/{slug}/nonprofit/attention) read: each counted gift (paid or refunded) to one of its counted campaigns (approved, public, not deleted), plus each gift made directly to a non-profit (its general fund and monthly gifts, which have no campaign). totalRaisedCents is what reached the recipient, each gift at its donation less the Stripe fee and never the tip, in integer cents; uniqueDonors counts the distinct donors of those gifts, guests and anonymous donors included. The public profile counts campaign gifts only, so for a non-profit with general-fund or monthly gifts these figures are deliberately larger than the public ones; otherwise they are equal.

Requires permission: org.read

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Responses​

Dashboard totals

application/json
JSON
{
"data": {
"activeFundraisers": 0,
"totalFundraisers": 0,
"totalRaisedCents": 4560000,
"uniqueDonors": 0,
"kind": "string",
"childrenCount": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List the organization's fundraisers​

GET
/org-admin/{slug}/fundraisers

Non-deleted fundraisers owned by this organization (not its children), newest first, with offset pagination. Every status is included — drafts, pending review, ended — unless status narrows it. Private contact fields are never returned.

Requires permission: org.read

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Query Parameters

status

Only fundraisers with this status. Send one of the listed values.

Type
string
Valid values
"draft""pending""rejected""active""paused""ended"
limit

Clamped to 1..100. Defaults to 20.

Type
integer
Minimum
1
Maximum
100
Default
20
offset
Type
integer
Minimum
0
Default
0
q

Search fundraiser titles.

Type
string
Max Length
128
dateFrom

Inclusive fundraiser creation timestamp.

Type
string
Format
"date-time"
dateTo

Inclusive fundraiser creation timestamp.

Type
string
Format
"date-time"
amount

Exact fundraiser raised amount in major units.

Type
string
Pattern
"^\\d{1,10}(\\.\\d{1,2})?$"

Responses​

Paginated fundraisers

application/json
JSON
{
"data": [
],
"pagination": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List donations to the organization's fundraisers​

GET
/org-admin/{slug}/donations

Donations to this organization's non-deleted fundraisers and gifts made directly to the non-profit (general fund and monthly gifts, whose fundraiser_id, fundraiser_title and fundraiser_slug are null), newest first, with offset pagination. Every payment status is returned unless status narrows it.

Donor privacy: donor_display_name is Anonymous donor when the gift was marked anonymous, the donor's profile name for a signed-in donor, and the checkout name for a guest. Donor email addresses are never returned.

Requires permission: org.read_donations

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Query Parameters

status

Only donations with this payment status. Send one of the listed values.

Type
string
Valid values
"paid""pending""failed""refunded"
fundraiser_id

Only donations to this fundraiser. Must be a UUID.

Type
string
Format
"uuid"
limit

Clamped to 1..100. Defaults to 20.

Type
integer
Minimum
1
Maximum
100
Default
20
offset
Type
integer
Minimum
0
Default
0
q

Search the visible donor name or fundraiser title.

Type
string
Max Length
128
dateFrom

Inclusive gift creation timestamp.

Type
string
Format
"date-time"
dateTo

Inclusive gift creation timestamp.

Type
string
Format
"date-time"
amount

Exact gift amount in major units, without currency symbols.

Type
string
Pattern
"^\\d{1,10}(\\.\\d{1,2})?$"
fundraiser

Fundraiser title contains this text.

Type
string
Max Length
128

Responses​

Paginated donations

application/json
JSON
{
"data": [
],
"pagination": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List the organization's donors​

GET
/org-admin/{slug}/donors

Distinct donors of this organization's counted gifts (paid or refunded) to any of its fundraisers that is not deleted, unlisted, private and not-yet-approved ones included, or made directly to the non-profit (general fund and monthly), with their lifetime totals here, most recent gift first, with offset pagination. This is wider than the Overview's and Analytics' figures, which count counted (approved, public) fundraisers only. A donor's total ("Raised after card fees", total_amount_cents) is what their gifts raised: each gift's ledger donation credit less its Stripe fee, never the tip, a refunded gift included at that amount; not the gross they paid. All anonymous gifts are collapsed into a single Anonymous donor row (donor_key: anonymous) so they cannot be told apart by amount. Signed-in donors are keyed user:<profile id>; guest donors are keyed guest:<24 hex characters>. Treat donor_key as an opaque identifier: it is stable across pages and requests, but carries no contact details and cannot be turned back into one.

Requires permission: org.read_donors

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Query Parameters

limit

Clamped to 1..100. Defaults to 20.

Type
integer
Minimum
1
Maximum
100
Default
20
offset
Type
integer
Minimum
0
Default
0
q

Search visible name, registered donor gift email or public city. Guest receipt emails are excluded.

Type
string
Max Length
128
dateFrom

Inclusive gift creation timestamp.

Type
string
Format
"date-time"
dateTo

Inclusive gift creation timestamp.

Type
string
Format
"date-time"
amount

Exact gift amount in major units, without currency symbols.

Type
string
Pattern
"^\\d{1,10}(\\.\\d{1,2})?$"
fundraiser

Fundraiser title contains this text.

Type
string
Max Length
128

Responses​

Paginated donor roll-up

application/json
JSON
{
"data": [
],
"pagination": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Look up an account by email before adding it as a member​

GET
/org-admin/{slug}/users/search

Confirms which FundlyHub account uses an email address, for the Members page's "Add member" form. q must be a complete email address; it is matched case-insensitively against account login emails only, and at most one result comes back, with the address masked. Anything that is not a complete email address (a name, a fragment, a phone number) answers 200 with an empty list. This is not a directory search.

Available only to organizations that are approved or verified; any other organization gets 403 with code: ORG_NOT_APPROVED.

Rate limited to 30 requests per minute per user, in one bucket shared with POST /org-admin/{slug}/members.

Note the bare { "results": [ … ] } envelope rather than data.

Requires permission: org.manage_members

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Query Parameters

q*

A complete email address (surrounding whitespace is trimmed). Matched case-insensitively against account login emails.

Type
string
Required
Example"sam@example.org"
Format
"email"
Max Length
254

Responses​

The matching account, or an empty list when no account uses that email or q is not a complete email address.

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List organization members​

GET
/org-admin/{slug}/members

Everyone holding an active, unexpired org-scoped role on this organization, highest role first, then by name. Includes each member's email address, which is why this sits behind the management permission rather than org.read.

Requires permission: org.manage_members

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Responses​

Members

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add a member​

POST
/org-admin/{slug}/members

Adds an existing FundlyHub user to the organization with the given role. Identify the user with either email (case-insensitive) or user_id (the id that GET /org-admin/{slug}/users/search returns), not both. A deleted account is treated as no account. The membership is active immediately; no invitation is sent and the user does not have to accept. org_owner cannot be granted here — add the user first, then promote them with PATCH /org-admin/{slug}/members/{userId}.

An optional display title can be set with either org_role_title_id (an id from GET /org-role-titles) or custom_role_title, not both.

Available only to organizations that are approved or verified; any other organization gets 403 with code: ORG_NOT_APPROVED.

Rate limited to 30 requests per minute per user, in one bucket shared with GET /org-admin/{slug}/users/search.

Requires permission: org.manage_members

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Request Body​

application/json
JSON
{
"email": "jane@example.org",
"role": "org_viewer"
}

Responses​

Member added

application/json
JSON
{
"data": {
"user_id": "string",
"user_name": "string",
"role_name": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Remove a member​

DELETE
/org-admin/{slug}/members/{userId}

Deactivates every org-scoped role the user holds on this organization. Only an org_owner may remove an owner, and nobody may remove a member whose role is equal to or above their own (403). Removing yourself (leaving) is always allowed. The organization's last remaining owner cannot be removed (400) — promote another member to owner first.

Requires permission: org.manage_members

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"
userId*

The member's profile id. A non-UUID answers 404 Member not found.

Type
string
Required
Format
"uuid"

Responses​

Member removed

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Change a member's role or title​

PATCH
/org-admin/{slug}/members/{userId}

Moves a member to a different org role, changes their display title, or both. Send at least one of role, org_role_title_id, custom_role_title. A title is either an org_role_title_id or a custom_role_title; setting one clears the other, and null (or a blank string) for the sent field(s) clears the title. Omitting both title fields keeps the current title, including across a role change. A request that changes nothing is an idempotent no-op that still answers 200.

A title-only change follows the same hierarchy as a role change: changing your own title is always allowed; changing someone else's needs a rank above theirs, and only an owner changes an owner's.

Roles rank org_owner > org_admin > org_viewer. Rules enforced, each a 403 when broken:

  • only an org_owner may promote anyone to org_owner, or change the role of another owner;
  • nobody may change the role of a member whose role is equal to or above their own (an
    org_admin manages org_viewers, not other admins);
  • nobody may grant a role above their own.

Lowering your own role (stepping down) is always allowed. The organization's last remaining owner cannot be demoted (400) — promote another member to owner first.

A non-profit's team body. A body with title or show_on_page, or whose role is a non-profit team role (admin, fundraiser, viewer, member, or org_fundraiser, org_member), goes to the non-profit team handler instead. There role is one of those roles (org_admin and org_viewer are read as admin and viewer), title is a title from GET /org-role-titles by id or label, or free text of up to 80 characters (null or blank clears it), and show_on_page lists or hides the member on the page's team. It answers the member itself, without the data wrapper. Its refusals have the non-profit shape ({ "error": { "code", "message", "details" } }): 422 transfer_ownership for the owner role (a non-profit has one owner; use POST /org-admin/{slug}/transfer-ownership), 422 last_owner for changing the only owner's role, 422 role, title or show_on_page for a bad value, 403 above_own for a role above the caller's own, 403 forbidden for a member ranked equal to or above the caller, and 404 not_member. The older body's role: org_owner on a non-profit answers the same 422 transfer_ownership.

Requires permission: org.manage_members

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"
userId*

The member's profile id. A non-UUID answers 404 Member not found.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"role": "string",
"title": "string",
"show_on_page": true,
"org_role_title_id": "board_chair",
"custom_role_title": "string"
}

Responses​

Member updated (or already as requested): { data } for the older body, the team member itself for a non-profit team body.

application/json
JSON
{
"data": {
"user_id": "string",
"role_name": "string",
"org_role_title_id": "string",
"custom_role_title": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Update organization settings​

PATCH
/org-admin/{slug}/settings

Partial update of the organization's profile. Only the fields below are writable; others are ignored. String fields accept a string or null and are trimmed. At least one writable field must be present.

logo and banner_image take a URL as-is; to upload an image use POST /org-admin/{slug}/avatar or /banner instead.

On a non-profit (kind nonprofit) two fields are refused with 422 and nothing is written: legal_name (locked, the IRS name) and website (use_nonprofit_settings). A non-profit's website is changed only with PATCH /org-admin/{slug}/nonprofit, which normalizes it and, on an unsubmitted draft, resets a work-email authority claim when the website moves to another domain.

Requires permission: org.update_settings

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Request Body​

application/json
JSON
{
"legal_name": "string",
"website": "string",
"description": "string",
"country": "string",
"logo": "string",
"banner_image": "string",
"mission": "string",
"contact_email": "string",
"contact_email_public": true,
"founded_year": 0,
"social_links": {
"twitter": "string",
"linkedin": "string",
"facebook": "string",
"instagram": "string",
"youtube": "string",
"tiktok": "string"
},
"categories": [
[
"Education",
"Community"
]
]
}

Responses​

Updated settings

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Upload organization logo​

POST
/org-admin/{slug}/avatar

Uploads a new logo as base64 JSON. The image is centre-cropped to 256×256, re-encoded as WebP, stored, and written to the organization's logo straight away — no separate settings save is needed. Any previous logo file is deleted. Maximum 5 MB decoded.

Note the bare response body (no data envelope).

Requires permission: org.update_settings

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Request Body​

application/json
JSON
"string"

Responses​

Logo uploaded

application/json
JSON
{
"success": true,
"avatar_url": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Remove organization logo​

DELETE
/org-admin/{slug}/avatar

Deletes the stored logo files and clears the organization's logo.

Requires permission: org.update_settings

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Responses​

Logo removed

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Post an organization update​

POST
/org-admin/{slug}/updates

Publishes a post to the organization's public updates feed (GET /organizations/{id}/updates). The caller is recorded as the author.

Requires permission: org.update_settings

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Request Body​

application/json
JSON
{
"title": "string",
"body": "string",
"cover_image": "string"
}

Responses​

Update posted

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete an organization update​

DELETE
/org-admin/{slug}/updates/{updateId}

Permanently deletes one of this organization's updates. A malformed updateId answers 500 rather than 404.

Requires permission: org.update_settings

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"
updateId*
Type
string
Required
Format
"uuid"

Responses​

Update deleted

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit an organization update​

PATCH
/org-admin/{slug}/updates/{updateId}

Partial edit of one of this organization's updates. Send at least one of title, body, cover_image.

Requires permission: org.update_settings

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"
updateId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"title": "string",
"body": "string",
"cover_image": "string"
}

Responses​

Update edited

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Upload organization banner​

POST
/org-admin/{slug}/banner

Uploads the public-profile banner as base64 JSON. The image is centre-cropped to 1500×500 (3:1), re-encoded as WebP, stored, and written to the organization's banner_image straight away. Any previous banner file is deleted. Maximum 8 MB decoded.

Note the bare response body (no data envelope).

Requires permission: org.update_settings

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Request Body​

application/json
JSON
"string"

Responses​

Banner uploaded

application/json
JSON
{
"success": true,
"banner_url": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Remove organization banner​

DELETE
/org-admin/{slug}/banner

Deletes the stored banner files and clears the organization's banner_image.

Requires permission: org.update_settings

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Responses​

Banner removed

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List DBAs​

GET
/org-admin/{slug}/dbas

The organization's "doing business as" names, default first, then alphabetical.

Requires permission: org.read

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Responses​

DBAs

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add a DBA​

POST
/org-admin/{slug}/dbas

Adds a DBA name. With is_default: true it becomes the default and the previous default is cleared in the same transaction.

Requires permission: org.manage_dbas

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Request Body​

application/json
JSON
{
"dba_name": "string",
"is_default": false
}

Responses​

DBA added

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete a DBA​

DELETE
/org-admin/{slug}/dbas/{dbaId}

Permanently deletes a DBA. Deleting the default leaves the organization with no default DBA.

Requires permission: org.manage_dbas

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"
dbaId*

A non-UUID answers 404 DBA not found.

Type
string
Required
Format
"uuid"

Responses​

DBA deleted

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Update a DBA​

PATCH
/org-admin/{slug}/dbas/{dbaId}

Renames a DBA and/or changes whether it is the default. Setting is_default: true clears the previous default in the same transaction.

Requires permission: org.manage_dbas

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"
dbaId*

A non-UUID answers 404 DBA not found.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"dba_name": "string",
"is_default": true
}

Responses​

DBA updated

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


List office locations​

GET
/org-admin/{slug}/locations

The organization's physical locations, primary first, then oldest first. Includes locations not shown publicly. The separate mailing_address is the organization's own mailing address, the same record nonprofit About, settings and receipts read; it does not create a branch copy or change public visibility.

Requires permission: org.read

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Responses​

Locations

application/json
JSON
{
"data": [
],
"mailing_address": {
"additionalProperties": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add an office location​

POST
/org-admin/{slug}/locations

Adds a location. With is_primary: true it becomes the primary location and the previous primary is cleared in the same transaction. Locations are hidden from the public profile unless is_publicly_visible is true.

Requires permission: org.manage_locations

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Request Body​

application/json
JSON
{
"label": "Headquarters",
"address": "string",
"is_primary": false,
"is_publicly_visible": false
}

Responses​

Location added

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete an office location​

DELETE
/org-admin/{slug}/locations/{locationId}

Permanently deletes a location. Deleting the primary leaves the organization with no primary location.

Requires permission: org.manage_locations

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"
locationId*

A non-UUID answers 404 Location not found.

Type
string
Required
Format
"uuid"

Responses​

Location deleted

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Update an office location​

PATCH
/org-admin/{slug}/locations/{locationId}

Partial update of a location. address, when sent, replaces the whole address object. Setting is_primary: true clears the previous primary in the same transaction.

Requires permission: org.manage_locations

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"
locationId*

A non-UUID answers 404 Location not found.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"label": "string",
"address": "string",
"is_primary": true,
"is_publicly_visible": true
}

Responses​

Location updated

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Start or resume Stripe Connect onboarding​

POST
/org-admin/{slug}/payouts/connect

Creates the organization's Stripe Express account (business type non_profit for a non-profit, company otherwise) if it has none, or reuses the existing one, and returns a fresh single-use onboarding link. Safe to call repeatedly — each call returns a new link. If the stored account no longer exists on Stripe a new one is created in its place.

A non-profit may connect while its verification_status is pending, approved or verified, so while its page is still a draft or under review (creating the account moves no money); any other organization must be verified. Otherwise the answer is 400. The features.org_level_stripe_connect flag must be on (503 otherwise).

Requires permission: org.manage_payouts (organization owners only)

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Responses​

Onboarding link created

application/json
JSON
{
"data": {
"accountId": "acct_1Nv0FGQ9RKHgCVdK",
"onboardingUrl": "string",
"status": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get Stripe Connect status​

GET
/org-admin/{slug}/payouts/status

Whether the organization can take charges and receive payouts. Reads the account live from Stripe and refreshes the stored flags. If Stripe cannot be reached, the last stored flags are returned instead and the Stripe-only fields (defaultCurrency, country, businessType, requirementsCurrentlyDue) are absent. With no account yet the body is { "data": { "connected": false } }.

Requires permission: org.read_payouts

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Responses​

Connect status

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List child organizations​

GET
/org-admin/{slug}/children

Organizations recorded under this one as children, newest first. Child companies are retired (POST /org-admin/{slug}/children answers 410) and every organization is now a non-profit, which has none, so this is empty for every page added today.

Requires permission: org.read

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Responses​

Child organizations

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Deprecated

Create a child organization​

POST
/org-admin/{slug}/children

Retired: company hierarchies are no longer supported, and this creates nothing. A request that passes the checks below always answers 410, pointing to /nonprofits/new. The request body below is the old child-company payload, kept for reference.

Requires a verified email address.

Requires permission: org.manage_children (organization owners only)

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Request Body​

application/json
JSON
{
"legal_name": "string",
"ein": "12-3456789",
"country": "string",
"website": "string",
"description": "string",
"categories": [
"string"
],
"dbas": [
{
"dba_name": "string"
}
],
"locations": [
{
"label": "string",
"address": "string"
}
]
}

Responses​

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


List verification documents​

GET
/org-admin/{slug}/documents

The organization's verification documents in every state except superseded, newest first, including review outcome and whether each is shown on the public profile.

Financial documents — w9, voided_check and other — are listed only when the caller also holds org.upload_documents; otherwise they are left out of the list. Every other type (ein_letter, 501c3_determination, officer_letter, group_ruling, reinstatement_letter) is listed with org.read alone.

Requires permission: org.read

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Responses​

Documents

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Upload a verification document​

POST
/org-admin/{slug}/documents

Uploads a document for platform review as base64 JSON. It is stored privately and enters the review queue as pending. Uploading a doc_type the organization already has pending or approved marks the older one superseded. Approval of an ein_letter or a 501c3_determination moves a pending organization to verified.

Size limit: 10 MB decoded by default, but the JSON body itself is capped at 10 MB, so in practice a file must stay under about 7.5 MB to fit once base64-encoded — larger bodies get 413 before the handler runs.

Requires permission: org.upload_documents

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"

Request Body​

application/json
JSON
{
"doc_type": "string",
"content_type": "string",
"original_filename": "string",
"file_base64": "string"
}

Responses​

Document uploaded

application/json
JSON
{
"data": {
"id": "string",
"org_id": "string",
"doc_type": "string",
"original_filename": "string",
"content_type": "string",
"size_bytes": 0,
"verification_status": "pending",
"uploaded_by_user_id": "string",
"created_at": "string",
"updated_at": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Download a verification document​

GET
/org-admin/{slug}/documents/{docId}/download

Streams the stored file with its original Content-Type and, when a filename was recorded, Content-Disposition: attachment. A document belonging to a different organization answers 404.

A w9, voided_check or other document can be downloaded only by a caller who also holds org.upload_documents; anyone else gets 404, as if it did not exist.

Requires permission: org.read

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"
docId*

A non-UUID answers 404 Document not found.

Type
string
Required
Format
"uuid"

Responses​

The file

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Delete a pending verification document​

DELETE
/org-admin/{slug}/documents/{docId}

Withdraws a document that is still pending. Approved and rejected documents are kept for the audit trail and cannot be deleted — they answer 404 like a missing document.

Requires permission: org.upload_documents

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"
docId*

A non-UUID answers 404 Document not found.

Type
string
Required
Format
"uuid"

Responses​

Document deleted

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Show or hide a document on the public profile​

PATCH
/org-admin/{slug}/documents/{docId}/public-visibility

Sets the document's public-visibility flag. The public profile (GET /organizations/{id}/documents/public) lists a document only when it is both flagged public and approved, so the flag can be set ahead of review.

Requires permission: org.upload_documents

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

slug*

The organization's slug (not its UUID).

Type
string
Required
Example"local-food-bank-a1b2c3"
Pattern
"^[a-z0-9][a-z0-9-]{0,254}$"
docId*

A non-UUID answers 404 Document not found.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"is_publicly_visible": true
}

Responses​

Visibility updated

application/json
JSON
{
"data": {
"id": "string",
"is_publicly_visible": true
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


List donors and followers​

GET
/org-admin/{slug}/users

Distinct named donors and public followers are combined once per account. Donors are those of the organization's counted gifts (paid or refunded) to any of its fundraisers that is not deleted (unlisted, private and not-yet-approved ones included) or made directly to the non-profit (general fund and monthly); the Overview's and Analytics' figures count counted (approved, public) fundraisers only. Guest and anonymous gift identities remain separate. Follower-only records have zero gifts and no email or donation date. Gift filters match the donor's gifts while returned totals retain their entire organization history. Totals ("Raised after card fees", total_amount_cents and the per-currency totals) are what the donor's gifts raised, each gift at its ledger donation credit less its Stripe fee, never the tip, a refunded gift included at that amount; not the gross the donor paid. Requires organization permission org.read_donors.

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

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required

Query Parameters

q

Search visible name, registered donor gift email or public city. Guest receipt emails are excluded.

Type
string
Max Length
128
dateFrom

Inclusive gift creation timestamp.

Type
string
Format
"date-time"
dateTo

Inclusive gift creation timestamp.

Type
string
Format
"date-time"
amount

Exact gift amount in major units, without currency symbols.

Type
string
Pattern
"^\\d{1,10}(\\.\\d{1,2})?$"
fundraiser

Fundraiser title contains this text.

Type
string
Max Length
128
following

Following, not following, or not applicable for guest/anonymous records.

Type
string
Valid values
"yes""no""na"
limit
Type
integer
Minimum
1
Maximum
100
Default
25
offset
Type
integer
Minimum
0
Default
0

Responses​

Successful organization-scoped response

application/json
JSON
{
"data": [
{
"donor_key": "string",
"donor_detail_id": "string",
"follower_user_id": "string",
"donor_display_name": "string",
"donor_avatar": "string",
"donor_email": "string",
"donor_city": "string",
"is_anonymous": true,
"is_following": true,
"donation_count": 0,
"totals": [
{
"currency": "string",
"amount_cents": 0
}
],
"last_donated_at": "string"
}
],
"pagination": {
"total": 0,
"limit": 0,
"offset": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Read an organization follower​

GET
/org-admin/{slug}/users/followers/{userId}

The account must follow this organization. If it also has identified counted gifts (paid or refunded), its scoped giving history is returned, with totals as in the donor detail (what the gifts raised, net of the Stripe fee). Follower-only email is never disclosed. Requires organization permission org.read_donors.

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

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required
userId*
Type
string
Required
Format
"uuid"

Responses​

Successful organization-scoped response

application/json
JSON
{
"data": {
"donor_key": "string",
"donor_detail_id": "string",
"follower_user_id": "string",
"donor_display_name": "string",
"donor_avatar": "string",
"donor_email": "string",
"donor_city": "string",
"is_anonymous": true,
"is_following": true,
"donation_count": 0,
"totals": [
{
"currency": "string",
"amount_cents": 0
}
],
"last_donated_at": "string",
"donations": [
{
"id": "string",
"amount_cents": 0,
"raised_cents": "string",
"currency": "string",
"created_at": "string",
"comment": "string",
"fundraiser_id": "string",
"fundraiser_title": "string",
"fundraiser_slug": "string"
}
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Read a donor and their gifts​

GET
/org-admin/{slug}/donors/{donorId}

The donorId is one of the organization's counted donation ids (paid or refunded, to any of its fundraisers that is not deleted, or made directly to the non-profit) anchoring the donor identity, so every paid or refunded gift's detail links to a donor. Arbitrary account ids cannot be used to browse profiles. A gift made directly to the non-profit has null fundraiser fields. Totals ("Raised after card fees") are grouped by currency and are what the donor's gifts raised, each gift at its ledger donation credit less its Stripe fee, never the tip, a refunded gift included at that amount. Each listed gift (the 100 most recent) carries that same per-gift figure as raised_cents, so a donor's history adds up to the total; its amount_cents is the amount the donor was charged for, before the fee, which the gift's own detail and receipt show. Requires organization permission org.read_donors.

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

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required
donorId*
Type
string
Required
Format
"uuid"

Responses​

Successful organization-scoped response

application/json
JSON
{
"data": {
"donor_key": "string",
"donor_detail_id": "string",
"follower_user_id": "string",
"donor_display_name": "string",
"donor_avatar": "string",
"donor_email": "string",
"donor_city": "string",
"is_anonymous": true,
"is_following": true,
"donation_count": 0,
"totals": [
{
"currency": "string",
"amount_cents": 0
}
],
"last_donated_at": "string",
"donations": [
{
"id": "string",
"amount_cents": 0,
"raised_cents": "string",
"currency": "string",
"created_at": "string",
"comment": "string",
"fundraiser_id": "string",
"fundraiser_title": "string",
"fundraiser_slug": "string"
}
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Read donation details and receipt history​

GET
/org-admin/{slug}/donations/{id}

The donation must belong to a non-deleted fundraiser in this organization, or be a gift made directly to this non-profit (general fund or monthly; its fundraiser fields are null). Anonymous identity display stays masked, and for an anonymous gift the receipt email, city and country are null for every organization role. The donor's receipt id and PaymentIntent are never returned. Receipt history includes delivery state, destination and sent timestamp; the destination is shown only when it is the gift's own contact (null otherwise, and always null for an anonymous gift). Requires organization permission org.read_donations.

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

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required
id*
Type
string
Required
Format
"uuid"

Responses​

Successful organization-scoped response

application/json
JSON
{
"data": {
"id": "string",
"amount_cents": 0,
"currency": "string",
"donor_display_name": "string",
"donor_avatar": "string",
"anonymous_key": "string",
"donor_city": "string",
"donor_country": "string",
"receipt_email": "string",
"receipt_history": [
{
"id": "string",
"recipient_email": "string",
"subject": "string",
"status": "string",
"created_at": "string",
"sent_at": "string"
}
],
"can_send_receipt": true
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Preview a donation receipt​

GET
/org-admin/{slug}/donations/{id}/receipt

Read-only donation receipt preview for one of this organization's donations, including gifts made directly to the non-profit. Never includes the donor's receipt id (their bearer capability for the public receipt endpoints). An anonymous gift's address is withheld. Requires organization permission org.read_donations.

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

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required
id*
Type
string
Required
Format
"uuid"

Responses​

Receipt fields in integer cents, with anonymous names masked

application/json
JSON
{
"donation_id": "string",
"created_at": "string",
"currency": "USD",
"amount_cents": 0,
"tip_amount_cents": 0,
"fee_amount_cents": 0,
"net_amount_cents": 0,
"total_charged_cents": 0,
"payment_status": "string",
"fundraiser_id": "string",
"fundraiser_title": "string",
"fundraiser_slug": "string",
"receipt_context": "string",
"donor_name": "string",
"is_anonymous": true,
"donor_email": "string",
"has_email_on_file": true,
"can_choose_recipient": true,
"times_sent": 0,
"sendable": true,
"reason": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Inspect a receipt email​

GET
/org-admin/{slug}/donations/{id}/receipt-emails/{emailId}

Only receipt emails tied to this donation are available. Account tokens, unsubscribe capabilities, the donor's receipt id and PaymentIntent links, and private anonymous greeting names are removed from the inspection view. The recipient address is shown only when it is the gift's own contact, and never for an anonymous gift. Requires organization permission org.read_donations.

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

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required
id*
Type
string
Required
Format
"uuid"
emailId*
Type
string
Required
Format
"uuid"

Responses​

Successful organization-scoped response

application/json
JSON
{
"data": {
"id": "string",
"recipient_email": "string",
"subject": "string",
"status": "string",
"created_at": "string",
"sent_at": "string",
"html_body": "string",
"text_body": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Send or resend the donor receipt​

POST
/org-admin/{slug}/donations/{id}/receipt/email

Queues the paid donation receipt to its address on file, and only there; a request carrying recipient_email is refused (403, refusal recipient_locked), so an organization can never mail itself the donor's receipt. For an anonymous gift the address is used but not echoed back (recipient is null). Receipt amounts and donor language always come from the saved donation, and the receipt names the gift's recipient as the automatic receipt does (its Fundly, or the non-profit for a general-fund or monthly gift). The send is audit-logged, sends are rate-limited, and impersonated sessions cannot send. Nonprofit receipts requiring recovery review cannot be resent. Requires organization permission org.update_settings.

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

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required
id*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"recipient_email": "string"
}

Responses​

Successful organization-scoped response

application/json
JSON
{
"data": {
"sent": true,
"status": "string",
"recipient": "string",
"times_sent": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Read fundraising and audience analytics​

GET
/org-admin/{slug}/analytics

Raised, gifts and donors are over the organization's counted gifts, the same gifts as the Overview and the non-profit Home's month card (paid or refunded, to its counted fundraisers or made directly to the non-profit), in the range. Supporters list the donors of a wider set (any fundraiser of the organization that is not deleted, unlisted, private and not-yet-approved ones included). Raised money uses the shared ledger net-of-fees definition and stays grouped by currency; donors are distinct by the shared donor identity. In fundraisers, the row whose id is null is the general fund. GA4 audience data is restricted to organization and fundraiser page paths. Geography contains approximate city aggregates, not donor identities or street addresses. Requires organization permission org.read_donations.

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

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required

Query Parameters

range

Existing analytics range such as 7d, 28d, 90d or alltime; custom dates use the analytics range format.

Type
string
Default
"28d"

Responses​

Successful organization-scoped response

application/json
JSON
{
"data": {
"range": "string",
"from": "string",
"to": "string",
"donors": 0,
"totals": [
{
"currency": "string",
"gifts": 0,
"donors": 0,
"raised_cents": 0
}
],
"trend": [
{
"date": "string",
"currency": "string",
"raised_cents": 0,
"gifts": 0
}
],
"geography": [
{
"city": "string",
"country": "string",
"gifts": 0,
"lat": 0,
"lng": 0
}
],
"fundraisers": [
{
}
],
"audience": {
},
"ga_status": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Read organization balances and payout configuration​

GET
/org-admin/{slug}/funds

Reads the organization's own Stripe Connect account and ledger. Available bank balance, unsettled processing, platform-held gifts and bank payouts are separate; no member's personal balance is used. Requires organization permission org.read_payouts.

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

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required

Responses​

Successful organization-scoped response

application/json
JSON
{
"data": {
"connected": true,
"ready": true,
"canManage": true,
"updatedAt": "string",
"balances": [
{
"currency": "string",
"totalRaisedCents": 0,
"processingCents": 0,
"availableCents": 0,
"transferredCents": 0,
"heldCents": 0,
"settlingCents": 0,
"readyForReleaseCents": 0
}
],
"requirements": [
"string"
],
"methods": [
{
}
],
"schedule": {
},
"payouts": [
{
}
],
"hasMorePayouts": true,
"heldCampaigns": [
{
}
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Read the organization processing breakdown​

GET
/org-admin/{slug}/funds/processing

Read-only settlement estimates and held-gift breakdown. Requires organization permission org.read_payouts.

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

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required

Query Parameters

currency
Type
string
Default
"USD"

Responses​

Successful organization-scoped response

application/json
JSON
{
"data": {
"currency": "string",
"total_cents": 0,
"donations": [
{
}
],
"release_schedule": [
{
}
],
"dates_from_stripe": true
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Transfer available organization funds to its bank​

POST
/org-admin/{slug}/funds/payouts

Creates a bank payout from the organization's own connected account and writes its payout ledger mapping. Reusing requestId retains the fixed amount and Stripe idempotency key. Requests must be fresh and within the available bank balance; held processing funds are not transferable. Impersonation is rejected. Requires organization permission org.manage_payouts.

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

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required

Request Body​

application/json
JSON
{
"amountCents": 0,
"currency": "string",
"requestId": "string",
"requestedAt": 0
}

Responses​

Successful organization-scoped response

application/json
JSON
{
"data": {
"id": "string",
"amountCents": 0,
"currency": "string",
"status": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Update the organization payout schedule​

PUT
/org-admin/{slug}/funds/schedule

Updates only this organization's Stripe account. Weekly and monthly schedules require their matching anchor. Impersonation is rejected. Requires organization permission org.manage_payouts.

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

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required

Request Body​

application/json
JSON
{
"interval": "string",
"weeklyAnchor": "string",
"monthlyAnchor": 0
}

Responses​

Successful organization-scoped response

application/json
JSON
{
"data": {
"interval": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Open the organization Stripe dashboard​

POST
/org-admin/{slug}/funds/dashboard

Creates a short-lived dashboard link for the organization's connected account. Impersonation is rejected. Requires organization permission org.manage_payouts.

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)

Path Parameters

slug*

Organization slug; middleware resolves and authorizes this organization before any read or write.

Type
string
Required

Successful organization-scoped response

application/json
JSON
{
"data": {
"url": "string"
}
}
Server
Authorization
Variables
Key
Value

Set whether this Fundly is listed on its beneficiary nonprofit page​

PATCH
/org-admin/{slug}/fundraisers/{id}/page-listing

The Fundly must belong to this exact scoped nonprofit, have a nonprofit beneficiary, and not be deleted. Updates only display metadata, with an atomic audit. Hiding the card does not change its public URL, Donate eligibility, impact, gift totals or admin finance views. Requires org.update_settings; blocked during impersonation.

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*
Type
string
Required
Format
"uuid"
slug*
Type
string
Required

Request Body​

application/json
JSON
{
"listed": true
}

Responses​

Saved authoritative display flag; private, no-store.

application/json
JSON
{
"id": "string",
"nonprofit_page_listed": true
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Translations​


List a campaign's translations​

GET
/fundraisers/{id}/translations

The Translations tab's data for one campaign: its source text and language, one row per other supported locale (fields null and source: null where nothing has been translated yet), the row in the campaign's own language if one exists (original_row), and every milestone with its rows.
Only the campaign's owner may read it.

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 campaign's UUID.

Type
string
Required
Format
"uuid"

Responses​

Source text and per-locale translations

application/json
JSON
{
"data": {
"fundraiser_id": "string",
"source": {
"language": "string",
"title": "string",
"summary": "string",
"story_html": "string"
},
"translations": [
],
"original_row": {
"language": "string",
"title": "string",
"summary": "string",
"story_html": "string",
"source": "string",
"translated_at": "string"
},
"milestones": [
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Save a hand-edited campaign translation​

PUT
/fundraisers/{id}/translations/{lang}

Creates or overwrites the campaign's translation in lang with a hand-edited version and marks it source: "human", so automatic re-translation leaves it alone. Campaign owner only. Audit-logged.
lang may not be the campaign's stored source language; that text is edited on the campaign itself.

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 campaign's UUID.

Type
string
Required
Format
"uuid"
lang*
Type
string
Required
Valid values
"en""ru""uk""es"

Request Body​

application/json
JSON
{
"title": "string",
"summary": "string",
"story_html": "string"
}

Responses​

The saved row

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Discard a hand-edited version in the campaign's own language​

DELETE
/fundraisers/{id}/translations/{lang}

Deletes the hand-edited (source: "human") rows in the campaign's OWN language, both the campaign's row and its milestones' rows. Such a version exists when someone edited that language while the campaign was labelled with another one; readers of that language are served it instead of the original until it is discarded. Machine rows for fields written in another language are rebuilt in the background afterwards.
Only works for lang equal to the campaign's stored source language; a translation into another language is replaced with regenerate instead. Campaign owner only. The discarded text is written to the audit log.

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 campaign's UUID.

Type
string
Required
Format
"uuid"
lang*
Type
string
Required
Valid values
"en""ru""uk""es"

Responses​

What was discarded

application/json
JSON
{
"data": {
"language": "string",
"discarded": {
"campaign": 0,
"milestones": 0
}
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Regenerate a campaign translation​

POST
/fundraisers/{id}/translations/{lang}/regenerate

Re-runs machine translation of the campaign into lang and stores it as source: "machine". The locale's milestone rows are refreshed the same way. Campaign owner only. Audit-logged.
A hand-edited row is not overwritten unless force=1 (or true) is passed; without it the call answers 409. It also answers 409 when the campaign text or the row changed while the translation was being generated.

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 campaign's UUID.

Type
string
Required
Format
"uuid"
lang*
Type
string
Required
Valid values
"en""ru""uk""es"

Query Parameters

force

1 or true overwrites a hand-edited row.

Type
string
Valid values
"1""true"

Responses​

The regenerated row

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Save a hand-edited milestone translation​

PUT
/fundraisers/{id}/milestones/{milestoneId}/translations/{lang}

Creates or overwrites one milestone's translation in lang as source: "human". The milestone must belong to the campaign in the path. Campaign owner only. Audit-logged. lang may not be the campaign's source language.

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 campaign's UUID.

Type
string
Required
Format
"uuid"
milestoneId*
Type
string
Required
Format
"uuid"
lang*
Type
string
Required
Valid values
"en""ru""uk""es"

Request Body​

application/json
JSON
{
"title": "string",
"description": "string"
}

Responses​

The saved row

application/json
JSON
{
"data": {
"milestone_id": "string",
"language": "string",
"title": "string",
"description": "string",
"source": "string",
"translated_at": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


List translations of a campaign's updates​

GET
/fundraisers/{id}/updates/translations

Every live (not withdrawn) update of the campaign, newest first, with its original text and language and one row per other supported locale. Campaign owner only.

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 campaign's UUID.

Type
string
Required
Format
"uuid"

Responses​

Updates with their translations

application/json
JSON
{
"data": {
"fundraiser_id": "string",
"updates": [
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get one update's translations​

GET
/fundraisers/{id}/updates/{updateId}/translations

One update of the campaign: its original and its rows in the other three locales. Campaign owner only. A withdrawn update, or one belonging to another campaign, answers 404.

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 campaign's UUID.

Type
string
Required
Format
"uuid"
updateId*
Type
string
Required
Format
"uuid"

Responses​

The update and its translations

application/json
JSON
{
"data": {
"fundraiser_id": "string",
"update_id": "string",
"id": "string",
"created_at": "string",
"source": {
"language": "string",
"title": "string",
"content": "string",
"edited_at": "string"
},
"translations": [
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Save a hand-edited update translation​

PUT
/fundraisers/{id}/updates/{updateId}/translations/{lang}

Creates or overwrites an update's translation in lang as source: "human", so no automatic pass overwrites it. Campaign owner only. Audit-logged. Refused in the update's own language. When the update has a title, the translation must carry one too.

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 campaign's UUID.

Type
string
Required
Format
"uuid"
updateId*
Type
string
Required
Format
"uuid"
lang*
Type
string
Required
Valid values
"en""ru""uk""es"

Request Body​

application/json
JSON
{
"title": "string",
"content": "string"
}

Responses​

The saved row

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Regenerate an update translation​

POST
/fundraisers/{id}/updates/{updateId}/translations/{lang}/regenerate

Re-runs machine translation of one update into lang and stores it as source: "machine". A hand-edited row is only replaced with force=1. Campaign owner only. Audit-logged.

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 campaign's UUID.

Type
string
Required
Format
"uuid"
updateId*
Type
string
Required
Format
"uuid"
lang*
Type
string
Required
Valid values
"en""ru""uk""es"

Query Parameters

force

1 or true overwrites a hand-edited row.

Type
string
Valid values
"1""true"

Responses​

The regenerated row

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Deprecated

List a legacy update's translations​

GET
/updates/{updateId}/translations

Legacy. Campaign updates are translated through GET /fundraisers/{id}/updates/{updateId}/translations; use that instead.
Returns the update's source text and one row per other locale. The caller must own the parent campaign.

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

updateId*
Type
string
Required
Format
"uuid"

Responses​

Source and translations

application/json
JSON
{
"data": {
"update_id": "string",
"fundraiser_id": "string",
"source": {
"language": "string",
"title": "string",
"content": "string"
},
"translations": [
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Deprecated

Save a legacy update translation​

PUT
/updates/{updateId}/translations/{lang}

Legacy (see GET /updates/{updateId}/translations). Saves a hand-edited translation as source: "human". Owner of the parent campaign only. Audit-logged.

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

updateId*
Type
string
Required
Format
"uuid"
lang*
Type
string
Required
Valid values
"en""ru""uk""es"

Request Body​

application/json
JSON
{
"title": "string",
"content": "string"
}

Responses​

The saved row

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Cities​

The /cities index and map, one city's page, and following a city: a weekly digest and instant alerts by email, a one-click opt-out from either, and the list of cities you follow; plus the MapKit JS token and static map snapshots. A city gets a public page once it has one verified Fundly or one donor who lives there, unless staff override that; below it, the city still shows on the map. Donor counts are exact from the first donor (signed in, guest or anonymous), while the follower count and where a city's gifts go show only from 5 followers and 5 donors. Donors are never listed by city. Reading needs no account; following needs a signed-in session.


List cities​

GET
/cities

Every city with a verified Fundly or a donor, not hidden by staff. Cities below the page threshold are included with has_page: false (show them as plain text). totals are platform-wide and ignore q and area. near_you is the nearest city with a page within 100 miles of near, else of the edge's viewer location headers when present, else of the signed-in viewer's profile city (that city itself when it has a page); null otherwise. A malformed near is not an error: it is ignored, the location headers are not read, and only the profile city is tried. Authentication is optional and only feeds near_you.

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)
or

Parameters​

Query Parameters

q

Matches the city name or its metro's name.

Type
string
sort

active: the most live Fundlies first, then donors, then raised, then by name. az: by name.

Type
string
Valid values
"active""az"
Default
"active"
area
Type
string
Valid values
"all""us""intl"
Default
"all"
near

A lat,lng point for near_you.

Type
string
Example"38.58,-121.49"
limit
Type
integer
Minimum
1
Maximum
500
Default
24
offset
Type
integer
Minimum
0
Default
0

Responses​

One page of cities

application/json
JSON
{
"data": [
],
"total": 0,
"totals": {
"cities": 0,
"us_cities": 0,
"countries": 0,
"us_states": 0,
"fundlies": 0,
"fundly_cities": 0,
"raised_cents": 0,
"donors": 0
},
"near_you": {
"slug": "sacramento-ca",
"name": "Sacramento",
"region": "CA",
"country": "US",
"label": "Sacramento, CA",
"photo_url": "string",
"lat": 0,
"lng": 0,
"fundlies_active": 0,
"fundlies_funded": 0,
"donors": 0,
"raised_cents": 0,
"has_page": true,
"metro": {
"slug": "string",
"name": "string"
}
},
"map_version": "1792000000-412"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


City map dots​

GET
/cities/map

One dot per city with a verified Fundly or a donor. Donor counts are exact; null when none.

Parameters​

Query Parameters

scope
Type
string
Valid values
"us""world"
Default
"world"

Responses​

The dots

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

Playground​

Server
Variables
Key
Value

Samples​


The cities map as an image​

GET
/cities/map/snapshot

A redirect to a signed Apple Maps Web Snapshot with the same dots when a MapKit key is configured, else the static map: an SVG of Natural Earth outlines with the dots, in Web Mercator. Use it as an image source; it works for both answers.

Parameters​

Query Parameters

scope
Type
string
Valid values
"us""world"
Default
"us"
w
Type
integer
Minimum
64
Maximum
2048
Default
1152
h
Type
integer
Minimum
64
Maximum
2048
Default
480
scheme
Type
string
Valid values
"light""dark"
Default
"light"

Responses​

The static map

image/svg+xml
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


The one-click opt-out page​

GET
/cities/unsubscribe

The link in every city email. Reads only (mail scanners prefetch links): an HTML page with a button that posts back, or the state as JSON when the caller asks for application/json.

Parameters​

Query Parameters

token*
Type
string
Required
Format
"uuid"
kind
Type
string
Valid values
"digest""instant"
Default
"digest"

Responses​

The page, or the state

JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


One-click opt-out​

POST
/cities/unsubscribe

The List-Unsubscribe-Post target (RFC 8058) and the page's button: turns off that city's weekly digest (kind=digest) or instant alerts (kind=instant) for the follow the token names, and keeps the follow. Idempotent. No session: the token is the authorization. A mail client gets JSON; a browser form (it asks for text/html) is redirected to Settings, /profile/settings?city_digest_off={slug} for a digest.

Parameters​

Query Parameters

token*
Type
string
Required
Format
"uuid"
kind
Type
string
Valid values
"digest""instant"
Default
"digest"

Responses​

Turned off

application/json
JSON
{
"data": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Get a city page​

GET
/cities/{slug}

One city page. 404 (CITY_NOT_FOUND) unless the city has a page: 1+ verified Fundly or 1+ donor, or forced on by staff, and never while hidden. A slug retired by a rename or a merge serves the surviving city: city.slug is canonical, and a page should redirect to it when it differs. Authentication is optional and personalizes follow, the community and non-profit cards (whether the caller is in or follows each) and the sponsor cards (which perks the caller can use, nearest first from their place); render the page server-side without it. The city's businesses (sponsors, stats.sponsors) are sent only while sponsors are on for everyone.

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)
or

Parameters​

Path Parameters

slug*
Type
string
Required
Example"sacramento-ca"

Query Parameters

lang

Fundly titles in this language where a translation exists.

Type
string
Valid values
"en""ru""uk""es"

Responses​

The city

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


A city's map as an image​

GET
/cities/{slug}/snapshot

The map around one city (about 27 km across) with its dots: a redirect to a signed Apple Maps Web Snapshot when a MapKit key is configured, else the static SVG. 404 unless the city has a page.

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

w
Type
integer
Minimum
64
Maximum
2048
Default
640
h
Type
integer
Minimum
64
Maximum
2048
Default
360
scheme
Type
string
Valid values
"light""dark"
Default
"light"

Responses​

The static map

image/svg+xml
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


My follow of a city​

GET
/cities/{slug}/follow

The signed-in caller's follow block for one city: whether they follow it, their weekly digest and instant-alert switches (digest on and instant off when they do not follow), the follower count (null below 5) and up to three friends who follow it. It answers for any city the slug names (a retired slug too), even one that is hidden or has no public page, where PUT answers 404. An unknown slug answers 404 (code: CITY_NOT_FOUND).

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

slug*
Type
string
Required

Responses​

The follow block

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Follow a city, or change its notifications​

PUT
/cities/{slug}/follow

Idempotent. Creates the follow with the defaults (weekly digest on, instant alerts off) or changes only the switches given. The bell on the city page sends both false to silence a city without unfollowing. 404 when the city has no page.

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

slug*
Type
string
Required

Request Body​

application/json
JSON
{
"digest": true,
"instant": true
}

Responses​

The follow block after the change

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Unfollow a city​

DELETE
/cities/{slug}/follow

Idempotent. Works even after the city lost its page.

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

slug*
Type
string
Required

Responses​

The follow block after the change

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Cities I follow​

GET
/me/city-follows

Settings > Notifications > Cities you follow, newest first, and the Settings > Privacy switch show_followed_cities_to_friends (change it with PATCH /users/{id}). Change a city's switches with PUT /cities/{slug}/follow.

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)

Responses​

The follows

application/json
JSON
{
"data": [
{
"city": {
"slug": "string",
"name": "string",
"label": "string",
"photo_url": "string",
"has_page": true
},
"digest": true,
"instant": true,
"created_at": "string"
}
],
"show_followed_cities_to_friends": true
}

Playground​

Server
Authorization

Samples​


MapKit JS token​

GET
/maps/token

The token MapKit JS initializes with. Minted (a 30-minute ES256 token for this site's origin) when the server holds a MapKit key, else the static token configured for the site (expires_at null when it has no expiry), else 503 with code MAPKIT_NOT_CONFIGURED, and the page keeps its static map. Never cached.

Responses​

A token

application/json
JSON
{
"token": "string",
"expires_at": "string"
}

Playground​

Samples​


Success Stories​

What a Fundly did once it ended. Every public Fundly that ended with money raised has a story page, unless it is under review or reported, a gift to it is in an open dispute, or its organizer or organization is suspended. The public index (filtered by fully funded, ended or closed) and the story pages compute their figures live, such as the amount raised, the donors, the first gift and the payout; the story's words appear only once staff publish them. The organizer reads and edits their own Fundly's story and approves its words, and staff then publish it.


List success stories​

GET
/success-stories

Every Fundly that has ended (status ended, or live with its end date passed), raised more than $0 and passes the safety gates: not deleted, public, its organization not deleted or suspended and under no legal hold, its owner not suspended or banned, not under review, no pending report and no open dispute. There is no opt-in. A story staff hid is left out.

featured is the staff pick, else the newest published story; it is left out of data and of pagination.total. counts count every story, the featured one included. stats are the live platform figures (the same cached numbers as GET /platform/numbers), null when they cannot be read.

Parameters​

Query Parameters

filter
Type
string
Valid values
"all""fully_funded""ended""closed"
Default
"all"
sort

recent orders by finished_at, newest first; raised by raised, most first.

Type
string
Valid values
"recent""raised"
Default
"recent"
limit
Type
integer
Minimum
1
Maximum
48
Default
24
offset
Type
integer
Minimum
0
Default
0
lang

Titles in this language where a translation exists. Falls back to the language cookie, then Accept-Language.

Type
string
Valid values
"en""ru""uk""es"

Responses​

One page of stories

application/json
JSON
{
"data": [
],
"pagination": {
"total": 0,
"limit": 0,
"offset": 0
},
"counts": {
"all": 0,
"fully_funded": 0,
"ended": 0,
"closed": 0
},
"featured": {
"fundraiser_id": "string",
"slug": "string",
"title": "string",
"organizer": {
"name": "string",
"avatar_url": "string",
"city": "string"
},
"cover_image": "string",
"images": [
"string"
],
"kind": "string",
"outcome": "string",
"raised_cents": 0,
"finished_at": "string",
"accepting_gifts": true,
"has_story": true,
"headline": "string",
"dek": "string",
"is_project": true,
"fundraising": "string"
},
"stats": {
"raised_cents": 0,
"donations": 0,
"fundlies": 0,
"cities": 0,
"as_of": "string"
}
}

Playground​

Server
Variables
Key
Value

Samples​


Get one success story​

GET
/success-stories/{slug}

One Fundly's success story page. 404 unless the Fundly is a success story right now (the same gates as the list) and staff have not hidden it. The Fundly's own slug is accepted too; card.slug is the canonical one. story is null until the organizer-approved story is published; the record is always there, computed live. Anonymous donors are shown as Anonymous.

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

lang
Type
string
Valid values
"en""ru""uk""es"

Responses​

The story

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Get my Fundly's success story, any status​

GET
/fundraisers/{id}/success-story

The owner's view of their Fundly's success story: the whole row in any status, draft text included, and what they may do. Creates the draft row on first read when the Fundly is eligible and the pipeline has not made it yet. Owner only: anyone else gets 403 with code: NOT_OWNER, no session 401 UNAUTHORIZED, no story 404 NOT_FOUND. Every refusal on these three operations is { error, code }.

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 Fundly (fundraiser) id.

Type
string
Required
Format
"uuid"

Responses​

The story

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit my Fundly's success story​

PATCH
/fundraisers/{id}/success-story

The owner edits their story directly, in every status but hidden (409 INVALID_STATUS). headline, dek and ask_excerpt may change only before publish (409 PUBLISHED_FIELD_LOCKED after; sending the unchanged value is fine). Before publish, any change clears organizer_approved_at (an approved story goes back to organizer_review). On a published story the edit is live at once, audit-logged with the old and new values, and staff are notified.

photo_url must be an image uploaded through POST /storage/upload (bucket fundraiser-images), the same check the campaign media uses. ask_excerpt must be quoted word for word from the Fundly's own story (400 VALIDATION_ERROR). Send only the fields that change; null or an empty string clears a text field.

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*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"headline": "string",
"dek": "string",
"ask_excerpt": "string",
"money_text": "string",
"breakdown": [
],
"photo_url": "string",
"photo_caption": "string",
"now_text": "string",
"gifts_purpose": "string"
}

Responses​

The story after the edit

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Approve my Fundly's success story​

POST
/fundraisers/{id}/success-story/approve

The organizer approves the words: sets organizer_approved_at and written_with_user_id, the status becomes approved, and staff are notified. Allowed from draft and organizer_review; approving an approved story again is a no-op; 409 NOT_IN_REVIEW once published or hidden. Nothing is published without this approval. Owner only.

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*
Type
string
Required
Format
"uuid"

Responses​

The approved story

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Endorsements​

Ambassadors publicly vouching for other people's campaigns, and creators asking ambassadors to promote theirs.


List a campaign's endorsers​

GET
/fundraisers/{id}/endorsements

Who stands behind a campaign: everyone who endorsed it, plus everyone whose share link for it recorded a visit, minus the organizer and profiles set to private. Ordered by impressions (human visits through their link). Authentication is optional; with a session, viewerHasEndorsed says whether the caller is on the list. A deleted campaign returns an empty list.

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)
or

Parameters​

Path Parameters

id*

The campaign's UUID; anything else answers 400.

Type
string
Required
Format
"uuid"

Responses​

Endorsers (unwrapped)

application/json
JSON
{
"endorsers": [
],
"viewerHasEndorsed": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Endorse a campaign​

POST
/fundraisers/{id}/endorse

Publicly vouches for a campaign as the signed-in user, with an optional note. Idempotent: endorsing again updates the note and answers 200 with created: false; a new endorsement answers 201 and notifies the campaign owner.
Only public campaigns that are active, paused or ended can be endorsed, and not your own.
Requires permission: endorse_campaigns

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 campaign's UUID; anything else answers 400.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"note": "string"
}

Responses​

Existing endorsement updated

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Withdraw an endorsement​

DELETE
/fundraisers/{id}/endorse

Revokes the caller's live endorsement of the campaign and notifies the owner.
Requires permission: endorse_campaigns

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 campaign's UUID; anything else answers 400.

Type
string
Required
Format
"uuid"

Responses​

Revoked

application/json
JSON
{
"revoked": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List a campaign's endorsement requests​

GET
/fundraisers/{id}/endorsement-requests

Who the owner has asked to promote the campaign, newest first, and whether each has been emailed yet. Campaign owner only.

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 campaign's UUID; anything else answers 400.

Type
string
Required
Format
"uuid"

Responses​

Requests (unwrapped)

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Ask ambassadors to promote a campaign​

POST
/fundraisers/{id}/endorsement-requests

Asks up to 12 ambassadors at once to promote the caller's campaign. Campaign owner only; no special permission is needed. Requires a verified email address.
Ids that are not current ambassadors (and the caller's own id) are dropped and listed in rejected. When the campaign is public and active, the ambassadors are emailed now (status: "sent"); otherwise the requests are queued and sent when the campaign is approved (status: "queued"). Asking the same ambassador again refreshes the request rather than duplicating it.

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 campaign's UUID; anything else answers 400.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"ambassadorIds": [
"string"
]
}

Responses​

Requests recorded

application/json
JSON
{
"requests": [
],
"notified": 0,
"queued": 0,
"rejected": [
"string"
],
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Images​

Stock-photo search, AI cover generation and server-side image copying for the campaign builder, plus an allowlisted image proxy.


Proxy an allowlisted image​

GET
/images/proxy

Streams an image from the platform's CDN or images.unsplash.com, for local development. Public. The upstream body and Content-Type are passed through with a 24-hour cache header; the upstream status code is not, so an upstream error page also arrives as 200.

Parameters​

Query Parameters

url*
Type
string
Required
Format
"uri"

Responses​

The upstream image

image/*

Playground​

Server
Variables
Key
Value

Samples​


Which image features are available​

GET
/images/features

Whether stock-photo search and AI image generation are configured on this deployment. Public.

Responses​

Feature availability

application/json
JSON
{
"stockPhotos": true,
"aiGeneration": true
}

Playground​

Samples​


Search stock photos​

GET
/images/search

Searches Unsplash for landscape photos. Requires a bearer session. When a photo is chosen, call POST /images/track-download with its downloadLocation, as Unsplash's terms require.

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​

Query Parameters

q*
Type
string
Required
page
Type
integer
Minimum
1
Default
1
per_page
Type
integer
Minimum
1
Maximum
30
Default
20

Responses​

Search results

application/json
JSON
{
"results": [
],
"total": 0,
"totalPages": 0,
"page": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Generate a cover image with AI​

POST
/images/generate

Generates a landscape campaign cover from a prompt (the first 500 characters are used, wrapped in a fixed style prompt). Requires a bearer session.
With the default gpt-image-* model the image is stored on the platform CDN immediately and persisted is true; that path is also gated by features.image_uploads and answers 403 when the flag is off. With a dall-e-* model the URL is OpenAI's temporary one (persisted: false) and should be copied with POST /images/save-from-url.
Limited to 10 generations an hour and 30 a day per user; past either limit the answer is 429 with Retry-After. Errors from the image provider are not passed through: a prompt the provider refuses answers 400, a temporarily unavailable provider 503, and any other provider failure 502, each with a generic message.

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)

Request Body​

application/json
JSON
{
"prompt": "string"
}

Responses​

Generated image

application/json
JSON
{
"url": "string",
"revisedPrompt": "string",
"persisted": true
}

Playground​

Server
Authorization
Body

Samples​


Make a photo square with AI​

POST
/images/fit-square

Re-renders a photo as a square without cutting anyone out of it: the people and the setting are kept and the rest of the frame is composed to fill the square. A photo that is already square is rendered again, so calling twice gives a second rendering. Requires a bearer session.
The square comes back as base64 and nothing is stored. Upload it through the normal image upload to use it as a cover.
Shares the limits of POST /images/generate: 10 an hour and 30 a day per user; past either limit the answer is 429 with Retry-After. Errors from the image provider are not passed through: a photo the provider refuses answers 400, a temporarily unavailable provider 503, and any other provider failure 502, each with a generic message.

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)

Request Body​

application/json
JSON
{
"imageBase64": "string"
}

Responses​

The square photo

application/json
JSON
{
"imageBase64": "string",
"contentType": "image/png",
"changed": true
}

Playground​

Server
Authorization
Body

Samples​


Record a stock-photo selection​

POST
/images/track-download

Tells Unsplash a photo was chosen, as its API guidelines require. Pass the downloadLocation from GET /images/search. Never fails the caller's action: a failed ping answers 200 with tracked: false. Requires a bearer session.

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)

Request Body​

application/json
JSON
{
"downloadLocation": "string"
}

Responses​

Tracking outcome

application/json
JSON
{
"tracked": true
}

Playground​

Server
Authorization
Body

Samples​


Copy a generated image to the CDN​

POST
/images/save-from-url

Downloads an AI-generated image from OpenAI's image storage and stores it on the platform CDN, returning the permanent URL. A URL already on the platform CDN is returned unchanged. Requires a bearer session and the features.image_uploads flag.

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)

Request Body​

application/json
JSON
{
"url": "string",
"bucket": "fundraiser-images"
}

Responses​

Stored image

application/json
JSON
{
"success": true,
"url": "string",
"fileName": "string"
}

Playground​

Server
Authorization
Body

Samples​


List a campaign's media​

GET
/fundraisers/{id}/media

The campaign's photos and videos in gallery order. Every reader sees the public list (DMCA-taken-down items removed); the owner also sees processing and taken-down items. Answers 403 for everyone while features.fundraiser_video is off. Readable exactly when GET /fundraisers/{id} is: a campaign that is not active, paused or ended, is private, or has been deleted answers 404 to everyone but its owner.

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)
or

Parameters​

Path Parameters

id*
Type
string
Required
Format
"uuid"

Responses​

Media items

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add media to a campaign​

POST
/fundraisers/{id}/media

Adds one item, by kind:

  • image — a URL from POST /storage/upload (other hosts are
    rejected). The first image becomes the cover unless isCover says
    otherwise. At most 10 images per campaign.
  • video_link — a YouTube, Vimeo, Wistia, Loom, Instagram, Facebook
    or TikTok URL. At most 3 videos per campaign.
  • video_upload — reserves a direct upload to the video host and
    returns its one-time uploadURL. Counts toward the 3 videos.

Campaign owner only. Behind features.fundraiser_video and the media-upload rate limit (30 per 15 minutes). Audit-logged.

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*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"kind": "string",
"url": "string",
"position": 0,
"isCover": true,
"title": "string"
}

Responses​

Item created

application/json
JSON
{
"media": "string",
"uploadURL": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Preview a video link before saving a campaign​

POST
/fundraisers/media/preview

Parses a video URL and returns what the gallery would embed, for the builder's preview card. Nothing is saved. Thumbnail and title come from the provider's oEmbed and may be null. Authenticated callers; behind features.fundraiser_video and the authenticated request limiter. No campaign data is read or written.

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)
application/json
JSON
{
"url": "string"
}

Parsed link

application/json
JSON
{
"provider": "string",
"providerVideoId": "string",
"embedUrl": "string",
"aspectRatio": "string",
"thumbnailUrl": "string",
"title": "string"
}
Server
Authorization
Body

Preview a video link​

POST
/fundraisers/{id}/media/preview

Parses a video URL and returns what the gallery would embed, for the builder's preview card. Nothing is saved. Thumbnail and title come from the provider's oEmbed and may be null. Campaign owner only; behind features.fundraiser_video.

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)

Path Parameters

id*
Type
string
Required
Format
"uuid"
application/json
JSON
{
"url": "string"
}

Parsed link

application/json
JSON
{
"provider": "string",
"providerVideoId": "string",
"embedUrl": "string",
"aspectRatio": "string",
"thumbnailUrl": "string",
"title": "string"
}
Server
Authorization
Variables
Key
Value
Body

Reorder a campaign's media​

PATCH
/fundraisers/{id}/media/reorder

Sets the gallery order to the order of ids. Every id must belong to this campaign. Campaign owner only; behind features.fundraiser_video. Audit-logged.

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*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"ids": [
"string"
]
}

Responses​

Reordered

application/json
JSON
{
"ok": true
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Set the cover media​

PATCH
/fundraisers/{id}/media/{mid}/cover

Makes one ready, visible image or video the campaign's cover (clearing the previous one). Processing, errored and taken-down media are rejected. Campaign owner or staff admin only; behind features.fundraiser_video. Audit-logged.

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*
Type
string
Required
Format
"uuid"
mid*
Type
string
Required
Format
"uuid"

Responses​

The new cover

application/json
JSON
{
"media": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Remove a media item​

DELETE
/fundraisers/{id}/media/{mid}

Removes one item from the gallery. Campaign owner only; behind features.fundraiser_video. Audit-logged.

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*
Type
string
Required
Format
"uuid"
mid*
Type
string
Required
Format
"uuid"

Responses​

Removed

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get the badge catalogue​

GET
/achievements

Every badge on the platform with its copy, tier ladder, holder counts and rarity, plus header totals, series and the grid's slots, in the reader's language (?lang=, then Accept-Language, then the i18next cookie). The payload is the same for every reader; a token is accepted and ignored. Cached per language.

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)
or

Parameters​

Query Parameters

lang

Reader language; falls back to Accept-Language, then the i18next cookie, then English.

Type
string
Valid values
"en""ru""uk""es"

Responses​

Catalogue (bare object)

application/json
JSON
{
"items": [
],
"totals": {
"achievements": 0,
"earned_total": 0,
"collectors": 0,
"rarest": {
"slug": "string",
"title": "string",
"key": "string",
"label": "string",
"holders": 0
},
"computed_at": "string"
},
"language": "string",
"vocabulary": "string",
"series": [
{
"additionalProperties": "string"
}
],
"slots": [
{
"series_id": "string",
"series_number": 0,
"state": "string",
"slug": "string",
"track": "string"
}
],
"default_series_id": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get an achievement art sheet image​

GET
/achievements/art-sheets/{id}

The image of one badge art sheet, served immutably (one year) under its version token ?v=. A request without the current token is redirected (302, uncached) to the current versioned URL. Public.

Parameters​

Path Parameters

id*
Type
string
Required
Format
"uuid"

Query Parameters

size

Anything else is the full sheet.

Type
string
Valid values
"full""small""cutout""cutout_small"
Default
"full"
v

Version token. Cut-out sizes append -c.

Type
string

Responses​

The image (its stored content type)

image/*

Playground​

Server
Variables
Key
Value

Samples​


Get an achievement library image​

GET
/achievements/art-images/{id}

One image from the badge art library, served immutably under its version token ?v=; a request without the current token is redirected (302) to it. Public.

Parameters​

Path Parameters

id*
Type
string
Required

Query Parameters

size
Type
string
Valid values
"full""small"
Default
"full"
v
Type
string

Responses​

The image (its stored content type)

image/*

Playground​

Server
Variables
Key
Value

Samples​


Get the achievement vocabulary​

GET
/achievements/vocabulary

The labels and colours every badge card is drawn with (tiers, tracks, rarity frames and so on), in the reader's language. Public.

Parameters​

Query Parameters

lang

Reader language; falls back to Accept-Language, then the i18next cookie, then English.

Type
string
Valid values
"en""ru""uk""es"

Responses​

Vocabulary

application/json
JSON
{
"vocabulary": "string",
"language": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Get the "just earned" feed​

GET
/achievements/feed

The most recent cards issued or upgraded, platform-wide or for one badge (species). The size, maximum age and suggested refresh interval come from platform settings. An unknown, hidden or private badge answers an empty list. Public; sent with Cache-Control: no-store.

Parameters​

Query Parameters

species

A badge slug. Repeating the parameter answers an empty list.

Type
string
lang

Reader language; falls back to Accept-Language, then the i18next cookie, then English.

Type
string
Valid values
"en""ru""uk""es"

Responses​

Feed

application/json
JSON
{
"data": [
],
"refresh_seconds": 0
}

Playground​

Server
Variables
Key
Value

Samples​


Get one badge​

GET
/achievements/{slug}

One badge with its copy, ladder and rarity. Authentication is optional: a signed-in reader also gets their own standing (earned, tier, progress). With holder_type and holder_id, the badge is answered for that holder instead (a profile's or organization's badge); both must be given together.

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)
or

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

holder_type
Type
string
Valid values
"user""organization"
holder_id
Type
string
Format
"uuid"
lang

Reader language; falls back to Accept-Language, then the i18next cookie, then English.

Type
string
Valid values
"en""ru""uk""es"

Responses​

The badge

application/json
JSON
{
"data": "string",
"vocabulary": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get a badge share picture​

GET
/achievements/{slug}/share/{asset}

A PNG of the badge for sharing: og 1200×630, post 1080×1080, story and reel 1080×1920. A trailing .png on asset is accepted. ?tier= draws it at that tier when the tier exists. Drafts and private badges answer 404. Public; cached for 5 minutes.

Parameters​

Path Parameters

slug*
Type
string
Required
asset*
Type
string
Required
Valid values
"og""post""story""reel""og.png""post.png""story.png""reel.png"

Query Parameters

tier
Type
string
lang

Reader language; falls back to Accept-Language, then the i18next cookie, then English.

Type
string
Valid values
"en""ru""uk""es"

Responses​

PNG image

image/png

Playground​

Server
Variables
Key
Value

Samples​


Get an earned card​

GET
/cards/{code}

One earned card by its short code, as the card's public page shows it: the badge, holder, tier, dates, serial, evidence, ladder, rarity, the verify URL and share links. Authentication is optional; the holder's own session adds an owner block. Sent private, no-store.

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)
or

Parameters​

Path Parameters

code*

The card's short code.

Type
string
Required

Query Parameters

lang

Reader language; falls back to Accept-Language, then the i18next cookie, then English.

Type
string
Valid values
"en""ru""uk""es"

Responses​

The card

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get an earned card's share picture​

GET
/cards/{code}/share/{asset}

A PNG of one earned card: og 1200×630, post 1080×1080, story 1080×1920 (a trailing .png is accepted). Served only when the card is readable by a stranger. When the card's own picture is not rendered yet, the badge's generic picture is served with X-Card-Render: pending and no-store. Supports If-None-Match (304). Public; a per-IP limit (120 per minute by default) applies in addition to the public browsing limit.

Parameters​

Path Parameters

code*

The card's short code.

Type
string
Required
asset*
Type
string
Required
Valid values
"og""post""story""og.png""post.png""story.png"

Query Parameters

lang
Type
string

Responses​

PNG image. Content-Language names the language it was drawn in.

image/png

Playground​

Server
Variables
Key
Value

Samples​


Get an earned card's verify QR code​

GET
/cards/{code}/qr.svg

An SVG QR code pointing at the card's verify URL. Only for cards readable by a stranger. Public; same per-IP limit as the share pictures. Cached for 60 seconds.

Parameters​

Path Parameters

code*

The card's short code.

Type
string
Required

Responses​

SVG image

image/svg+xml
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Get a profile's achievements​

GET
/users/{id}/achievements

The achievements section of a profile: the badges the person has earned that visitors may see, each with its card, plus a public holder block, a summary counted over the returned rows, the profile's pinned card and the label vocabulary. id is a UUID or a profile slug.

The answer is the same for everyone, the owner included, except that the owner's own rows carry their counts (stats). A private or inactive profile read by anyone but its owner answers { "data": [], "withheld": true, "vocabulary": … }.

Authentication is optional. Rate limited at 300 requests/minute per IP.

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)
or

Parameters​

Path Parameters

id*

Profile UUID or profile slug.

Type
string
Required

Query Parameters

lang

Locale for titles and labels; unsupported locales fall back to English.

Type
string

Responses​

The collection, or a withheld answer

application/json
JSON
{
"data": [
],
"withheld": true,
"holder": "string",
"summary": {
"additionalProperties": "string"
},
"pin": "string",
"vocabulary": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get my achievements​

GET
/me/achievements

The owner view: every achievement the caller holds — themselves and through organizations they administer — including those set to "only me", with private stats and progress; next_up, the closest badges not yet earned; the caller's pin; and how many new cards are waiting to be revealed.

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​

Query Parameters

lang
Type
string

Responses​

The owner collection

application/json
JSON
{
"data": [
],
"holder": {
"kind": "string",
"first_name": "string",
"short_name": "Vitaliy R.",
"handle": "string",
"profile_path": "string",
"source": "string",
"full_name": "string"
},
"summary": {
"additionalProperties": "string"
},
"next_up": [
{
"additionalProperties": "string"
}
],
"pin": {
"source": "string",
"slug": "string",
"code": "string",
"publicly_readable": true
},
"pin_writable": true,
"unrevealed_count": 0,
"vocabulary": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get what a gift would earn​

GET
/me/achievements/gift-outlook

What a gift from the caller to one Fundly would earn them in achievements: for each achievement the gift can move, where the caller stands and the breakpoint that moves it. The answer does not depend on the amount, so a checkout asks once per Fundly and compares the gift as the donor changes it. A Fundly that cannot earn the caller anything — their own, or one not taking gifts — answers 200 with eligible: false. Responses are private, no-store.

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​

Query Parameters

fundraiser_id*

The Fundly the gift is for.

Type
string
Required
Format
"uuid"
lang
Type
string

Responses​

The outlook

application/json
JSON
{
"data": "string",
"vocabulary": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Pin an achievement card​

PUT
/me/achievements/pin

Pins one of the caller's own live cards (theirs, or an organization's they administer) to that holder's profile. A malformed, unknown, void or someone else's card all get the same 404 body, so the answer never says whether a code exists. Responses are private, no-store.

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)

Request Body​

application/json
JSON
{
"card_code": "string"
}

Responses​

Pinned

application/json
JSON
{
"data": {
"pin": {
"source": "string",
"slug": "string",
"code": "string",
"publicly_readable": true
}
}
}

Playground​

Server
Authorization
Body

Samples​


Unpin an achievement card​

DELETE
/me/achievements/pin

Clears the caller's pin, or with organization that organization's pin when the caller administers it. Idempotent. The profile then shows the automatic choice.

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​

Query Parameters

organization
Type
string
Format
"uuid"

Responses​

Unpinned

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get my reveal pack​

GET
/me/achievements/reveals

Cards waiting to be "opened": with receipt, the ones a particular donation earned (the thank-you page — status: pending while the award is still being computed); with all=true, every unrevealed card. Pass exactly one. Someone else's receipt answers like a donation that earned nothing (status: none). Responses are private, no-store.

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​

Query Parameters

receipt

A Stripe PaymentIntent id.

Type
string
Pattern
"^pi_[A-Za-z0-9_]{1,255}$"
all
Type
string
Valid values
"true"

Responses​

The pack

application/json
JSON
{
"data": {
"status": "string",
"events": [
{
"id": 0,
"event_ids": [
0
],
"kind": "string",
"tier": {
"key": "string",
"label": "string"
},
"from_tier": {
"key": "string",
"label": "string"
},
"revealed": true,
"card": {
"additionalProperties": "string"
},
"tierup_line": "string"
}
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Mark reveal events as opened​

POST
/me/achievements/reveals/ack

Marks the caller's own reveal events as revealed. Ids that are not the caller's are ignored silently; the answer is 204 either way.

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)

Request Body​

application/json
JSON
{
"event_ids": [
0
]
}

Responses​

Acknowledged

Playground​

Server
Authorization
Body

Samples​


Set an achievement's visibility​

PATCH
/me/achievements/{slug}

The holder's "Visible to: Everyone / Only me" control for one badge. default follows the badge's own visibility. When the caller wears the badge both personally and through an organization (or through two organizations), holder must say which; otherwise 409 with the list of holders.

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

slug*

The achievement's slug.

Type
string
Required

Request Body​

application/json
JSON
{
"visibility_override": "string",
"holder": {
"type": "string",
"id": "string"
}
}

Responses​

The updated award

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Wallet​

Apple Wallet passes: a card's holder downloads their earned card through a short-lived link, and anyone can download a pass for a fundraiser that can be opened by its link. Passes keep themselves current through the PassKit web service under /passkit/v1, which Wallet itself calls, with the pass's own token (Authorization: ApplePass <token>) where Apple's protocol asks for one. Passes come in English, Russian, Ukrainian or Spanish. Until the platform's Pass Type ID certificate is configured, every endpoint but GET /wallet/status answers 503 (code: wallet_unavailable).


Whether Apple Wallet passes are available​

GET
/wallet/status

available is true once the platform's Pass Type ID certificate is configured. Until then every other Wallet endpoint answers 503 with code: wallet_unavailable, so a client shows no "Add to Apple Wallet" button. Public, the same answer for everyone, cached for five minutes.

Responses​

Availability

application/json
JSON
"string"

Playground​

Samples​


Get a download link for your card's Apple Wallet pass​

POST
/wallet/cards/{code}/link

For the holder of the card only (the signed-in person, or an organization they administer). Answers a link to GET /wallet/passes/{token} that works for ten minutes, for one download of this card's pass, in the request's language (?lang=, the language cookie, then Accept-Language). The pass is a generic Wallet pass in the colours of the card's tier: the series number, the species, the tier, when the current tier was reached, the holder's public name, the series, the rarity and, for a card earned by a verified donation, the proof, with the card's verify QR code. It shows only what the public card page shows. Writes nothing.

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)

Path Parameters

code*

The card's code, e.g. WH-2318.

Type
string
Required

Query Parameters

lang

The pass's language.

Type
string
Valid values
"en""ru""uk""es"

The download link

application/json
JSON
"string"
Server
Authorization
Variables
Key
Value

Download your card's Apple Wallet pass​

GET
/wallet/passes/{token}

The link POST /wallet/cards/{code}/link answers, opened within ten minutes. The card is checked again; a card revoked or no longer the requester's in the meantime answers 404. Every download is a new pass with its own serial number. The pass stays current through the PassKit web service: when the card reaches a new tier, Wallet is told and fetches it. private, no-store: the file carries the pass's own authentication token.

Parameters​

Path Parameters

token*

The signed download token from the link.

Type
string
Required

Responses​

The signed pass, sent as an attachment named FundlyHub-<code>.pkpass

application/vnd.apple.pkpass

Playground​

Server
Variables
Key
Value

Samples​


Download a fundraiser's Apple Wallet pass​

GET
/wallet/fundraisers/{id}/pass

A store card for any fundraiser that can be opened by its link (live, ended or paused, not private, not deleted): the amount raised, the percent of the goal, the title and the donor count, the same figures and money formatting as the fundraiser's page, over its cover photo. The QR code opens the fundraiser's page (?utm_source=wallet), or, when ref is a referral code for this fundraiser, that sharer's /r/<code> link, so their link keeps counting what it brings. Any other ref is ignored. Each download is a new pass that updates as gifts come in. Language: ?lang=, the language cookie, then Accept-Language; without one the labels are English and the title is the fundraiser's own.

Parameters​

Path Parameters

id*
Type
string
Required
Format
"uuid"

Query Parameters

ref

A referral code for this fundraiser.

Type
string
lang
Type
string
Valid values
"en""ru""uk""es"

Responses​

The signed pass, sent as an attachment named FundlyHub-<slug>.pkpass

application/vnd.apple.pkpass

Playground​

Server
Variables
Key
Value

Samples​


Register a device for a pass's updates (PassKit web service)​

POST
/passkit/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}

Apple's PassKit web service, called by Wallet itself under the pass's webServiceURL. Authenticated by the pass's own token. 201 for a new registration, 200 when the device was already registered (its push token is updated).

Authorizations​

ApplePassAuth

Apple's PassKit web service scheme: Authorization: ApplePass <authenticationToken>, the token inside the pass itself. Sent by Wallet, never by a person.

Type
API Key (header: Authorization)

Parameters​

Request Body​

application/json
JSON
{
"pushToken": "string"
}

Responses​

Already registered: the device's push token is updated. The body is the plain-text status line OK.

text/plain
JSON
"OK"

Playground​

Server
Authorization
Body

Samples​


Unregister a device from a pass's updates (PassKit web service)​

DELETE
/passkit/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}

Called by Wallet when the pass is removed from the device. Authenticated by the pass's own token.

Authorizations​

ApplePassAuth

Apple's PassKit web service scheme: Authorization: ApplePass <authenticationToken>, the token inside the pass itself. Sent by Wallet, never by a person.

Type
API Key (header: Authorization)

Parameters​

Responses​

Unregistered, also when the device was not registered for this pass. The body is the plain-text status line OK.

text/plain
JSON
"OK"

Playground​

Server
Authorization

Samples​


List a device's passes that changed (PassKit web service)​

GET
/passkit/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}

The serial numbers of the passes this device registered for that changed after passesUpdatedSince (a lastUpdated value this endpoint answered before; all of them without it), and the lastUpdated value to send next time. A pass can be listed again; fetching it then answers 304. No authentication, as Apple specifies.

Parameters​

Query Parameters

passesUpdatedSince
Type
string

Responses​

Changed passes

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Get the current version of a pass (PassKit web service)​

GET
/passkit/v1/passes/{passTypeIdentifier}/{serialNumber}

The pass as it is now, rebuilt from the card or the fundraiser, with Last-Modified. 304 when it has not changed since If-Modified-Since. A card that was revoked or withdrawn, or is no longer its holder's, and a fundraiser that can no longer be opened, come back as a voided pass. Authenticated by the pass's own token.

Authorizations​

ApplePassAuth

Apple's PassKit web service scheme: Authorization: ApplePass <authenticationToken>, the token inside the pass itself. Sent by Wallet, never by a person.

Type
API Key (header: Authorization)

Parameters​

Header Parameters

If-Modified-Since
Type
string

Responses​

The signed pass

application/vnd.apple.pkpass

Playground​

Server
Authorization
Headers

Samples​


Report Wallet's errors (PassKit web service)​

POST
/passkit/v1/log

Wallet's own error messages about the web service. Logged, never stored.

Request Body​

application/json
JSON
{
"logs": [
"string"
]
}

Responses​

Received. The body is the plain-text status line OK.

text/plain
JSON
"OK"

Playground​

Server
Body

Samples​


Storage​

Direct uploads of images to the platform's CDN bucket, and the record of the original and the crop behind each cropped image.


Upload an image​

POST
/storage/upload

Stores a base64-encoded raster image on the platform CDN and returns its public URL, which the media gallery, outcome reports and the campaign form accept. Requires a bearer session. Only raster image types are accepted (no SVG or HTML), into one of the StorageBucket folders. Omit path and the server stores the file under a new unique path beginning with the caller's user id, returned as path. A supplied path must begin with the caller's own user id, profile id or Cognito sub, the same rule POST /storage/delete applies. An upload never replaces an existing file. A file may be up to 15 MB (the original of a cropped photo).

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)

Request Body​

application/json
JSON
{
"bucket": "string",
"path": "3f6c1b9e-7d2a-4c8e-9b1f-2a4d6e8f0c13/cover-1717171717.jpg",
"fileBase64": "string",
"contentType": "string"
}

Responses​

Stored

application/json
JSON
{
"success": true,
"url": "string",
"path": "string"
}

Playground​

Server
Authorization
Body

Samples​


Read the original and the crop behind a cropped image​

GET
/image-crops

The record POST /image-crops saved for a cropped image, so the crop dialog can reopen on the original. The original holds whatever the crop cut away, so only the record's author, the image's owner (as POST /image-crops judges it) and staff who edit other people's images can read it; anybody else gets the same 404 as an image with no record, and the dialog then edits the image itself. Requires a bearer session.

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​

Query Parameters

url*

The cropped image's URL (output_url).

Type
string
Required
Format
"uri"
Max Length
2048

Responses​

The original and the crops

application/json
JSON
{
"original_url": "string",
"crop": "string",
"secondary_crop": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Record the original and the crop behind a cropped image​

POST
/image-crops

Every image upload and edit goes through one crop dialog, which uploads the untouched original next to the cropped output and then records here where the crop sits on the original, keyed by the output's URL, so editing the image later reopens the dialog on the original with the crop restored. Both URLs must be images on the FundlyHub CDN: the original an upload into one of the StorageBucket folders, the output that or a processed avatar, organization logo or banner. The caller must own the output: its path begins with their id (an upload or their own avatar), or they may manage that user or organization. Saving again for the same output replaces the record, but only its own author can do that. Requires a bearer session.

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)

Request Body​

application/json
JSON
{
"output_url": "https://fundlyhub.org/uploads/community-photos/3f6c1b9e-7d2a-4c8e-9b1f-2a4d6e8f0c13/1717171717-crop.jpg",
"original_url": "https://fundlyhub.org/uploads/community-photos/3f6c1b9e-7d2a-4c8e-9b1f-2a4d6e8f0c13/1717171716-original.jpg",
"crop": "string",
"secondary_crop": {
"area": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
},
"zoom": 0,
"rotation": 0
}
}

Responses​

Recorded

application/json
JSON
{
"data": {
"output_url": "string",
"original_url": "string",
"crop": "string",
"secondary_crop": {
"area": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
},
"zoom": 0,
"rotation": 0
},
"created_at": "string"
}
}

Playground​

Server
Authorization
Body

Samples​


Delete an uploaded image​

POST
/storage/delete

Deletes one uploaded file. The path's first segment must be the caller's own user id, profile id or Cognito sub; files uploaded under any other prefix cannot be deleted through this endpoint. Requires a bearer session.

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)

Request Body​

application/json
JSON
{
"bucket": "string",
"path": "string"
}

Responses​

Deleted

application/json
JSON
{
"success": true
}

Playground​

Server
Authorization
Body

Samples​


API Keys​

Long-lived fh_live_… keys for CLI and agent access. A key is sent as Authorization: Bearer fh_live_… and authenticates as the user who created it, on every endpoint that accepts a bearer session.


List my API keys​

GET
/api-keys

The authenticated user's keys, newest first. Never includes the secret. Revoked keys are excluded unless include_revoked=true.

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​

Query Parameters

include_revoked
Type
string
Valid values
"true""false"
Default
"false"

Responses​

The caller's keys

application/json
JSON
{
"data": [
],
"total": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Create an API key​

POST
/api-keys

Mints a new API key for the authenticated user. The full key is returned once, in api_key, and cannot be retrieved again. key.prefix (the first 12 characters) is what later listings show.

Requires a signed-in session (the session cookies, or a Cognito JWT in the Authorization header). A request authenticated with an API key, or made while an administrator is viewing the account as its owner, answers 403.

Every new key expires: one year after creation unless expires_at asks for sooner. A key stops working early if it is revoked, if its owner's account is suspended, banned or deactivated, or if an administrator signs the owner out of every device (which revokes all of the owner's keys).

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)

Request Body​

application/json
JSON
{
"name": "CI deploy bot",
"expires_at": "string"
}

Responses​

Key created

application/json
JSON
{
"message": "string",
"api_key": "fh_live_3f9c2a1b0e7d4c5a8b6f1e2d3c4b5a69788766554433221100ffeeddccbbaa99",
"key": "string"
}

Playground​

Server
Authorization
Body

Samples​


Revoke an API key​

DELETE
/api-keys/{id}

Revokes one of the caller's own keys. Takes effect immediately. A key that belongs to someone else, does not exist, or is already revoked answers 404.

Requires a signed-in session: a request authenticated with an API key, or made while an administrator is viewing the account as its owner, answers 403.

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*
Type
string
Required
Format
"uuid"

Responses​

Key revoked

application/json
JSON
{
"message": "string",
"id": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Meta​

Crawler-facing discovery files (llms.txt, sitemaps), generated from live data and proxied by the frontend at the site's public paths.


Get llms.txt​

GET
/meta/llms.txt

The AI-crawler discovery file served at https://fundlyhub.org/llms.txt: live platform statistics, categories, trending campaigns, key pages and localised versions, in Markdown. Cached for an hour. No authentication.

Responses​

The file

text/plain
JSON
"string"

Playground​

Samples​


Get llms-full.txt​

GET
/meta/llms-full.txt

The long form of llms.txt: active campaigns, how the platform works, the money and trust model, FAQ, glossary and site structure. Cached for an hour. No authentication.

Responses​

The file

text/plain
JSON
"string"

Playground​

Samples​


Get the sitemap index​

GET
/meta/sitemap-index

The <sitemapindex> served at https://fundlyhub.org/sitemap.xml: every sitemap file of every language, one per page type (/sitemaps/{locale}/{type}.xml on the site, {type}-{n}.xml once a type outgrows one file), each with the newest <lastmod> in it. A type with no pages is left out. Cached for five minutes. No authentication.

Responses​

Sitemap index XML

application/xml
XML

Playground​

Samples​


Get a locale's sitemap index​

GET
/meta/sitemaps/{locale}

The <sitemapindex> of one locale's sitemap files (/sitemaps/{locale}.xml on the site), one per page type. Accepts the bare locale or the locale with .xml. Cached for five minutes. No authentication.

Parameters​

Path Parameters

locale*
Type
string
Required
Valid values
"en""ru""uk""es""en.xml""ru.xml""uk.xml""es.xml"

Responses​

Sitemap index XML

application/xml
XML

Playground​

Server
Variables
Key
Value

Samples​


Get one sitemap file​

GET
/meta/sitemaps/{locale}/{file}

One <urlset> of one page type in one locale (/sitemaps/{locale}/{file} on the site), with hreflang alternates for every locale and image:image entries for the photos a page shows. The types are pages (the static pages), fundraisers, nonprofits, churches, cities, communities, sponsors, providers, stories and profiles. A file holds at most 45,000 URLs; a larger type continues in {type}-2, {type}-3 and so on. A type with no pages answers an empty set. Cached for five minutes. No authentication.

Parameters​

Path Parameters

locale*
Type
string
Required
Valid values
"en""ru""uk""es"
file*

The type, then -{n} from the second file on, with or without .xml.

Type
string
Required
Example"fundraisers.xml"
Pattern
"^(pages|fundraisers|nonprofits|churches|cities|communities|sponsors|providers|stories|profiles)(-[1-9][0-9]{0,4})?(\\.xml)?$"

Responses​

Sitemap XML

application/xml
XML

Playground​

Server
Variables
Key
Value

Samples​


Email Preferences​

Public, token-authorised unsubscribe and resubscribe for any address FundlyHub mails, including guest donors with no account.


Preview an unsubscribe link​

GET
/unsubscribe/preview

Validates the signed token from an email's unsubscribe link and says which (masked) address and which scope it would silence. Changes nothing.

No authentication: the signed token is the authorisation. Rate limited at 300 requests/minute per IP.

Parameters​

Query Parameters

token*
Type
string
Required

Responses​

The token is valid

application/json
JSON
{
"data": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Unsubscribe​

POST
/unsubscribe

Suppresses mail to the token's address for the token's scope, or for everything when all is true. Idempotent.

No authentication: the signed token is the authorisation. No feature flag can switch this off. Rate limited at 10 requests/minute per IP.

Request Body​

application/json
JSON
"string"

Responses​

Unsubscribed

application/json
JSON
{
"data": "string"
}

Playground​

Server
Body

Samples​


Resubscribe​

POST
/unsubscribe/resubscribe

Lifts the suppression for the token's address and scope (or for all). The undo for POST /unsubscribe.

No authentication: the signed token is the authorisation. Rate limited at 10 requests/minute per IP.

Request Body​

application/json
JSON
"string"

Responses​

Resubscribed

application/json
JSON
{
"data": "string"
}

Playground​

Server
Body

Samples​


Request a fresh unsubscribe link​

POST
/unsubscribe/request

Mails a new signed unsubscribe link to email — the repair path for old emails whose link carried no token. Sent only to an address FundlyHub has previously mailed, at most once per address per hour.

Always answers { "data": { "sent": true } }, whatever happened, so it cannot be used to test whether an address is known.

No authentication. Rate limited at 10 requests/minute per IP.

application/json
JSON
{
"email": "string"
}

Accepted

application/json
JSON
{
"data": {
"sent": true
}
}
Server
Body

Redeem an ambassador invitation​

POST
/ambassador-invites/redeem

Accepts an ambassador invitation for the signed-in account — the path for Google and Apple sign-ups, which cannot carry the token through POST /cognito/signup. The invitation is matched against the account's own registered email address; someone else's token is declined with email_mismatch.

A declined redemption is still a 200 with granted: false and a reason, so a client can always call this after sign-up even when the token was already spent. No special permission is needed.

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)

Request Body​

application/json
JSON
{
"token": "string"
}

Responses​

Granted, or declined with a reason

application/json
JSON
{
"granted": true,
"reason": "string"
}

Playground​

Server
Authorization
Body

Samples​


Apply to be an ambassador​

POST
/ambassador-applications

Files an application to the ambassador programme for review by FundlyHub. Works signed out; when a session is present, the application records which account filed it.

One pending application per address: a second is 409, as is an address that already holds the ambassador role.

Authentication is optional. Rate limited at 5 requests/minute per IP.

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)
or

Request Body​

application/json
JSON
{
"fullName": "string",
"email": "string",
"location": "string",
"socialMedia": "string",
"experience": "string",
"motivation": "string"
}

Responses​

Application received

application/json
JSON
{
"received": true
}

Playground​

Server
Authorization
Body

Samples​


List ambassadors (public directory)​

GET
/ambassadors

Ambassador role-holders with a public profile, ordered by the money their referral links have driven — what those gifts raised, net of fees, tips excluded (the amounts themselves are not returned). Feeds the front-page rail.

No authentication. Rate limited at 300 requests/minute per IP.

Parameters​

Query Parameters

limit
Type
integer
Minimum
1
Maximum
60
Default
24

Responses​

The directory

application/json
JSON
{
"ambassadors": [
{
"userId": "string",
"name": "string",
"avatar": "string",
"href": "string",
"location": "string"
}
]
}

Playground​

Server
Variables
Key
Value

Samples​


List ambassadors for the endorsement picker​

GET
/ambassadors/selectable

Ambassadors a campaign creator may ask to endorse their campaign: role-holders with a public profile, excluding the caller, with the lifetime money each has driven in cents — what those gifts raised, net of fees, tips excluded. Authenticated because it carries those amounts.

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​

Query Parameters

limit
Type
integer
Minimum
1
Maximum
60
Default
24
q

Literal, case-insensitive substring of the ambassador name; trimmed and matched before the result limit. Blank returns the default ranked list.

Type
string
Max Length
120

Responses​

The picker list

application/json
JSON
{
"ambassadors": [
{
"userId": "string",
"name": "string",
"avatar": "string",
"referredCents": 0
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get an ambassador's referral analytics​

GET
/ambassadors/{id}/analytics

All-time referral analytics for one ambassador: clicks by traffic type, conversions, attributed funds per currency, and breakdowns by campaign, UTM source and day.

Callers may read their own analytics; anyone else's answers 403.

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 ambassador's profile UUID.

Type
string
Required
Format
"uuid"

Responses​

The analytics (bare object)

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get or create my referral code​

POST
/referrals/codes

Returns the caller's referral code — the profile-level one, or the one for fundraiser_id — creating it on first use. Idempotent. Share links take the form /r/{code} on the site. Every signed-in user can hold a code; the ambassador role is not required.

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)

Request Body​

application/json
JSON
{
"fundraiser_id": "string"
}

Responses​

The code

application/json
JSON
{
"code": "aB3dE5fG7h"
}

Playground​

Server
Authorization
Body

Samples​


Record a referral-link click​

POST
/referrals/clicks

Called by the FundlyHub web app when a visitor opens a referral link (/r/{code}); not for third-party clients. Returns where to redirect and the visitor id to set as a cookie. Records a click classified as human, bot or unknown, and stamps the code into utm_content. When the visitor is signed in, the code is also remembered on their profile for attribution.

An unknown code still answers 200 with resolved: false and a target_path of the home page.

Authentication is optional. Rate limited per caller: 120 requests/minute, on top of the global per-IP limiter. Past the limit the answer is 429 with Retry-After.

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)
or

Request Body​

application/json
JSON
{
"code": "string",
"user_agent": "string",
"request_method": "GET",
"referer": "string",
"visitor_id": "string",
"ip": "string",
"utm_source": "string",
"utm_medium": "string",
"utm_campaign": "string",
"utm_content": "string",
"entry_point": "redirect"
}

Responses​

Click processed

application/json
JSON
"string"

Playground​

Server
Authorization
Body

Samples​


Get my referral summary​

GET
/me/referrals/summary

The ambassador portal's headline: totals, the click-to-gift funnel and a daily series for the caller's own referral links over a window (default: the 28 days ending to). Every portal route reads only the session's own rows.

Requires permission: view_own_referral_portal.

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​

Query Parameters

from

Window start. Defaults to 28 days before to. Must be before to and not earlier than 2020-01-01.

Type
string
Format
"date-time"
to

Window end. Defaults to now.

Type
string
Format
"date-time"

Responses​

The summary

application/json
JSON
{
"data": "string",
"range": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List campaigns I referred to​

GET
/me/referrals/campaigns

Per-campaign clicks, visitors, driven gifts and money raised from the caller's referral links in the window.

Requires permission: view_own_referral_portal.

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​

Query Parameters

from

Window start. Defaults to 28 days before to. Must be before to and not earlier than 2020-01-01.

Type
string
Format
"date-time"
to

Window end. Defaults to now.

Type
string
Format
"date-time"

Responses​

The campaigns

application/json
JSON
{
"data": [
{
"fundraiser_id": "string",
"fundraiser_title": "string",
"fundraiser_slug": "string",
"clicks_human": 0,
"clicks_bot": 0,
"clicks_unknown": 0,
"distinct_human_visitors": 0,
"driven_gifts": 0,
"raised_cents": 0,
"last_click_at": "string"
}
],
"range": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get what my referral link did for one campaign​

GET
/me/referrals/campaigns/{fundraiserId}

All-time figures for the caller's own referral link on one campaign: impressions (visits not identified as a bot), clicks by traffic type, distinct human visitors, driven gifts (paid, not self-referred), distinct donors, and the value of those gifts (donation + tip) per currency in cents. The same definitions as the per-campaign rows of the ambassador analytics. Also returns the caller's referral code and link for the campaign when one exists; this read never creates one. Feeds the ambassador bar on the campaign page.

A campaign the caller may not open (draft, pending, private or deleted, and not their own) is a 404, as its page is.

Requires permission: view_own_referral_portal.

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

fundraiserId*

The campaign's id.

Type
string
Required
Format
"uuid"

Responses​

The caller's figures for the campaign

application/json
JSON
{
"data": {
"fundraiser_id": "string",
"impressions": 0,
"clicks_by_traffic_type": {
"human": 0,
"bot": 0,
"unknown": 0
},
"distinct_human_visitors": 0,
"driven_gifts": 0,
"distinct_donors": 0,
"funds_attributed": [
{
"currency": "string",
"amount_cents": 0
}
],
"referral_code": "string",
"referral_url": "https://fundlyhub.org/r/AbC123xYz0",
"last_click_at": "string",
"last_gift_at": "string",
"as_of": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get my referral traffic breakdown​

GET
/me/referrals/traffic

Where the caller's referral clicks came from — by UTM source, referer and medium — plus traffic type, and country and device splits from Google Analytics when it is configured (ga_note says why those are null otherwise).

Requires permission: view_own_referral_portal.

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​

Query Parameters

from

Window start. Defaults to 28 days before to. Must be before to and not earlier than 2020-01-01.

Type
string
Format
"date-time"
to

Window end. Defaults to now.

Type
string
Format
"date-time"

Responses​

The breakdown

application/json
JSON
{
"data": "string",
"range": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List gifts I drove​

GET
/me/referrals/gifts

The donations attributed to the caller's referral links in the window, refunded, failed and self-referred gifts included. Each row carries exactly the fields of AmbassadorGift: no donor email, card details or receipt reference, and no donor name on an anonymous gift.

Requires permission: view_own_referral_portal.

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​

Query Parameters

from

Window start. Defaults to 28 days before to. Must be before to and not earlier than 2020-01-01.

Type
string
Format
"date-time"
to

Window end. Defaults to now.

Type
string
Format
"date-time"
limit
Type
integer
Minimum
1
Maximum
200
Default
50
offset
Type
integer
Minimum
0
Default
0

Responses​

One page of gifts

application/json
JSON
{
"data": [
],
"total": 0,
"drivenTotal": 0,
"range": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get my ambassador standing​

GET
/me/referrals/standing

The caller's rank among ambassadors by money raised in the window — what gifts through their links raised, net of fees, tips excluded — and the leaderboard (up to 200 rows; truncated when there are more). Other ambassadors with private profiles appear without name or avatar.

Requires permission: view_own_referral_portal.

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​

Query Parameters

from

Window start. Defaults to 28 days before to. Must be before to and not earlier than 2020-01-01.

Type
string
Format
"date-time"
to

Window end. Defaults to now.

Type
string
Format
"date-time"

Responses​

The standing

application/json
JSON
{
"data": {
"rank": 0,
"total_ambassadors": 0,
"leaderboard": [
{
"rank": 0,
"ambassador_user_id": "string",
"display_name": "string",
"avatar_url": "string",
"raised_cents": 0,
"driven_gifts": 0,
"is_me": true
}
],
"truncated": true
},
"range": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get the businesses I invited to become sponsors​

GET
/me/referrals/businesses

The businesses the caller brought to FundlyHub, newest first: the ones that started Become a sponsor through the caller's link (/sponsors/join?ref=CODE, code below), and the ones the caller emailed an invite that haven't started yet (kind: invite, stage invited). A business that starts a page is listed by its page, matched by the email its creator signs in with. Each says how far it has got, in neutral words: invited (opened once it followed the email's link), started (setting up its page; step while a draft), submitted (with FundlyHub), live (live or paused; slug is its page) or not_live (never which, nor why: an ambassador never sees what a reviewer found). send (an invite) and reminder (a page being set up) say when the caller can email it again: three emails per address at most, three days apart. Perks used are counts from the sponsor's impact, shown for the businesses that went live; never who used them. Answers 403 while sponsors are switched off.

Requires permission: view_own_referral_portal.

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)

Responses​

The businesses

application/json
JSON
{
"code": "string",
"totals": {
"businesses": 0,
"live": 0,
"inProgress": 0,
"perksUsedAtLive": 0
},
"businesses": [
{
"kind": "string",
"id": "string",
"name": "string",
"categoryId": "string",
"logoUrl": "string",
"home": {
"label": "string",
"city": "string"
},
"locationKinds": [
"string"
],
"stage": "string",
"step": 0,
"slug": "string",
"email": "string",
"opened": true,
"startedAt": "string",
"sponsorSince": "string",
"perksUsed": 0,
"send": "string",
"reminder": {
"sentAt": "string",
"sendCount": 0,
"nextAt": "string",
"canSend": true
}
}
]
}

Playground​

Server
Authorization

Samples​


Invite a business by email​

POST
/me/referrals/businesses/invites

Emails a business an invite from the caller: what being a sponsor is, and a link of its own that marks the invite opened and lands on For businesses with the caller's ref. One invite per address; twenty new addresses a day. The link's token is only ever in the email.

Requires permission: view_own_referral_portal.

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)

Request Body​

application/json
JSON
{
"businessName": "string",
"email": "string",
"categoryId": "string",
"area": "string"
}

Responses​

Sent

application/json
JSON
{
"id": "string"
}

Playground​

Server
Authorization
Body

Samples​


Send an invite again​

POST
/me/referrals/businesses/invites/{inviteId}/send-again

The invite again, with a fresh link (the earlier one stops working): three emails per address at most, three days apart.

Requires permission: view_own_referral_portal.

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

inviteId*
Type
string
Required
Format
"uuid"

Responses​

Sent

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Remind a business that started its page​

POST
/me/referrals/businesses/{sponsorId}/remind

A reminder to a business that started Become a sponsor with the caller's link and stopped (a draft, or one sent back for changes): an email to the address its creator signs in with, with a link back to where it was left. Counts toward that address's three emails, three days apart.

Requires permission: view_own_referral_portal.

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

sponsorId*
Type
string
Required
Format
"uuid"

Responses​

Sent

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Follow an ambassador's invite link​

GET
/sponsors/join/invites/{token}

The link in an ambassador's invite email. Marks the invite opened the first time, then redirects to For businesses with the ambassador's ref (/sponsors/join?ref=CODE). A link that was replaced or never existed still redirects there, without a ref.

Parameters​

Path Parameters

token*
Type
string
Required

Responses​

To For businesses on the site

Playground​

Server
Variables
Key
Value

Samples​


List my own campaigns (ambassador portal)​

GET
/me/campaigns

The campaigns the caller owns, with totals and how many clicks on their own referral links led to them (self-referrals, which do not count as driven). Takes no date range.

Requires permission: view_own_referral_portal.

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)

Responses​

The caller's campaigns

application/json
JSON
{
"data": [
{
"id": "string",
"title": "string",
"slug": "string",
"status": "string",
"goal_amount_cents": 0,
"total_raised_cents": 0,
"donation_count": 0,
"created_at": "string",
"self_referred_clicks": 0
}
]
}

Playground​

Server
Authorization

Samples​


DMCA​

DMCA §512 takedown notices and counter-notices. Currently dark behind the features.dmca_workflow flag.


File a DMCA takedown notice​

POST
/dmca/notice

Files a §512(c) takedown notice against a campaign or one of its media files. No account is needed to file. Both attestations must be true, and either mediaId or fundraiserId is required. Returns only a reference id; the claimant is emailed a confirmation and updates.

No authentication. Behind features.dmca_workflow, which is currently disabled (403). Rate limited at 5 requests/minute per IP.

Request Body​

application/json
JSON
{
"claimantName": "string",
"claimantOrganization": "string",
"claimantEmail": "string",
"claimantPhone": "string",
"claimantAddress": "string",
"mediaId": "string",
"fundraiserId": "string",
"infringingUrl": "string",
"copyrightedWorkDescription": "string",
"copyrightedWorkUrl": "string",
"goodFaithStatement": true,
"authorityStatement": true,
"electronicSignature": "string"
}

Responses​

Notice received

application/json
JSON
{
"ok": true,
"complaintId": "string",
"submittedAt": "string",
"message": "string"
}

Playground​

Server
Body

Samples​


File a DMCA counter-notice​

POST
/dmca/complaints/{id}/counter-notice

The uploader of media taken down under a notice files a §512(g) counter-notice. Only the media's original uploader may file, and only against a complaint in valid status. All three statements must be true. FundlyHub forwards it to the claimant.

Behind features.dmca_workflow, which is currently disabled (403).

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 complaint id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"goodFaithStatement": true,
"consentToJurisdiction": true,
"perjuryStatement": true,
"electronicSignature": "string",
"contactName": "string",
"contactAddress": "string",
"contactPhone": "string",
"contactEmail": "string"
}

Responses​

Counter-notice received

application/json
JSON
{
"ok": true,
"counterNoticeId": "string",
"submittedAt": "string",
"message": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Support​

Live-chat (Chatwoot) identity for the signed-in user.


Get the live-chat identity hash​

GET
/chatwoot/identity-hash

The caller's identity hash for the support chat widget's setUser(…, { identifier_hash }), so the chat knows which signed-in user it is talking to.

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)

Responses​

The hash

application/json
JSON
{
"identifier_hash": "string"
}

Playground​

Server
Authorization

Samples​


Sponsors · Become a sponsor​


For businesses​

GET
/sponsors/join

What /sponsors/join shows beyond its own words, all of it real: the ambassador whose link brought the visitor (ref); the visitor's city (where the edge says they are, else their own city; the nearest with sponsors within 30 miles, else the one with the most) with its sponsor count and its most used sponsors' logos; and a sponsor's quote, shown only with consent once staff approved it. No city or no quote: null.

Parameters​

Query Parameters

ref

An ambassador's code, from /sponsors/join?ref=.

Type
string

Responses​

OK

application/json
JSON
{
"inviter": {
"name": "string",
"initials": "string"
},
"city": {
"slug": "string",
"name": "string",
"label": "string",
"sponsors": 0,
"more": 0,
"logos": [
{
"slug": "string",
"name": "string",
"logo_url": "string"
}
]
},
"quote": {
"text": "string",
"name": "string",
"initials": "string",
"role": "string",
"title": "string",
"sponsor": {
"slug": "string",
"name": "string"
}
}
}

Playground​

Server
Variables
Key
Value

Samples​


The small map of a place​

GET
/sponsors/map/place

Redirects (302) to a signed Apple Maps snapshot of the street around a pin. 404 when no signing key is configured, and the page shows its pin tile instead.

Parameters​

Query Parameters

lat*
Type
number
Required
lng*
Type
number
Required
s

The tile's side in CSS pixels.

Type
integer
Minimum
32
Maximum
192
scheme
Type
string
Valid values
"light""dark"

Responses​

The snapshot.

Playground​

Server
Variables
Key
Value

Samples​


Tell me when sponsors open in my country​

POST
/sponsors/new/waitlist

For a business outside the US. The person and the country; the message goes to their own email when sponsors open there, and nothing else.

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)

Request Body​

application/json
JSON
{
"country_code": "string"
}

Responses​

OK

application/json
JSON
{
"country_code": "string",
"waiting": true
}

Playground​

Server
Authorization
Body

Samples​


What the Become a sponsor forms need​

GET
/sponsors/new

The categories with whether each may join, the Sponsor Terms version and the most unfinished drafts one person may have.

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)

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization

Samples​


My unfinished sponsors​

GET
/sponsors/drafts

Drafts and sponsors sent back for changes that the person started, newest first.

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)

Responses​

OK

application/json
JSON
{
"drafts": [
{
"additionalProperties": "string"
}
]
}

Playground​

Server
Authorization

Samples​


Is this business already on FundlyHub?​

GET
/sponsors/find

Sponsors that may already be the business: the same Apple Maps place, the same website, or a close name; with whether the person is on its team, asked to join or claimed it. Apple Maps itself is searched in the browser. Drafts and sponsors under review are never shown to others.

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​

Query Parameters

q
Type
string
apple_place_id
Type
string
website
Type
string

Responses​

OK

application/json
JSON
{
"matches": [
{
"additionalProperties": "string"
}
],
"drafts": [
{
"additionalProperties": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Ask to join a sponsor's team​

POST
/sponsors/{key}/join-requests

The owner or an admin decides. Needs a verified email.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"message": "string"
}

Responses​

OK

application/json
JSON
{
"id": "string",
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


It's my business — tell us​

POST
/sponsors/{key}/claims

An ownership question a person at FundlyHub looks into, with proof the person runs the business (a document kept privately with the claim, never one of the sponsor's own). Needs a verified email.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"note": "string",
"doc_type": "string",
"file_name": "string",
"file_base64": "string"
}

Responses​

OK

application/json
JSON
{
"id": "string",
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


The draft, as the five steps read it​

GET
/sponsors/{key}/onboarding

Its page, locations, proof, owners, first perk and terms, and what still blocks submitting.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Delete a draft​

DELETE
/sponsors/{key}/onboarding

Only a draft that never went to review; only the person who started it (or staff for one staff added).

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

Done

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Save a step​

PATCH
/sponsors/{key}/onboarding

The step the person is on; step 2's title, 25%-owners answer and statement; and any page fields (as PATCH /sponsors/{key}/manage/page). One request saves a step whole. A draft follows its name to a new address; a new legal name clears the statement.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"name": "string",
"legal_name": "string",
"entity_type": "string",
"registration_state": "string",
"registration_number": "string",
"ein": "string",
"category_id": "string",
"about": "string",
"logo_url": "string",
"contact_email": "string",
"phone": "string",
"services": [
"string"
],
"website": "string",
"links": [
{
"url": "string",
"label": "string"
}
],
"names": [
{
"id": "string",
"name": "string"
}
],
"step": 0,
"title": "string",
"owners": [
],
"authority_statement": true
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Run the automatic checks before submitting​

POST
/sponsors/{key}/onboarding/checks

The state registry (California's at launch) and the sanctions lists, run while the review step is open so it can show them. They only add evidence; submitting runs them again.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Show you run it: send a code to your work email​

POST
/sponsors/{key}/verify/email-code

The address must be at the domain of the business's own website (website saves it first). Free email domains, and a website on another company's platform, can't prove it. 15 minutes, 5 tries.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"email": "string",
"website": "string"
}

Responses​

OK

application/json
JSON
{
"sent_to": "m***@fastcatcoffee.com",
"expires_at": "string",
"domain": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Show you run it: enter the code​

POST
/sponsors/{key}/verify/email

A right code records the proof (a sponsor_checks pass).

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"email": "string",
"code": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Show you run it: upload a document​

POST
/sponsors/{key}/verify/documents

A business license, a state filing naming you, the IRS EIN letter... Kept private; a person reads it (about 2 business days). PDF, JPG, PNG or HEIC up to 7 MB, as base64; the type is read from the file.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"doc_type": "string",
"file_name": "string",
"file_base64": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Take back a document​

DELETE
/sponsors/{key}/verify/documents/{docId}

Only one nobody has read yet.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
docId*

The document.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Who owns 25% or more​

PUT
/sponsors/{key}/owners

Everyone who owns 25% or more, screened against the U.S. Treasury's sanctions list; an empty list says no one does. Four at most.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

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

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Submit for review​

POST
/sponsors/{key}/submit

The owner accepts the Sponsor Terms; the authority statement is the one confirmed on step 2, or authority_statement confirms it now. The application and the first perk go to a FundlyHub reviewer. Publishes sponsor.application_submitted.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"terms_version": "string",
"authority_statement": true
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Take the application back​

POST
/sponsors/{key}/withdraw

While it waits for review; it becomes a draft again.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


A team or owner invite​

GET
/sponsor-invites/{token}

What the invite page shows, for the caller: the sponsor, the role and locations, and whether accepting will work.

Authorizations​

or
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

token*

The invite token from the email link.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Accept an invite​

POST
/sponsor-invites/{token}/accept

One of the person's verified emails must be the invited one. An owner invite also takes the 25%-owners answer, the Sponsor Terms and the authority statement, and sends the sponsor to review. Publishes sponsor.member_joined.

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

token*

The invite token from the email link.

Type
string
Required

Request Body​

application/json
JSON
{
"owners": [
{
"full_name": "string",
"me": true
}
],
"terms_version": "string",
"authority_statement": true
}

Responses​

OK

application/json
JSON
{
"slug": "string",
"sponsor_id": "string",
"role": "string",
"joined": true
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Decline an invite​

POST
/sponsor-invites/{token}/decline

Declining an owner invite hands the sponsor back to staff as a draft.

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

token*

The invite token from the email link.

Type
string
Required

Responses​

OK

application/json
JSON
{
"declined": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


My business invites​

GET
/me/sponsor-invites

The team and owner invites waiting for the signed-in person, so they can join or decline in the app and not only from the email's link. An invite sent to their sign-in email while it is unconfirmed is listed under unconfirmed by address alone.

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)

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization

Samples​


Accept one of my business invites​

POST
/me/sponsor-invites/{inviteId}/accept

The invite page's accept, by the invite's id. A team invite takes nothing; an owner invite takes the 25%-owners answer, the Sponsor Terms and the authority statement, and sends the sponsor to review. Publishes sponsor.member_joined.

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

inviteId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"owners": [
{
"full_name": "string",
"me": true
}
],
"terms_version": "string",
"authority_statement": true
}

Responses​

OK

application/json
JSON
{
"slug": "string",
"sponsor_id": "string",
"role": "string",
"joined": true
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Decline one of my business invites​

POST
/me/sponsor-invites/{inviteId}/decline

The invite page's decline, by the invite's id. Declining an owner invite hands the sponsor back to staff as a draft.

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

inviteId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"declined": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Does the owner still have to finish joining​

GET
/sponsors/{key}/finish-joining

When a super admin accepted the owner invite for this person, the sponsor waits for the owner's own answers. Pending while the sponsor is waiting for its owner, the caller is its owner, and nobody accepted its terms.

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

key*

The sponsor's page link or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Finish joining as the owner​

POST
/sponsors/{key}/finish-joining

The rest of the owner invite, from the owner a super admin seated. Records who owns 25% or more, the Sponsor Terms and the authority statement, and sends the sponsor to review with a second reviewer. Publishes sponsor.application_submitted.

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

key*

The sponsor's page link or id.

Type
string
Required

Request Body​

application/json
JSON
{
"owners": [
{
"full_name": "string",
"me": true
}
],
"terms_version": "string",
"authority_statement": true
}

Responses​

OK

application/json
JSON
{
"slug": "string",
"sponsor_id": "string",
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Start a sponsor (a draft)​

POST
/sponsors

A draft saved as you go; the person who starts it is its owner. At most three unfinished drafts per person. ref is an ambassador code from /sponsors/join?ref=. Needs a verified email. is_sponsor: false starts a business that only lists help in Resources (/resources/join, "Add your business"; #2422): the same steps and checks (who runs it, the registry, sanctions, the 25%-owners answer, the terms) with no first perk and no sticker kits, and its home a storefront or a service-area or online location (never a private storefront). While sponsors are off and Resources are on, such a business can still be started here, finish its steps and use its workspace (#2426); a sponsor's draft, and a sponsor's perks and stickers, answer 403 until sponsors are on.

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)

Request Body​

application/json
JSON
{
"name": "string",
"category_id": "string",
"ref": "string",
"is_sponsor": true
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Body

Samples​


Sponsors · Workspace​

A sponsor's own team at work, under /sponsors/{key}/manage: the page, perks and their versions, updates, locations with hours and closures, the team, counter devices, sticker kits, online code lists and settings. What each person may do follows their role: the owner does everything; admins everything except handing over ownership and leaving FundlyHub; managers keep hours, cashiers and counter devices at their locations; cashiers use the counter. A request beyond the role answers 403; anyone not on the team gets 404. Handing over ownership, leaving FundlyHub, adding an admin and pairing a counter device are confirmed with a code emailed to the person.

Operations​

GET/sponsors/{key}/managePOST/sponsors/{key}/manage/codesGET/sponsors/{key}/manage/pagePATCH/sponsors/{key}/manage/pageGET/sponsors/{key}/manage/perksPOST/sponsors/{key}/manage/perksPUT/sponsors/{key}/manage/fine-printPOST/sponsors/{key}/manage/perks/previewGET/sponsors/{key}/manage/perks/{perkId}/historyGET/sponsors/{key}/manage/perks/optionsGET/sponsors/{key}/manage/perks/estimatePUT/sponsors/{key}/manage/perks/orderPUT/sponsors/{key}/manage/perks/{perkId}/draftDELETE/sponsors/{key}/manage/perks/{perkId}/draftPOST/sponsors/{key}/manage/perks/{perkId}/submitPOST/sponsors/{key}/manage/perks/{perkId}/withdrawPOST/sponsors/{key}/manage/perks/{perkId}/pauseDELETE/sponsors/{key}/manage/perks/{perkId}/pausePOST/sponsors/{key}/manage/perks/{perkId}/endGET/sponsors/{key}/manage/updatesPOST/sponsors/{key}/manage/updatesDELETE/sponsors/{key}/manage/updates/{postId}PATCH/sponsors/{key}/manage/updates/{postId}GET/sponsors/{key}/manage/locationsPOST/sponsors/{key}/manage/locationsPATCH/sponsors/{key}/manage/locations/{locationId}POST/sponsors/{key}/manage/locations/{locationId}/primaryPOST/sponsors/{key}/manage/locations/{locationId}/closePUT/sponsors/{key}/manage/locations/{locationId}/hoursPOST/sponsors/{key}/manage/locations/{locationId}/exceptionsDELETE/sponsors/{key}/manage/locations/{locationId}/exceptions/{exceptionId}PATCH/sponsors/{key}/manage/locations/{locationId}/exceptions/{exceptionId}GET/sponsors/{key}/manage/teamPOST/sponsors/{key}/manage/team/invitesPOST/sponsors/{key}/manage/team/invites/{inviteId}/resendDELETE/sponsors/{key}/manage/team/invites/{inviteId}DELETE/sponsors/{key}/manage/team/members/{memberId}PATCH/sponsors/{key}/manage/team/members/{memberId}POST/sponsors/{key}/manage/team/leavePOST/sponsors/{key}/manage/team/requests/{requestId}/approvePOST/sponsors/{key}/manage/team/requests/{requestId}/declinePOST/sponsors/{key}/manage/team/transferDELETE/sponsors/{key}/manage/team/transferPOST/sponsors/{key}/manage/team/transfer/acceptPOST/sponsors/{key}/manage/team/transfer/declineGET/sponsors/{key}/manage/devicesPOST/sponsors/{key}/manage/devicesPOST/sponsors/{key}/manage/devices/{deviceId}/codeDELETE/sponsors/{key}/manage/devices/{deviceId}PATCH/sponsors/{key}/manage/devices/{deviceId}GET/sponsors/{key}/manage/stickersPOST/sponsors/{key}/manage/stickers/reorderGET/sponsors/{key}/manage/settingsPATCH/sponsors/{key}/manage/settingsPOST/sponsors/{key}/manage/settings/pauseDELETE/sponsors/{key}/manage/settings/pausePATCH/sponsors/{key}/manage/settings/emailsPOST/sponsors/{key}/manage/settings/leaveDELETE/sponsors/{key}/manage/settings/leave

Overview​

GET
/sponsors/{key}/manage

What needs the team, the numbers (a manager's are their locations'), the locations, recent perks used (never who) and the person's row of the access table.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Email a code to confirm a sensitive move​

POST
/sponsors/{key}/manage/codes

Before handing over ownership, leaving FundlyHub, adding an admin or pairing a counter device, a 6-digit code goes to the person's own sign-in address (FundlyHub has no 2-step sign-in). 15 minutes, 5 tries, one use. Staff never need one.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"purpose": "string"
}

Responses​

OK

application/json
JSON
{
"sent_to": "m***@fastcatcoffee.com",
"expires_at": "string",
"purpose": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


The page​

GET
/sponsors/{key}/manage/page

Owner and admins.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit the page​

PATCH
/sponsors/{key}/manage/page

Owner and admins. The legal name and registration lock once the state's record matches; the category is set before review.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
"string"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Perks​

GET
/sponsors/{key}/manage/perks

Every perk with its draft, the change with a reviewer, a change scheduled and the last decision; and how many are live of 10.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
{
"perks": [
],
"live": 0,
"max_live": 0,
"fine_print": [
"string"
],
"website_host": "string",
"achievements": {
"additionalProperties": {
}
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add a perk (a draft)​

POST
/sponsors/{key}/manage/perks

Owner and admins.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"terms": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Fine print for every perk​

PUT
/sponsors/{key}/manage/fine-print

Owner, admins and staff. Up to five lines the sponsor sets once for all its perks; the sponsor page shows them on its Perks tab, and a perk's own fine print adds to them. Each line is plain text, up to 100 characters, with its spaces folded; a line can't name a charity, a cause or a Fundly, offer a chance to win, or mention alcohol, tobacco, vapes or cannabis (the words that send a perk's fine print to a reviewer). An empty list clears them. Logged in the audit trail.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"lines": [
"string"
]
}

Responses​

The lines now in force.

application/json
JSON
{
"lines": [
"string"
]
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


What sending a perk's terms would do​

POST
/sponsors/{key}/manage/perks/preview

Owner, admins and staff. Nothing is written. The outcome submit would reach for these terms: live (now), scheduled (a change that takes something from givers waits 14 days; smaller says why, and told how many givers hear of it today: the sponsor's followers and the perk's users in 90 days, null under 10 with fewer_than: 10), in_review (a person reads it first, with the flags; staff's perks always), or draft while the sponsor isn't live. The terms are checked as on save (422 naming the field).

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"terms": {
"additionalProperties": "string"
},
"perk_id": "string"
}

Responses​

OK

application/json
JSON
{
"outcome": "string",
"effective_at": "string",
"smaller": [
"string"
],
"flags": [
"string"
],
"told": {
"count": 0,
"fewer_than": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


A perk's history​

GET
/sponsors/{key}/manage/perks/{perkId}/history

Anyone on the team who sees perks. What happened to the perk, oldest first: created, changed (a new version started), submitted, approved (by FundlyHub after a review), live, scheduled (a change or an ending that waits), changes_requested, not_approved, withdrawn, paused (now, until when and why) and stopped. by names a team member, or is {staff: true} for FundlyHub. audience is who a change that waits is told to: the followers and the perk's users in 90 days (under 10: fewer_than: 10).

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
perkId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"items": [
{
"at": "string",
"kind": "string",
"by": {
"name": "string",
"staff": true
},
"title": "string",
"previous_title": "string",
"effective_at": "string",
"until": "string",
"reason": "string"
}
],
"audience": {
"count": 0,
"fewer_than": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


The perk builder's options​

GET
/sponsors/{key}/manage/perks/options

The achievements perks may be for, giving achievements first (the tracks in the vocabulary's order), with their tiers and thresholds, optional canonical art (AchievementArt), what a threshold counts (unit, and the noun by plural form in units, as in "10 donations") and, in the reader's language, their title, tagline and how to earn them; the open locations (a storefront with its street, each with its city), the category and the rules (10 live, 14 days, $25).

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
{
"achievements": [
{
"id": "string",
"slug": "string",
"title": "string",
"art": "string",
"additionalProperties": "string"
}
],
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


How many people could use it​

GET
/sponsors/{key}/manage/perks/estimate

People whose city is the sponsor's home city holding the tier or higher. Fewer than 10 is never a number.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Query Parameters

achievement_id*
Type
string
Required
Format
"uuid"
tier_id*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"city": {
"additionalProperties": "string"
},
"holders": 0,
"fewer_than": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Reorder the perks​

PUT
/sponsors/{key}/manage/perks/order

Perks not named keep their order after these.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"perk_ids": [
"string"
]
}

Responses​

OK

application/json
JSON
{
"perk_ids": [
"string"
]
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Start or edit a change​

PUT
/sponsors/{key}/manage/perks/{perkId}/draft

A draft of new terms for the perk.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
perkId*

The perk.

Type
string
Required

Request Body​

application/json
JSON
{
"terms": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Discard the draft​

DELETE
/sponsors/{key}/manage/perks/{perkId}/draft

A perk that was only a draft goes with it.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
perkId*

The perk.

Type
string
Required

Responses​

OK

application/json
JSON
{
"deleted_perk": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Send the change​

POST
/sponsors/{key}/manage/perks/{perkId}/submit

A person reviews a perk worth more than $25 a use, "something else", flagged wording, and anything staff wrote. Otherwise it is approved now: at once when it is at least as good in every way, in 14 days when anything got smaller (givers are told). Publishes sponsor.perk_live or sponsor.perk_change_scheduled.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
perkId*

The perk.

Type
string
Required

Responses​

OK

application/json
JSON
{
"outcome": "string",
"effective_at": "string",
"flags": [
"string"
],
"perk": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Take a change back​

POST
/sponsors/{key}/manage/perks/{perkId}/withdraw

From a reviewer (it becomes the draft again) or a change still scheduled.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
perkId*

The perk.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Pause a perk​

POST
/sponsors/{key}/manage/perks/{perkId}/pause

Starts now and ends on its own, at most 14 days out; givers see the reason. The owner, admins and staff pause any perk; a manager pauses a perk that runs in store at their own locations and nowhere else, since a pause stops it everywhere it runs.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
perkId*

The perk.

Type
string
Required

Request Body​

application/json
JSON
{
"until": "string",
"reason": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Resume a perk​

DELETE
/sponsors/{key}/manage/perks/{perkId}/pause

Back now. Whoever may pause the perk may end its pause.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
perkId*

The perk.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


End a perk​

POST
/sponsors/{key}/manage/perks/{perkId}/end

It ends in 14 days, so the givers who count on it are told first; a change in progress is dropped. Publishes sponsor.perk_change_scheduled.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
perkId*

The perk.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Updates​

GET
/sponsors/{key}/manage/updates

The page's updates, newest first, with when the next one reaches followers' bells.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Post an update​

POST
/sponsors/{key}/manage/updates

Up to 600 characters, one photo (sponsor-photos bucket) and the locations it is about. One update a week reaches followers' bells. Updates can't name a charity, a cause or a Fundly, or promote alcohol, tobacco, vapes or cannabis. Publishes sponsor.post_published.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"body": "string",
"photo_url": "string",
"location_ids": [
"string"
]
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete an update​

DELETE
/sponsors/{key}/manage/updates/{postId}

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
postId*

The update.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit an update​

PATCH
/sponsors/{key}/manage/updates/{postId}

Shows on the page at once; bells are not sent again.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
postId*

The update.

Type
string
Required

Request Body​

application/json
JSON
{
"body": "string",
"photo_url": "string",
"location_ids": [
"string"
]
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Locations​

GET
/sponsors/{key}/manage/locations

The locations the person works with (a manager's own), with their stickers and counter devices.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
{
"locations": [
{
"id": "string",
"label": "string",
"kind": "string",
"is_primary": true,
"closed_at": "string",
"dba_id": "string",
"apple_place_id": "string",
"address": {
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postal_code": "string",
"country": "string"
},
"point": {
"lat": 0,
"lng": 0
},
"city": {
"id": "string",
"name": "string",
"region": "string",
"slug": "string",
"timezone": "string"
},
"hours": [
{
"weekday": 0,
"opens_at": "06:30",
"closes_at": "18:00"
}
],
"exceptions": [
{
"id": "string",
"starts_on": "string",
"ends_on": "string",
"opens_at": "string",
"closes_at": "string",
"reason": "string"
}
],
"zips": [
{
"place_id": "string",
"code": "string"
}
],
"confirmed": {
"at": "string",
"method": "string"
},
"address_changed_at": "string",
"kit_ship_to_location_id": "string",
"pickup_only": true,
"time_zone": "string",
"now": {
"additionalProperties": "string"
},
"closure": {
"additionalProperties": "string"
},
"dba_name": "string"
}
],
"max_open": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add a location​

POST
/sponsors/{key}/manage/locations

A place customers visit (pinned on the map), "We come to customers" (ZIP codes served) or "Online only". US addresses; the first is the main one. A live sponsor's new location gets its free sticker kit.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"kind": "string",
"label": "string",
"address": {
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postal_code": "string",
"country": "string"
},
"point": {
"lat": 0,
"lng": 0
},
"apple_place_id": "string",
"dba_id": "string",
"pickup_only": true,
"is_primary": true,
"hours": [
{
"weekday": 0,
"opens_at": "06:30",
"closes_at": "18:00"
}
],
"zips": [
"string"
]
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Edit a location​

PATCH
/sponsors/{key}/manage/locations/{locationId}

Another address or Apple Maps place ends the address confirmation; a live sponsor's moved location gets a new kit and its old stickers stop.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
locationId*

The location.

Type
string
Required

Request Body​

application/json
JSON
{
"label": "string",
"kind": "string",
"address": {
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postal_code": "string",
"country": "string"
},
"point": {
"lat": 0,
"lng": 0
},
"apple_place_id": "string",
"dba_id": "string",
"zips": [
"string"
],
"kit_ship_to_location_id": "string",
"pickup_only": true
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Make it the main location​

POST
/sponsors/{key}/manage/locations/{locationId}/primary

Its city is the sponsor's home city.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
locationId*

The location.

Type
string
Required

Responses​

OK

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Close a location for good​

POST
/sponsors/{key}/manage/locations/{locationId}/close

Off the map, history kept; its stickers and counter devices stop.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
locationId*

The location.

Type
string
Required

Responses​

OK

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Weekly hours​

PUT
/sponsors/{key}/manage/locations/{locationId}/hours

The week, replaced. A manager at their own locations. Overlapping hours answer location_hours_no_overlap.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
locationId*

The location.

Type
string
Required

Request Body​

application/json
JSON
{
"hours": [
{
"weekday": 0,
"opens_at": "06:30",
"closes_at": "18:00"
}
]
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Special hours or a temporary closure​

POST
/sponsors/{key}/manage/locations/{locationId}/exceptions

A closure of a live sponsor's location tells its followers and recent givers there (sponsor.location_closure).

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
locationId*

The location.

Type
string
Required

Request Body​

application/json
JSON
{
"starts_on": "string",
"ends_on": "string",
"opens_at": "string",
"closes_at": "string",
"reason": "string",
"closed": true
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Remove special hours​

DELETE
/sponsors/{key}/manage/locations/{locationId}/exceptions/{exceptionId}

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
locationId*

The location.

Type
string
Required
exceptionId*

The special hours.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit special hours​

PATCH
/sponsors/{key}/manage/locations/{locationId}/exceptions/{exceptionId}

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
locationId*

The location.

Type
string
Required
exceptionId*

The special hours.

Type
string
Required

Request Body​

application/json
JSON
{
"starts_on": "string",
"ends_on": "string",
"opens_at": "string",
"closes_at": "string",
"reason": "string",
"closed": true
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Team​

GET
/sponsors/{key}/manage/team

The people, invites waiting, requests to join and an offer of ownership.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Invite someone​

POST
/sponsors/{key}/manage/team/invites

Owners and admins invite admins and managers; a manager invites cashiers at their own locations. An admin invite needs the emailed code (add_admin). The link lasts 30 days. Publishes sponsor.invite_sent.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"email": "string",
"role": "string",
"title": "string",
"location_ids": [
"string"
],
"code": "string"
}

Responses​

OK

application/json
JSON
{
"invite": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Resend an invite​

POST
/sponsors/{key}/manage/team/invites/{inviteId}/resend

A fresh link (the old one stops) and 30 more days; five sends at most.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
inviteId*

The invite.

Type
string
Required

Responses​

OK

application/json
JSON
{
"invite": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Cancel an invite​

DELETE
/sponsors/{key}/manage/team/invites/{inviteId}

The link stops working.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
inviteId*

The invite.

Type
string
Required

Responses​

Done

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Remove a team member​

DELETE
/sponsors/{key}/manage/team/members/{memberId}

Never the owner.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
memberId*

The team member (sponsor_members.id).

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Change a team member​

PATCH
/sponsors/{key}/manage/team/members/{memberId}

Role, locations, title, whether they show on the page. A promotion to admin needs the emailed code. The owner's role changes only by handing over ownership; anyone may change their own title.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
memberId*

The team member (sponsor_members.id).

Type
string
Required

Request Body​

application/json
JSON
{
"role": "string",
"title": "string",
"show_on_page": true,
"location_ids": [
"string"
],
"code": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Leave the team​

POST
/sponsors/{key}/manage/team/leave

Anyone on the team but the owner, who hands over first.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
{
"left": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Let someone join​

POST
/sponsors/{key}/manage/team/requests/{requestId}/approve

With the role chosen here. Publishes sponsor.member_joined.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
requestId*

The request to join.

Type
string
Required

Request Body​

application/json
JSON
{
"role": "string",
"title": "string",
"location_ids": [
"string"
],
"code": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Decline a request to join​

POST
/sponsors/{key}/manage/team/requests/{requestId}/decline

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
requestId*

The request to join.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Hand over ownership​

POST
/sponsors/{key}/manage/team/transfer

The owner offers the sponsor to one of its admins, confirmed with the emailed code; the admin has 7 days to accept. Publishes sponsor.ownership_offered.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"member_id": "string",
"code": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Cancel the offer​

DELETE
/sponsors/{key}/manage/team/transfer

The owner takes it back.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Accept ownership​

POST
/sponsors/{key}/manage/team/transfer/accept

The admin it was offered to becomes the owner; the old owner becomes an admin. Publishes sponsor.ownership_transferred.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
{
"accepted": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Decline ownership​

POST
/sponsors/{key}/manage/team/transfer/decline

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
{
"declined": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Counter devices​

GET
/sponsors/{key}/manage/devices

At the locations the person manages.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
{
"devices": [
],
"code_ttl_minutes": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add a counter device​

POST
/sponsors/{key}/manage/devices

A device for one location, with a 6-digit pairing code shown once (10 minutes) and its QR. Confirmed with the emailed code (pair_device). Publishes sponsor.sensitive_action.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"location_id": "string",
"name": "string",
"code": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


A new pairing code​

POST
/sponsors/{key}/manage/devices/{deviceId}/code

For a device that has not paired; the old code stops working.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
deviceId*

The counter device.

Type
string
Required

Request Body​

application/json
JSON
{
"code": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Remove a device​

DELETE
/sponsors/{key}/manage/devices/{deviceId}

It stops working at once; past perks used keep pointing at it.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
deviceId*

The counter device.

Type
string
Required

Responses​

OK

application/json
JSON
{
"removed": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Rename a device​

PATCH
/sponsors/{key}/manage/devices/{deviceId}

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required
deviceId*

The counter device.

Type
string
Required

Request Body​

application/json
JSON
{
"name": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Stickers and badge​

GET
/sponsors/{key}/manage/stickers

Each location's kits, stickers and address confirmation, the formats, and the web badge's embed code.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Reorder stickers​

POST
/sponsors/{key}/manage/stickers/reorder

Replace lost or damaged stickers (their codes stop working now) or send extra ones. Free; three kits a location in 30 days.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"location_id": "string",
"reason": "string",
"sticker_ids": [
"string"
],
"formats": [
"string"
],
"ship_to_location_id": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Settings​

GET
/sponsors/{key}/manage/settings

Contact details, the business details on record, pausing every perk and leaving FundlyHub.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit the contact details​

PATCH
/sponsors/{key}/manage/settings

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"contact_email": "string",
"phone": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Pause every perk​

POST
/sponsors/{key}/manage/settings/pause

Starts now and comes back on the date picked, up to 60 days out; while paused, moves the date. With from more than a minute ahead (up to 90 days), the pause is planned instead and the hourly sponsor run starts it on the day; pausing now drops a plan. Publishes sponsor.status_changed when a pause starts.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"until": "string",
"from": "string",
"message": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Turn perks back on​

DELETE
/sponsors/{key}/manage/settings/pause

Perks are back now; when they are not paused, calls off a planned pause.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


My team emails​

PATCH
/sponsors/{key}/manage/settings/emails

The viewer's own switches for the team emails (Weekly summary, A giver reports a perk, Online codes running low). Off stops the email; the bell still comes. Owner and admins.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"weekly_summary": true,
"reports": true,
"low_codes": true
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Leave FundlyHub​

POST
/sponsors/{key}/manage/settings/leave

The owner gives 14 days' notice, confirmed with the emailed code (leave) and the business's name typed out. Followers and recent givers are told today; every perk ends on the day. Publishes sponsor.status_changed.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"confirm_name": "string",
"code": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Stay on FundlyHub​

DELETE
/sponsors/{key}/manage/settings/leave

Undo leaving before the day; nothing ends.

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

key*

The sponsor's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Sponsors · Perks and the counter​


The "Use perk" screen​

GET
/perks/{perkId}/use

The perk, where it works (with each location's hours now), whether it can be used now, whether the signed-in person may use it (the tier, the 7-day hold after reaching it, once per period, "Show sponsor perks", the business's own team, a sanctioned region), their use this period and when it can be used again.

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

perkId*
Type
string
Required
Format
"uuid"

Query Parameters

near

Where the phone is (lat,lng), sent only when the person already lets the site know: the storefronts come nearest first, with their distance. Never cached.

Type
string
Example"38.574,-121.481"

Responses​

OK

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get the key for the live code​

POST
/perks/{perkId}/code

For a person who may use the perk in store now. Returns the key their phone makes the 6-digit codes with (also offline, for 24 hours). One live key per phone, three at most: a fourth replaces the oldest. 10 new codes a minute per person, with "Get a code". Never cached.

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

perkId*
Type
string
Required
Format
"uuid"

Responses​

The key

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Whether the cashier has given it​

GET
/perks/{perkId}/code/{keyId}

The code screen polls this to turn green once the perk is given with its key. The key's owner only.

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

perkId*
Type
string
Required
Format
"uuid"
keyId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Get a code (an online perk)​

POST
/perks/{perkId}/online-code

Hands the person the next one-time code from the business's list, in the same write as the use it counts as. Use it within 7 days. The team is told when it runs out, and when 10% of the list is left unless the list's low-stock alert is off. 10 new codes a minute per person.

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

perkId*
Type
string
Required
Format
"uuid"

Responses​

The code

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


A used perk's receipt​

GET
/perk-uses/{useId}

The person's own use only; anyone else gets 404. An online use shows its code while it can still be used.

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

useId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


My perk wasn't honored​

POST
/perk-uses/{useId}/report

Once per use, within 30 days. The business is told what happened (never who) and has 3 days to answer: if it confirms, or doesn't answer, the person gets the use back; if it disputes, FundlyHub decides. code_failed is for online uses.

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

useId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"kind": "string",
"note": "string"
}

Responses​

The receipt, with the report

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Not what happened? Reply​

POST
/perk-uses/{useId}/report/reply

One reply to the outcome of the person's report, once the business answered or FundlyHub decided, within 30 days. The business sees it (never who wrote it), and so do FundlyHub staff.

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

useId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"reply": "string"
}

Responses​

The receipt, with the reply

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


What a pairing code would pair​

POST
/counter/pair/preview

"This device will check codes for Fast Cat Coffee Bar, Midtown." Does not use the code up. Codes are made in the workspace and work for 10 minutes. Ten tries per address per 10 minutes.

Request Body​

application/json
JSON
{
"code": "048213"
}

Responses​

OK

application/json
JSON
{
"data": "string"
}

Playground​

Server
Body

Samples​


Pair this device​

POST
/counter/pair

Uses the pairing code up and returns the device's session token, shown once. The device sends it on every counter request as Authorization: Counter <token>. A device signs out when the team removes it, its location closes, or after 30 days without use.

Request Body​

application/json
JSON
{
"code": "string"
}

Responses​

Paired

application/json
JSON
{
"data": {
"device": {
"id": "string",
"name": "string"
},
"sponsor": {
"id": "string",
"slug": "string",
"name": "string",
"logoUrl": "string"
},
"location": {
"id": "string",
"label": "string",
"city": "string"
},
"token": "string"
}
}

Playground​

Server
Body

Samples​


Who is at the counter​

GET
/counter/session

With Authorization: Counter <token>, the paired device, its sponsor and location. Otherwise the signed-in person's sponsors and the locations they may use the counter at (owners and admins everywhere, managers and cashiers at theirs), each with whether it is open now.

Authorizations​

or
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)

Responses​

OK

application/json
JSON
{
"data": "string"
}

Playground​

Server

Samples​


Check a code​

POST
/counter/check

A scanned QR (qr) or six typed digits (code), at this device's location, or at the location a signed-in team member picked (header X-Counter-Location). Answers with the perk and the tier, never the person. Five wrong codes in a row wait a minute; 30 checks a minute per device (or member and location), then 429 rate_limited with retryAfterSeconds.

Authorizations​

or
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​

Header Parameters

X-Counter-Location

A signed-in team member's location for this shift. Not sent by a paired device.

Type
string
Format
"uuid"

Request Body​

application/json
JSON
{
"qr": "FHP1:5b0e8d4c-2f1a-4c39-9d77-0a1b2c3d4e5f:59012345:048213",
"code": "string"
}

Responses​

The answer

application/json
JSON
{
"data": "string"
}

Playground​

Server
Headers
Body

Samples​


Give the perk​

POST
/counter/give

The code checked as valid, sent back with its key and step: it is checked again, and the use is recorded by the database, which applies the perk's rule once more. Can be undone for 15 minutes. Give tapped again for a code already given here answers 200 with the same use (again: true).

Authorizations​

or
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​

Header Parameters

X-Counter-Location
Type
string
Format
"uuid"

Request Body​

application/json
JSON
{
"keyId": "string",
"step": 0,
"code": "string"
}

Responses​

Already given with this code (a second tap)

application/json
JSON
{
"data": "string"
}

Playground​

Server
Headers
Body

Samples​


Undo a perk given here​

POST
/counter/uses/{useId}/undo

Within 15 minutes, at the location it was given at. The person gets the use back. Not while a giver's report on the use waits for an answer: the report decides. The audit row names who undid it (the device, or the team member).

Authorizations​

or
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​

Header Parameters

X-Counter-Location
Type
string
Format
"uuid"

Path Parameters

useId*
Type
string
Required
Format
"uuid"

Responses​

Undone

application/json
JSON
{
"data": {
"useId": "string",
"undoneAt": "string"
}
}

Playground​

Server
Headers
Variables
Key
Value

Samples​


Today at this counter​

GET
/counter/today

Today's perks at this location, in its own time zone, and who checked each one: the newest 200 listed, and the count of those that count over the whole day.

Authorizations​

or
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​

Header Parameters

X-Counter-Location
Type
string
Format
"uuid"

Responses​

OK

application/json
JSON
{
"data": "string"
}

Playground​

Server
Headers

Samples​


Something's wrong? Report it​

POST
/counter/problem

The cashier's note to FundlyHub about an answer the counter gave: it records the answer, the location, the time and the perk it was about, never the giver. FundlyHub staff see it in the reports queue.

Authorizations​

or
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​

Header Parameters

X-Counter-Location
Type
string
Format
"uuid"

Request Body​

application/json
JSON
{
"answer": "string",
"note": "string",
"perkId": "string"
}

Responses​

Sent

application/json
JSON
{
"data": {
"reportId": "string"
}
}

Playground​

Server
Headers
Body

Samples​


Perks used​

GET
/sponsors/{key}/manage/uses

The four totals (today, this week, this month, all time: uses that count and the people who used them: "givers thanked" from 5 up all time, "fewer than 10" under 10 otherwise) and the uses themselves, newest first, in the sponsor's home time zone. Never who. Managers see their locations. Cashiers see today at theirs, with today's total alone and no draft perks in the filter. Online uses belong to no location, so only those who see every location see them.

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

key*

The sponsor's slug, an old slug, or its id.

Type
string
Required

Query Parameters

range

recent is today and yesterday; yesterday is yesterday alone, in the home city. A cashier always gets today.

Type
string
Valid values
"recent""today""yesterday""week""month""all""custom"
Default
"recent"
from

With range=custom.

Type
string
Format
"date"
to

With range=custom.

Type
string
Format
"date"
location

A location id

Type
string
perk
Type
string
Format
"uuid"
channel
Type
string
Valid values
"all""counter""online"
Default
"all"
before

The next cursor of the previous page.

Type
string
limit
Type
integer
Default
50
Maximum
100

Responses​

OK

application/json
JSON
{
"data": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Download perks used as CSV​

GET
/sponsors/{key}/manage/uses/export

The same filters as the list, at most 10,000 rows. Columns time, perk, location, tier, checked_by, status.

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

key*
Type
string
Required

Query Parameters

range

recent is today and yesterday; yesterday is yesterday alone, in the home city.

Type
string
Valid values
"recent""today""yesterday""week""month""all""custom"
from
Type
string
Format
"date"
to
Type
string
Format
"date"
location
Type
string
perk
Type
string
Format
"uuid"
channel
Type
string
Valid values
"all""counter""online"

Responses​

CSV

text/csv
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Give a use back​

POST
/sponsors/{key}/manage/uses/{useId}/void

For a perk the business didn't honor: the person gets the use back. The owner and admins. Not while a report about it waits for an answer; answer the report instead. The reason is kept with the use (Perks used shows it under "Undone") and in the audit row.

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

key*
Type
string
Required
useId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"reason": "string"
}

Responses​

Voided

application/json
JSON
{
"data": {
"useId": "string",
"voidedAt": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Reports about perks used​

GET
/sponsors/{key}/manage/reports

Newest first, scoped like perks used, with how many came in the last 90 days. What happened, never who said so. Owners, admins and staff see every report, and managers see their locations'. Cashiers get 403: they see today's uses alone.

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

key*
Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"reports": [
],
"last90Days": 0
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Answer a report​

POST
/sponsors/{key}/manage/reports/{reportId}/answer

Within 3 days. confirm gives the person the use back at once; dispute, with what happened, goes to FundlyHub, who decide. A report not answered in 3 days is decided for the person. The owner and admins.

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

key*
Type
string
Required
reportId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"decision": "string",
"answer": "string"
}

Responses​

Answered

application/json
JSON
{
"data": {
"reportId": "string",
"status": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Online code lists​

GET
/sponsors/{key}/manage/online-codes

Every online perk with its list of one-time codes, how many are left, and the uploads. The owner and admins.

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

key*
Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"perks": [
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Upload one-time codes​

POST
/sponsors/{key}/manage/online-codes

A CSV's text, one code per line in the first column (a code header is skipped), at most 50,000. A code already on the perk's list or in the file, in any case, is refused, with its line; codes are stored encrypted. An upload that takes the perk from no codes left to some tells the givers watching it ("Tell me when it's back"). The owner and admins.

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

key*
Type
string
Required

Request Body​

application/json
JSON
{
"perkId": "string",
"csv": "string",
"filename": "string"
}

Responses​

Uploaded

application/json
JSON
{
"data": {
"batchId": "string",
"added": 0,
"duplicates": 0,
"duplicateLines": [
0
],
"invalid": [
"string"
]
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Remove an upload's unused codes​

DELETE
/sponsors/{key}/manage/online-codes/batches/{batchId}

Codes already handed out stay, with their upload, as the record of their uses. The owner and admins.

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

key*
Type
string
Required
batchId*
Type
string
Required
Format
"uuid"

Responses​

Removed

application/json
JSON
{
"data": {
"removed": 0,
"batchKept": true
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


A code list's low-stock alert​

PUT
/sponsors/{key}/manage/online-codes/{perkId}/alert

Whether the owner and admins are emailed when 10% of this list is left. Running out is always told. The owner and admins.

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

key*
Type
string
Required
perkId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"lowStock": true
}

Responses​

Saved

application/json
JSON
{
"data": {
"perkId": "string",
"lowStockAlert": true
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


The connections I asked about​

GET
/sponsors/{key}/manage/connect

Which connections that come later (an online shop, point of sale, loyalty, the developer API) the signed-in person asked to hear about for this business. The owner and admins.

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

key*
Type
string
Required

Responses​

OK

application/json
JSON
{
"data": {
"asked": [
"string"
]
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Tell me when it's ready​

POST
/sponsors/{key}/manage/connect

Kept per business, connection and person. Asking twice is the same ask.

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

key*
Type
string
Required

Request Body​

application/json
JSON
{
"kind": "string"
}

Responses​

Asked

application/json
JSON
{
"data": {
"asked": [
"string"
]
}
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Non-profits​

Non-profit organizations on FundlyHub: the directory, a non-profit's page and its tabs (Fundlies, team, activity, impact, public documents), following, link clicks and reports, joining the team by request or invite, giving to its general fund (the giving policy, a quote and checkout), the non-profits a signed-in person may start a Fundly for, and the add flow: an EIN lookup, a draft, proof of authority to act for the organization, and submission for review. A page's {slug} takes its current slug, an old one or its id; the add flow's paths take the id. A draft is visible only to its owner, and a page under review, rejected or suspended only to its team and staff; anyone else gets 404. These endpoints' own refusals come as { "error": { "code", "message", "details" } }, where code is the reason to branch on.


List the signed-in user's nonprofit beneficiary choices​

GET
/me/nonprofit-beneficiaries

Uses live organization team roles and nonprofit verification status. Read-only members are listed with can_start false; unrelated organizations are never returned. Campaign creation and owner editing revalidate eligibility, including impersonated owners. Existing nonprofit selections are preserved on unrelated edits; recipient changes are locked once payment activity begins.

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)

Responses​

Nonprofit choices and server-owned eligibility

application/json
JSON
{
"data": [
{
"id": "string",
"name": "string",
"slug": "string",
"logo": "string",
"role": "string",
"can_start": true,
"reason": "string"
}
]
}

Playground​

Server
Authorization

Samples​


The signed-in person's waiting team invites​

GET
/me/nonprofit-invites

The team invites waiting for the signed-in person, so they can join or decline in the app and not only from the email's link: not accepted, declined, revoked or expired, sent to one of their VERIFIED emails (the rule accepting follows), and not to a team they are already on. Newest first, 50 at most. An account that already has the invited address verified also gets a bell when it is invited.

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)

Responses​

OK

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

Playground​

Server
Authorization

Samples​


Join a team from the app​

POST
/me/nonprofit-invites/{id}/accept

The same as accepting from the email's link (POST /nonprofits/invite/{token}/accept): the invite's role and title, On page as chosen, org.invite_accepted and the inviter's email. By id, an invite that is not addressed to one of the caller's verified emails answers 404, never a hint of the address.

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 invite id from GET /me/nonprofit-invites.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"show_on_page": true
}

Responses​

OK

application/json
JSON
{
"slug": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Decline a team invite from the app​

POST
/me/nonprofit-invites/{id}/decline

The same as declining from the email's link: the invite stops waiting, so the team can invite the address again. Declining twice answers the same. 404 when the invite is not addressed to one of the caller's verified emails.

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 invite id from GET /me/nonprofit-invites.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"slug": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


The non-profit directory​

GET
/nonprofits

Verified pages only (paused ones after them); never drafts, never pages under review. Facets count causes and cities over the other filter. Each card is built for the caller (viewer: their role and Follow state).

Authorizations​

or
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​

Query Parameters

kind

Nonprofits excludes churches; church lists churches; all includes both. Applied before pagination and facets.

Type
string
Valid values
"nonprofit""church""all"
Default
"nonprofit"
q

Name, mission or a 9-digit EIN (2+ characters).

Type
string
city

A city (place) slug.

Type
string
cause

A cause key.

Type
string
Valid values
"animals""arts_culture""children_youth""community_development""disaster_relief""education""environment""food_security""health""housing_homelessness""human_rights""immigrant_refugee""mental_health""seniors""veterans""women_girls""religious""other"
offers_help

Just the ones with help in Find help (#2423). Ignored while Resources are switched off.

Type
string
Valid values
"true""1"
sort

Order.

Type
string
Valid values
"impact""newest""name"
Default
"impact"
limit

Page size.

Type
integer
Default
24
Maximum
48
offset

Offset.

Type
integer
Default
0

Responses​

OK

application/json
JSON
{
"data": [
],
"pagination": {
"total": 0,
"limit": 0,
"offset": 0
},
"facets": {
"causes": [
{
"key": "string",
"count": 0
}
],
"cities": [
{
"slug": "string",
"name": "string",
"count": 0
}
]
}
}

Playground​

Server
Variables
Key
Value

Samples​


Create a non-profit draft from an EIN​

POST
/nonprofits

Add flow (requireVerifiedEmail; shares the EIN lookup's 20 per hour per person). Allowed for lookup outcomes verified and manual_review (and revoked with route: reinstatement). Creates the org (kind nonprofit, verification pending) with the caller as owner; one unfinished draft per person per EIN (the existing one is returned), and at most 5 unfinished drafts per person (MAX_OPEN_DRAFTS; 409 too_many_drafts). Someone else's draft that nobody has saved for 30 days no longer holds the EIN: it is released (soft-deleted, its address freed) and this draft is created.

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)

Request Body​

application/json
JSON
{
"ein": "12-3456789",
"route": "string"
}

Responses​

The caller already has an unfinished draft for this EIN; it is returned as it is and nothing is created.

application/json
JSON
{
"id": "string",
"slug": "string",
"status": "string",
"step": 0
}

Playground​

Server
Authorization
Body

Samples​


Look an EIN up​

POST
/nonprofits/lookup

Add flow step 1 (requireVerifiedEmail; 20 per hour per person). The six outcomes, first match wins: existing, revoked, verified, manual_review (church, group, private_foundation), not_eligible, not_found. Every outcome is a 200: existing means a submitted page already has this EIN, and carries that page's card in existing with the caller's own standing on its team (existing.viewer).

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)

Request Body​

application/json
JSON
{
"ein": "12-3456789"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Body

Samples​


My unfinished non-profit drafts​

GET
/nonprofits/drafts/mine

The caller's unfinished non-profit drafts, the add flow's resume list, most recently saved first: each draft's id, slug, display name, EIN (as 12-3456789), the add-flow step it is on, and when it was last saved. Only drafts the caller owns and has not yet submitted are listed. Needs a signed-in session with a verified email address (403 with code: EMAIL_NOT_VERIFIED otherwise).

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)

Responses​

OK

application/json
JSON
{
"data": [
{
"id": "string",
"slug": "string",
"display_name": "string",
"ein": "string",
"step": 0,
"updated_at": "string"
}
]
}

Playground​

Server
Authorization

Samples​


Notify me when an EIN appears​

POST
/nonprofits/notify-me

EIN lookup outcome 6: the monthly IRS load emails the person when the EIN becomes an eligible 501(c)(3).

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)

Request Body​

application/json
JSON
{
"ein": "string"
}

Responses​

Done

Playground​

Server
Authorization
Body

Samples​


Report a wrong claim on an EIN​

POST
/nonprofits/claims/report

Writes an org_reports row (category impersonation) on the page that has the EIN, an unfinished draft included (the one a 409 ein_taken names).

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)

Request Body​

application/json
JSON
{
"ein": "string",
"details": "string"
}

Responses​

Reported. One report per person per page; reporting the same page again replaces the earlier report and keeps its id.

application/json
JSON
{
"id": "string"
}

Playground​

Server
Authorization
Body

Samples​


Read a team invite​

GET
/nonprofits/invite/{token}

Public, built for the caller. What the invite page shows: the invited address as a hint, and in full only to a caller one of whose verified emails it is; whether accepting will work and whether the caller is already on the team.

Authorizations​

or
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

token*

The invite token from the email.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Accept a team invite​

POST
/nonprofits/invite/{token}/accept

Joins with the invite's role and title; On page as chosen, else on for owner/admin/fundraiser/viewer and off for member. One of the person's VERIFIED emails must equal the invited address. Publishes org.invite_accepted and emails the inviter.

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

token*

The invite token from the email.

Type
string
Required

Request Body​

application/json
JSON
{
"show_on_page": true
}

Responses​

OK

application/json
JSON
{
"slug": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Decline a team invite​

POST
/nonprofits/invite/{token}/decline

The invited person says no. One of the person's VERIFIED emails must equal the invited address. The invite stops waiting, so the team can invite the address again. Declining twice answers the same.

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

token*

The invite token from the email.

Type
string
Required

Responses​

OK

application/json
JSON
{
"slug": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


A non-profit page​

GET
/nonprofits/{slug}

404 for a draft unless the viewer is its owner or staff; a page under review (or rejected, suspended) only for its team and staff. An old slug answers with the current one in slug.

Authorizations​

or
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

slug*

The non-profit's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Delete my non-profit draft​

DELETE
/nonprofits/{slug}

The owner deletes their own unfinished draft: it disappears and its address (slug) is freed. This operation takes the draft's id in the {slug} segment, not a slug. Only the draft's owner may call it, with a verified email address; anyone else, an unknown id and a deleted draft get 404. A non-profit that was already submitted answers 409 already_submitted.

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

slug*

The draft's id (a uuid), not its slug. The segment is named slug because this delete shares its path with the page read, GET /nonprofits/{slug}.

Type
string
Required
Format
"uuid"

Responses​

Done

Playground​

Server
Authorization
Variables
Key
Value

Samples​


A draft's add-flow state​

GET
/nonprofits/{id}/onboarding

The add flow's state for a non-profit the caller owns, a draft or a page already submitted: the page as GET /nonprofits/{slug} shows it to its owner, plus the current step, the IRS record, how authority to act for the organization was claimed and where that stands, the address, the receipt settings, the Stripe summary, the documents, the latest checks and the attestation sentence to accept (attestation_text, attestation_version). Only the owner may read it, with a verified email address; anyone else, an unknown id and a deleted page get 404.

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 non-profit's id.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Save add-flow fields​

PATCH
/nonprofits/{id}/onboarding

Any of {step, title, attestation, attestation_text} and the page settings fields (validated as Settings), links replaced as a list. With attestation true, attestation_text is required (422 required without it) and must be the sentence that was shown (the GET's attestation_text); a sentence that has changed since is refused (409 attestation_changed). The server stores its own sentence with attestation_version and the time. Changing the website to another registrable domain resets a work-email authority claim (authority method and status back to null; the address is kept for the next code) unless the address is at a staff-verified domain.

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 non-profit's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"display_name": "string",
"logo": "string",
"banner_image": "string",
"place": {
"place_id": "string"
},
"cause": "string",
"mission": "string",
"website": "string",
"contact_email": "string",
"contact_email_public": true,
"address": "string",
"founded_year": 0,
"receipt_signer_name": "string",
"receipt_signer_title": "string",
"receipt_thank_you": "string",
"year_end_summary": true,
"general_fund_enabled": true,
"general_fund_visibility": "string",
"monthly_gifts_enabled": true,
"links": [
],
"step": 0,
"title": "string",
"attestation": true,
"attestation_text": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Send a work-email code​

POST
/nonprofits/{id}/authority/email

The domain must be the org website's (or a subdomain), never a free mail domain.

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 non-profit's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"email": "string",
"website": "string"
}

Responses​

OK

application/json
JSON
{
"sent_to": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Verify the work-email code​

POST
/nonprofits/{id}/authority/email/verify

Six digits, 15 minutes, 5 attempts. The right code proves the inbox. Authority is verified only when the address is at a domain staff verified for this organization; at the website the owner entered it is pending until staff decide. The confirmed address is a new claim: a staff decision on an earlier one does not carry over. domain_mismatch when the website has moved to another domain since the code was sent. Once authority is verified (staff may have decided after the code was sent) the code is refused with already_verified and stays unused.

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 non-profit's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"code": "string"
}

Responses​

OK

application/json
JSON
{
"authority": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Claim authority by the latest Form 990​

POST
/nonprofits/{id}/authority/form990

Claims authority to act for the organization as one of the officers listed on its latest Form 990: name_on_990 (your name as the 990 gives it) and your title, each required and at most 120 characters. The claim is saved as pending (authority.method: form990, status: pending) for staff, who check the name against the 990. Only the draft's owner may call it (404 for anyone else), with a verified email address. A page already submitted answers 409 already_submitted, authority that is already confirmed 409 already_verified, and a missing or overlong field 422 invalid.

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 non-profit's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"name_on_990": "string",
"title": "string"
}

Responses​

OK

application/json
JSON
{
"authority": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Claim authority by an officer letter​

POST
/nonprofits/{id}/authority/letter

The letter is uploaded first through POST /org-admin/{slug}/documents with doc_type officer_letter.

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 non-profit's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"document_id": "string"
}

Responses​

OK

application/json
JSON
{
"authority": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Submit a volunteer affiliation claim for staff review​

POST
/nonprofits/{id}/authority/volunteer

Only the verified-email owner of a draft may submit. The claim stays pending until staff verify it; it never enables donations by itself.

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 non-profit's id.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"authority": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Submit a draft for review​

POST
/nonprofits/{id}/submit

Records the terms, runs every check and publishes organization.created (kind nonprofit). The page becomes under_review.

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 non-profit's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"terms_accepted": true
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Read current general-fund giving policy​

GET
/nonprofits/{slug}/giving-policy

Returns server-owned presets, limits, currency and current one-time/monthly availability. Reads current nonprofit standing and both money switches. No account IDs, donor contacts or private legal address are returned. tip_offered says whether a gift to this organization may carry a tip to FundlyHub right now (the church and non-profit tip switch, the same answer as tips.nonprofit_gift in GET /payments/checkout-config). payment_options says which ways to pay the gift checkout will accept for this organization, decided the way the payment itself decides, so the checkout offers nothing that would be refused.

Authorizations​

or
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

slug*
Type
string
Required

Responses​

Current policy; can_give false means checkout is unavailable.

application/json
JSON
{
"data": {
"org_id": "string",
"slug": "string",
"currency": "string",
"can_give": true,
"monthly_enabled": true,
"unavailable_reason": "string",
"tip_offered": true,
"payment_options": {
"us_bank_account": true,
"us_bank_account_unavailable_reason": "string"
},
"limits": {
"gift_min_cents": 0,
"gift_max_cents": 0,
"note_max": 0,
"purpose_max": 0,
"donor_name_max": 0,
"preset_cents": [
0
],
"default_cents": 0
}
}
}

Playground​

Server
Variables
Key
Value

Samples​


Quote a general-fund gift without reserving or charging it​

POST
/nonprofits/{slug}/gift-quote

Prices a gift to the non-profit's general fund the way checkout prices it, without reserving or charging anything: amount_cents (within the gift_min_cents and gift_max_cents of GET /nonprofits/{slug}/giving-policy), optional tip_cents (a tip to FundlyHub, taken only while the policy's tip_offered is true; otherwise send 0), cover_fee to add the processing fee on top, and frequency (once, the default, or monthly). No sign-in needed; POST /nonprofits/{slug}/gifts computes the quote again when the gift is made. A page the caller cannot see answers 404, a fund that is not taking gifts (or monthly while monthly gifts are off) 409, a non-zero tip_cents while tips are off 409 tip_not_offered, and a bad amount or an unknown field 422. A tip is paid by the donor on top of the gift and goes to FundlyHub; the organization receives the same amount with or without it. With cover_fee the covered fee also covers the tip's share of the processing fee.

Authorizations​

or
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

slug*
Type
string
Required

Request Body​

application/json
JSON
{
"amount_cents": 0,
"tip_cents": 0,
"cover_fee": true,
"frequency": "string"
}

Responses​

Exact current quote; final checkout repeats eligibility and quote calculations.

application/json
JSON
{
"data": {
"donation_cents": 0,
"covered_fee_cents": 0,
"tip_cents": 0,
"total_cents": 0,
"processing_fee_cents": 0,
"nonprofit_net_cents": 0,
"receipt_amount_cents": 0,
"application_fee_cents": 0,
"application_fee_percent": 0,
"frequency": "string",
"currency": "string",
"tip_offered": true
}
}

Playground​

Server
Variables
Key
Value
Body

Samples​


Reserve a nonprofit general-fund gift and prepare payment​

POST
/nonprofits/{slug}/gifts

Guest and authenticated checkout. Requires private receipt contacts even when giving anonymously. Reserves immutable recipient and quote before Stripe; no personal-account fallback. The response does not itself charge a card. The donor confirms its PaymentIntent through Stripe Elements. Monthly gifts require explicit consent and use Billing after the first capture. Treat receipt and payment identifiers as private capabilities.

Tip. tip_cents above 0 is taken only while the giving policy's tip_offered is true; otherwise the request answers 409 tip_not_offered and nothing is reserved or charged. A repeat of a checkout that was reserved while tips were on is still that checkout. The tip is collected with the gift as FundlyHub's fee on the charge, so it never reaches the organization's account and a refund returns it with the gift. Turning tips off does not change a monthly gift that already carries one.

Sheet mode (the request also carries confirmation_token_id or payment_method_id, as on POST /payments/create-intent): a guest paying with Apple Pay, Google Pay or Link may omit donor_name and donor_email; the wallet's are used, and what is sent always wins. A wallet that carries no email leaves a one-time gift with none (no receipt is emailed until the donor asks for one), and a monthly gift is refused until an email is sent. Every other gift sends both. A US bank account is accepted only while the policy's payment_options.us_bank_account is true (409 bank_unavailable otherwise).

Authorizations​

or
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

slug*
Type
string
Required

Request Body​

application/json
JSON
"string"

Responses​

Reserved payment and frozen final quote; no card charge until donor confirmation.

application/json
JSON
{
"data": {
"client_secret": "string",
"payment_intent_id": "string",
"amount_cents": 0,
"stripe_fee_cents": 0,
"net_amount_cents": 0,
"receipt_id": "string",
"frequency": "string",
"quote": "string"
}
}

Playground​

Server
Variables
Key
Value
Body

Samples​


A non-profit's Fundlies​

GET
/nonprofits/{slug}/fundlies

Only its own Fundlies (beneficiary_type nonprofit, this org), publicly listed; never a team member's personal Fundly. Rows are the communities Fundlies tab rows plus goal_reached_at (the Impact tab's rows). Active = live and not fully funded.

Authorizations​

or
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

slug*

The non-profit's slug (an old slug resolves too) or id.

Type
string
Required

Query Parameters

status

Tab.

Type
string
Valid values
"active""completed""all"
Default
"active"
sort

The communities Fundlies tab's sorts; omitted keeps each tab's own order (Active: live first, newest; Completed: most recently ended).

Type
string
Valid values
"newest""most_raised""ending"
limit

Page size.

Type
integer
Default
12
Maximum
48
offset

Offset.

Type
integer

Responses​

OK

application/json
JSON
{
"data": [
{
"id": "string",
"slug": "string",
"title": "string",
"organizer_name": "string",
"raised_cents": 0,
"goal_cents": 0,
"percent": 0,
"remaining_cents": 0,
"fundraising": {
"additionalProperties": "string"
},
"goal_reached_at": "string",
"additionalProperties": "string"
}
],
"counts": {
"active": 0,
"completed": 0
},
"pagination": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


A non-profit's Members tab​

GET
/nonprofits/{slug}/team

On page members only, grouped by their title's category (governance/executive: leadership; programs/fundraising/operations: staff; community: volunteers), else by role. The followers it names are chosen for the caller.

Authorizations​

or
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

slug*

The non-profit's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
{
"groups": {
"leadership": [
],
"staff": [
],
"volunteers": [
]
},
"hidden_count": 0,
"followers": 0,
"followers_preview": [
],
"followers_others": 0
}

Playground​

Server
Variables
Key
Value

Samples​


A non-profit's activity​

GET
/nonprofits/{slug}/activity

Updates, Fundlies launched, 25/50/75% and goals reached, newest first.

Authorizations​

or
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

slug*

The non-profit's slug (an old slug resolves too) or id.

Type
string
Required

Query Parameters

limit

How many.

Type
integer
Default
10
Maximum
50

Responses​

OK

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

Playground​

Server
Variables
Key
Value

Samples​


A non-profit's impact​

GET
/nonprofits/{slug}/impact

Historical Raised and distinct donors across its own public counted Fundlies and completed direct general-fund/monthly gifts, with separate Fundly/direct subtotals. Tips are excluded and processing fees deducted. Completed own-fund grants do not count the same money twice. Raw Fundly cards retain their progress; optional impact_raised_cents gives their adjusted contribution. The City block retains its separate existing campaign attribution rules.

Authorizations​

or
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

slug*

The non-profit's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
{
"raised_cents": 0,
"fundly_raised_cents": 0,
"general_fund_raised_cents": 0,
"fundlies": 0,
"donors": 0,
"since": "string",
"breakdown": [
{
"id": "string",
"slug": "string",
"title": "string",
"organizer_name": "string",
"raised_cents": 0,
"goal_cents": 0,
"percent": 0,
"remaining_cents": 0,
"fundraising": {
"additionalProperties": "string"
},
"goal_reached_at": "string",
"impact_raised_cents": 0,
"additionalProperties": "string"
}
],
"city": {
"slug": "string",
"name": "string",
"region": "string",
"label": "string",
"photo_url": "string",
"fundlies": 0,
"donors": 0,
"has_page": true,
"place": "string",
"city_impact_cents": 0,
"communities": 0,
"nonprofits": 0
}
}

Playground​

Server
Variables
Key
Value

Samples​


Open a non-profit's public document​

GET
/nonprofits/{slug}/documents/{docId}

A document staff approved and the team shows on About (the determination letter); never a W-9 or bank document. PDFs and images open inline (nosniff); anything else downloads. 404 for anything else, or for a page the caller may not see.

Authorizations​

or
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

slug*

The non-profit's slug (an old slug resolves too) or id.

Type
string
Required
docId*

The document id (tax.determination_letter.id).

Type
string
Required
Format
"uuid"

Responses​

The file

Playground​

Server
Variables
Key
Value

Samples​


Follow a non-profit​

POST
/nonprofits/{slug}/follow

Follows the non-profit's page and answers following: true with its follower count; following it again changes nothing. Any signed-in caller may follow a page they can see, by the same rule as GET /nonprofits/{slug}; any other page, an unknown slug and a deleted page answer 404. The follow is stored like any organization follow (following_type: organization).

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

slug*

The non-profit's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
{
"following": true,
"followers": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Unfollow a non-profit​

DELETE
/nonprofits/{slug}/follow

Stops following the non-profit and answers following: false with its follower count. It is idempotent: not following already is fine. Any signed-in caller; unlike following, it works on any page the slug names, even one the caller can no longer see, and only an unknown slug or a deleted page answers 404.

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

slug*

The non-profit's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

OK

application/json
JSON
{
"following": true,
"followers": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Count a link click​

POST
/nonprofits/{slug}/links/{linkId}/click

A beacon: one counter per link per UTC day, no user ids. Always 204.

Path Parameters

slug*

The non-profit's slug (an old slug resolves too) or id.

Type
string
Required
linkId*

The link id.

Type
string
Required
Format
"uuid"

Done

Server
Variables
Key
Value

Report a non-profit​

POST
/nonprofits/{slug}/report

requireVerifiedEmail. The org_reports flow (one report per person per org).

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

slug*

The non-profit's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"category": "string",
"details": "string"
}

Responses​

OK

application/json
JSON
{
"success": true
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Ask to join the team​

POST
/nonprofits/{slug}/join-requests

requireVerifiedEmail. Publishes nonprofit.join_requested and emails the owner and admins.

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

slug*

The non-profit's slug (an old slug resolves too) or id.

Type
string
Required

Request Body​

application/json
JSON
{
"note": "string"
}

Responses​

OK

application/json
JSON
{
"id": "string",
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Withdraw my join request​

DELETE
/nonprofits/{slug}/join-requests/mine

Withdraws the caller's pending request to join the non-profit's team. It is idempotent: with no pending request nothing changes, and the answer is the same 204. Any signed-in caller; it works on any page the slug names, and only an unknown slug or a deleted page answers 404.

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

slug*

The non-profit's slug (an old slug resolves too) or id.

Type
string
Required

Responses​

Done

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Non-profits · Team settings​

A non-profit's own team at work, under /org-admin/{slug}: what needs attention, the page's settings, links and programs, the team with its invites, join requests and ownership transfer, and the verification and tax status with an on-demand re-check. Every operation needs a signed-in session and an org-scoped permission on that organization, as under Organization Admin: org.read for the read-only views, org.update_settings for the page's settings, links and programs, and nonprofit.team.manage (the owner and admins) for the team. Only the owner transfers ownership, and only to an admin. An organization that is not a non-profit answers 404.


Needs your attention​

GET
/org-admin/{slug}/nonprofit/attention

org.read, built for the caller. Counts from the same reads as the surfaces they point at (0 included): join_requests and invites_waiting (the team view's lists; an expired invite waits to be resent), stripe_requirements, registry_renewal (within 30 days, with due), check_failed (the verification view's latest checks), authority_pending. fundly_approvals joins in phase 2. Plus the month-so-far card over the org's counted gifts since the 1st, the gifts the Overview and Analytics count: to its counted Fundlies, plus the general-fund and monthly gifts made to it directly (label is the ISO month, e.g. 2026-10).

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required

Responses​

OK

application/json
JSON
{
"items": [
{
"kind": "string",
"count": 0,
"href": "string",
"due": "string",
"sent_at": "string",
"emails": [
"string"
]
}
],
"month": {
"label": "string",
"raised_cents": 0,
"gifts": 0,
"donors": 0,
"payouts_href": "string",
"donations_href": "string"
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Read editable nonprofit settings​

GET
/org-admin/{slug}/nonprofit

Requires org.update_settings. Returns the scoped nonprofit's editable page fields, private contact and mailing address, receipt preferences, and general fund preferences.

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit the page​

PATCH
/org-admin/{slug}/nonprofit

org.update_settings. The page fields; legal_name and ein are refused (422 locked). A city change applies to Fundlies launched afterwards. On an unsubmitted draft, changing the website to another registrable domain resets a work-email authority claim, as PATCH /nonprofits/{id}/onboarding does (not after submit, where staff decide the claim). The team's only way to change a non-profit's website (PATCH /org-admin/{slug}/settings refuses it, 422 use_nonprofit_settings). Audited as organization.nonprofit_settings_updated; no event.

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required

Request Body​

application/json
JSON
"string"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


The page's links, for editing​

GET
/org-admin/{slug}/links

org.update_settings. Flagged rows and 30-day clicks included.

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)

Path Parameters

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required

OK

application/json
JSON
{
"data": [
],
"max": 8
}
Server
Authorization
Variables
Key
Value

Replace the page's links​

PUT
/org-admin/{slug}/links

org.update_settings. The ordered list replaces the live one (a row with its id keeps it and its clicks). Normalized, deduped, at most 8, Web Risk on save; a staff-removed URL cannot come back. Mirrors the six fixed keys of social_links. Audited as organization.links_updated; no event.

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)

Path Parameters

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required
application/json
JSON
{
"links": [
]
}

OK

application/json
JSON
{
"data": [
],
"max": 0
}
Server
Authorization
Variables
Key
Value
Body

The page's programs​

GET
/org-admin/{slug}/programs

The programs ("What we do") on the non-profit's page, in display order, for the edit form, with max, the most a page can have (12). PUT /org-admin/{slug}/programs replaces the list. Needs org.update_settings on the organization (its owner and admins), else 403; an organization that is not a non-profit answers 404 (not_nonprofit).

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required

Responses​

OK

application/json
JSON
{
"data": [
],
"max": 12
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Replace the page's programs​

PUT
/org-admin/{slug}/programs

org.update_settings. The ordered list, up to 12; a row with its id keeps it. Audited as organization.programs_updated.

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required

Request Body​

application/json
JSON
{
"programs": [
{
"id": "string",
"title": "string",
"description": "string",
"icon": "string"
}
]
}

Responses​

OK

application/json
JSON
{
"data": [
],
"max": 0
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


The team​

GET
/org-admin/{slug}/team

org.read. Emails, invites and join requests only for managers.

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Invite people to the team​

POST
/org-admin/{slug}/invites

nonprofit.team.manage. Up to 20 emails; each gets the org_invite email (link /nonprofits/invite/{token}, 30 days). Nobody grants above their own role. Audited as organization.invite_sent.

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required

Request Body​

application/json
JSON
{
"emails": [
"string"
],
"role": "string",
"title": "string"
}

Responses​

OK

application/json
JSON
{
"created": [
],
"skipped": [
{
"email": "string",
"reason": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Resend an invite​

POST
/org-admin/{slug}/invites/{inviteId}/resend

nonprofit.team.manage. A new token and 30 days; 5 sends at most.

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required
inviteId*

The invite id.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Cancel an invite​

DELETE
/org-admin/{slug}/invites/{inviteId}

Cancels an invite to the non-profit's team, so it can no longer be accepted. Cancelling one that is already cancelled changes nothing; one that was already accepted answers 409 accepted, and an id that is not one of this organization's invites 404. Needs nonprofit.team.manage (the owner and admins), and an invite for a role above the caller's own answers 403 above_own.

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required
inviteId*

The invite id.

Type
string
Required
Format
"uuid"

Responses​

Done

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Approve a join request​

POST
/org-admin/{slug}/join-requests/{requestId}/approve

nonprofit.team.manage. The person joins with the role and title and is emailed.

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required
requestId*

The request id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"role": "member",
"title": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Decline a join request​

POST
/org-admin/{slug}/join-requests/{requestId}/decline

Declines a pending request to join the non-profit's team; the person does not join. A request that was already decided or withdrawn answers 409 with its state as the code (approved, declined or withdrawn), and an id that is not one of this organization's requests 404. Needs nonprofit.team.manage (the owner and admins).

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required
requestId*

The request id.

Type
string
Required
Format
"uuid"

Responses​

Done

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Transfer ownership​

POST
/org-admin/{slug}/transfer-ownership

The owner only, to one of the admins; the old owner becomes an admin. Audited as organization.ownership_transferred.

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required

Request Body​

application/json
JSON
{
"user_id": "string"
}

Responses​

OK

application/json
JSON
{
"owner": "string",
"previous_owner": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Verification and tax status​

GET
/org-admin/{slug}/verification

org.read. The latest check per source, the documents (W-9 and bank documents only with org.upload_documents), the IRS record and how authority was shown.

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Run every check now​

POST
/org-admin/{slug}/verification/check-now

org.update_settings. At most once an hour (else 429 too_soon). Answers as GET.

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

slug*

The organization's slug (requireOrgPermission resolves it).

Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Resources​

Find help: free and low-cost local help from non-profits, churches, businesses, communities and public programs. The search (a POST, so a sensitive topic never lands in a URL or a log), the topics with their hotlines and first steps, a provider's page, the "Help we offer" section other pages show, reporting a problem with a listing, and suggesting a place that helps. No account is needed. A confidential address never appears in any answer: only its city and that the address is given by phone. A private community's members-only help is shown only to its active members, and never in the search. Every operation answers 403 while Resources are switched off. Refusals come as { "error": { "code", "message", "details" } }, where code is the reason to branch on.


Find help​

POST
/resources/search

Provider cards with their matching help, facets and the total. A city matches help whose service area is the city, one of its ZIP codes, its state or the whole country, or that has a location in it; a ZIP code or a point resolves to its city first. Order: open now first when openNow is asked for, then nearest (to the provider's nearest public storefront; online and confidential help have no distance), then the most recently confirmed. Nothing is paid or boosted. Help whose capacity is paused, and a private community's members-only help, are never listed. A search that finds nothing is counted by city and topic only. It is a POST so a sensitive topic never lands in a URL; the answer is sent Cache-Control: no-store.

Authorizations​

or
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)

Request Body​

application/json
JSON
"string"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Body

Samples​


List topics, needs and hotlines​

GET
/resources/topics

"What's going on?": every active topic with its one sentence, reviewed first steps (at most 3), hotlines and needs, plus the hotlines and the urgent strip, in the reader's language (lang, then the language cookie, then Accept-Language; English otherwise). Cached for 60 seconds.

Authorizations​

or
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​

Query Parameters

lang
Type
string
Valid values
"en""ru""uk""es"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Read a provider's page​

GET
/resources/providers/{slug}

The provider's card, every resource the viewer may see (a private community's members-only help only for its active members), the places they happen (a street and a pin only for a public storefront no confidential help shares) and its verified licenses (holder, kind, state and the date checked). A provider with nothing public now answers not_listed with similar providers, never a 404. An old slug answers 301 to the current page. Cached for 60 seconds for a guest; never for a signed-in person.

Authorizations​

or
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

slug*
Type
string
Required

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Read the help an organization, business or community offers​

GET
/resources/for/{kind}/{entitySlug}

Up to limit resources for a page's "Help we offer" section, help for everyone first, with the total and the provider page's slug for See all. The same visibility as the provider page. An entity with no help the viewer may see answers an empty list.

Authorizations​

or
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

kind*
Type
string
Required
Valid values
"nonprofit""church""sponsor""business""community"
entitySlug*

The non-profit's, business's or community's own slug.

Type
string
Required

Query Parameters

limit
Type
integer
Default
3
Maximum
12

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Report a problem with a listing​

POST
/resources/{id}/reports

Wrong info, closed, unsafe, scam or other; signed out is allowed. One report per reporter, resource and day: a second answers 200 with the first (duplicate: true). At most 10 reports a day per reporter. Who reported is kept as a keyed hash, never the IP address. Unsafe and scam reports reach FundlyHub's on-call staff at once. Nothing is taken down automatically, and the reporter is never told the outcome.

Authorizations​

or
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*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"reason": "string",
"note": "string",
"email": "string"
}

Responses​

The same report, made earlier today.

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value
Body

Samples​


Suggest a place that helps​

POST
/resources/suggestions

A name, a city and an optional website, US phone number, topics and note, for FundlyHub's staff to look into. Signed out is allowed, at most 5 a day per suggester.

Authorizations​

or
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)

Request Body​

application/json
JSON
{
"name": "string",
"city": "string",
"website": "string",
"phone": "string",
"topics": [
"string"
],
"note": "string"
}

Responses​

Received.

application/json
JSON
{
"id": "string"
}

Playground​

Server
Body

Samples​


List my saved providers​

GET
/me/resource-saves

The providers the signed-in person saved, newest first (at most 200). Each comes with its card while it still has help the person may see; otherwise listed is false ("No longer listed") and there is no card. Only that person ever sees their saves: never cached, never shared, never in an event or an audit log.

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)

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization

Samples​


Save a provider​

PUT
/me/resource-saves/{providerId}

Saves a provider for My help. Saving again changes nothing and answers the first save. Only a provider with help the person may see now can be saved (a private community's members-only help for its members); anything else is a 404.

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

providerId*
Type
string
Required
Format
"uuid"

Responses​

Saved.

application/json
JSON
{
"providerId": "string",
"saved": true,
"savedAt": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Unsave a provider​

DELETE
/me/resource-saves/{providerId}

Removes the save. A provider that isn't saved is not an error.

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

providerId*
Type
string
Required
Format
"uuid"

Responses​

Not saved now.

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Read engine schemas​

GET
/creator-hub/schema

Authoritative v1 JSON Schemas for template and project inputs, format/fact keys and limits. Tokens use the same permissions as their owner.

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)

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization

Samples​


List templates​

GET
/creator-hub/templates

Lightweight metadata only: items and opaque nextCursor. Community attribution comes from profiles.name; built-ins use FundlyHub. No private templates of other accounts are included.

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​

Query Parameters

collection
Type
string
Valid values
"all""fundlyhub""community""mine"
cursor
Type
string
q
Type
string
topic
Type
string
format
Type
string
Valid values
"post""carousel""story""reel"

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Create private template​

POST
/creator-hub/templates

Creates a private immutable version 1. Client attribution fields are not accepted inside a definition. Image defaults cannot be published. The template limit is 200 per account.

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)

Request Body​

application/json
JSON
{
"definition": "string"
}

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Body

Samples​


Read template version​

GET
/creator-hub/templates/{id}

Owner can read their drafts. Others can read previously published immutable versions only while the template remains public.

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*
Type
string
Required

Query Parameters

version
Type
integer
Minimum
1

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Create template version​

POST
/creator-hub/templates/{id}/versions

Owner only. baseVersion must be the current latest version; publication is unchanged.

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*
Type
string
Required

Request Body​

application/json
JSON
{
"baseVersion": 0,
"definition": "string"
}

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Publish template version​

POST
/creator-hub/templates/{id}/publish

Owner only. Explicitly publish an immutable version, or send null to unpublish. New edits never alter the existing public version.

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*
Type
string
Required

Request Body​

application/json
JSON
{
"version": 0
}

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Find usable campaigns​

GET
/creator-hub/campaigns

Mine lists owned campaigns or campaigns of the org authorized by org.read. Platform lists approved active public campaigns. Results contain items and nextOffset.

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​

Query Parameters

collection
Type
string
Valid values
"mine""platform"
org
Type
string
q
Type
string
offset
Type
integer
Minimum
0

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Read campaign source​

GET
/creator-hub/campaigns/{id}

Fresh permitted story, photos, link, public facts, public endorsers with names and processed avatars, percentage and source revision. Uses normal campaign/organization read permissions; no donor emails or private identities. Moderated/processing assets are excluded.

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*
Type
string
Required

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Search system organizations​

GET
/creator-hub/directory/organizations

Publicly listed approved/verified organizations and their canonical names/logos.

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​

Query Parameters

id

Resolve a saved organization outside the first search page.

Type
string
Format
"uuid"
q
Type
string

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List system achievements​

GET
/creator-hub/directory/achievements

Public system achievement slugs and names, excluding hidden or unpublished definitions.

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)

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization

Samples​


Read achievement artwork​

GET
/creator-hub/directory/achievements/{slug}/art

Rasterized cut-out of a public system achievement for the composer.

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

slug*
Type
string
Required

Responses​

Success

image/png

Playground​

Server
Authorization
Variables
Key
Value

Samples​


List owned projects​

GET
/creator-hub/projects

Owner-only private projects. Returns items and nextOffset.

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​

Query Parameters

offset
Type
integer
Minimum
0

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Create private project​

POST
/creator-hub/projects

Validates template version, campaign access and image ownership. Missing sourceRevision captures the current permitted source; a provided stale revision returns 409.

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)

Request Body​

application/json
JSON
"string"

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Body

Samples​


Read owned project​

GET
/creator-hub/projects/{id}

Returns id, body, revision, source_revision and updated_at. No other user can read the draft by guessing its ID.

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*
Type
string
Required

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Delete owned project​

DELETE
/creator-hub/projects/{id}

Soft-deletes the draft and prevents future downloads of its exports.

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*
Type
string
Required

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Update owned project​

PATCH
/creator-hub/projects/{id}

Optimistic concurrency: revision must match the current saved record.

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*
Type
string
Required

Request Body​

application/json
JSON
{
"revision": 0,
"project": "string"
}

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Render validated preview​

POST
/creator-hub/preview

Optional read-shaped render. Returns a base64 SVG data URL and sourceRevision. Native editing uses the same engine locally. Limited to 30 previews/minute/account.

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)

Request Body​

application/json
JSON
{
"project": "string",
"slide": 0
}

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Body

Samples​


Queue private PNG export​

POST
/creator-hub/projects/{id}/exports

Exports one saved slide. Supply Idempotency-Key (recommended) or idempotencyKey in the body. Reusing a key for different input returns 409; identical retries return the same job. Current project/source revisions and permissions are required. Four pending jobs/account, 60 exports/hour/account.

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​

Header Parameters

Idempotency-Key
Type
string
Min Length
1
Max Length
100

Path Parameters

id*
Type
string
Required

Request Body​

application/json
JSON
{
"revision": 0,
"slide": 0,
"idempotencyKey": "string"
}

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Headers
Variables
Key
Value
Body

Samples​


Read export status​

GET
/creator-hub/exports/{id}

Owner-only queued/running/succeeded/failed state, error and expiry. Poll until terminal.

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*
Type
string
Required

Responses​

Success

application/json
JSON
{
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Download private PNG​

GET
/creator-hub/exports/{id}/download

Owner-only binary. Expires after 24 hours and rechecks source/template permissions and saved revision. No public CDN URL is issued.

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*
Type
string
Required

Responses​

Success

image/png

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Free stuff​

Free stuff from neighbors: one-off things a person (or, once in a while, a non-profit, church, business or community they run) gives away, kept apart from providers' recurring giveaways. Free means free: no prices, deposits, trades or "best offer". Browsing needs no account and shows the area and a distance band ("about 2 mi"), never the pickup address or an exact point. Asking, giving, the pickup thread and reports need a signed-in person with a verified email and phone (403 with code EMAIL_NOT_VERIFIED or PHONE_NOT_VERIFIED). The giver chooses who gets it ("Let me choose") or the first ask is chosen at once ("First to ask"); the pickup place and note are shared with the person chosen only. Limits held by the server: 5 open asks a person, 10 posts a day, 30 messages an hour per person per thread; two no-shows within 60 days pause asking for 14 days. A person the giver blocked can't see their items, ask or message them. Every operation answers 404 while features.free_stuff (or features.resources, which it sits under) is off. Refusals come as { "error": { "code", "message", "details" } }.


Browse free stuff near a place​

GET
/free-stuff

Available items, nearest first from near (the browser's position, sent once the person allows it), else the city's center, else the signed-in person's own place; newest first with no point. Each shows the area and a distance band, never the pickup address or a pin. A city with nothing of its own shows what is within 25 miles, with nearby: true. A person the giver blocked never sees the giver's items. No account needed.

Authorizations​

or
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​

Query Parameters

city

A city's slug.

Type
string
near

lat,lng of the browser.

Type
string
Example"38.68,-121.18"
category

Category ids, comma-separated.

Type
string
Example"baby_kids,kitchen"
distance

Within this many miles of the point (1, 2, 5, 10 or 25 in the filters).

Type
number
Example5
pickup

Pickup methods; an item offering any of them matches.

Type
string
Example"porch,public_place"
limit
Type
integer
Default
24
Maximum
48
offset
Type
integer
Default
0

Responses​

Items.

application/json
JSON
{
"items": [
],
"total": 0,
"limit": 0,
"offset": 0,
"city": {
"slug": "string",
"name": "string",
"region": "string"
},
"nearby": true,
"from": "string"
}

Playground​

Server
Variables
Key
Value

Samples​


Give something away​

POST
/free-stuff

Posts an item. The automatic checks run on the title, description and category: a currency amount or a not-allowed item refuses it (422 not_allowed, with details.reasons[]: rule, field, term, match, and topic: pets for live animals); a borderline match holds it for review. A person's first post is held too ("Held for review, usually within a day"); anything else is available at once. Photos come from POST /storage/upload (bucket free-stuff-photos), 1 to 6. Posting as a provider needs to be able to manage it; after 3 posts as the same provider in 30 days the answer carries nudge. 10 posts a person a day.

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)

Request Body​

application/json
JSON
"string"

Responses​

Posted: the giver's view of it, status held or available.

application/json
JSON
"string"

Playground​

Server
Authorization
Body

Samples​


The categories​

GET
/free-stuff/categories

What the post form and the filters offer, in the reader's language (?lang=, the language cookie, then Accept-Language), with how many days an item in each is up (14, or 2 for food). The browser may keep it for 60 seconds.

Authorizations​

or
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​

Query Parameters

lang
Type
string
Valid values
"en""ru""uk""es"

Responses​

Categories.

application/json
JSON
{
"categories": [
{
"id": "string",
"name": "string",
"maxDays": 0
}
]
}

Playground​

Server
Variables
Key
Value

Samples​


An item​

GET
/free-stuff/{id}

One item for this viewer: photos, title, condition, area and distance band, pickup methods, available until, and the giver's first name with "gave N things" (or the provider's name and kind). Signed in, the viewer's own ask and what stops them asking. The giver also gets the asks, why it is held and staff's decision; the person chosen gets the pickup place and note while chosen. Nobody else ever gets the pickup. A closed item answers 410 to anyone who did not ask for it; a held one is the giver's alone (404). A person the giver blocked gets 410.

Authorizations​

or
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 item.

Type
string
Required
Format
"uuid"

Query Parameters

near

lat,lng of the browser, for the distance band.

Type
string

Responses​

The item.

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Remove an item​

DELETE
/free-stuff/{id}

The giver removes it; everyone who asked hears it is no longer available. Needs only a sign-in (it takes something away).

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 item.

Type
string
Required
Format
"uuid"

Responses​

Removed.

application/json
JSON
{
"removed": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit an item​

PATCH
/free-stuff/{id}

The giver edits a held, available, promised or expired item. Changing the title, description, category or photos runs the checks again: a block refuses the edit, a borderline match holds a live post, a clean edit of a post held by the checks puts it back up (unless it is still the person's first post). While someone is picking it up (promised) only the pickup details, methods, date and condition change (409 promised). Switching to "first to ask" with asks waiting chooses the earliest.

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 item.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"title": "string",
"description": "string",
"categoryId": "string",
"condition": "string",
"pickup": {
"address": "string",
"point": {
},
"note": "string"
},
"pickupMethods": [
"string"
],
"availableUntil": "string",
"selectionMode": "string",
"photos": [
]
}

Responses​

The giver's view.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Relist an expired item​

POST
/free-stuff/{id}/relist

An expired item goes back up in one tap with a fresh date (14 days, or the category's limit, by default). The checks and the first-post rule run again, so it may be held. People whose asks closed with it may ask again.

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 item.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"availableUntil": "string"
}

Responses​

The giver's view.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Ask for it​

POST
/free-stuff/{id}/requests

Asks for an item. The note is optional ("You don't need to explain why"). One ask per person per item, at most 5 open, never your own, not while asking is paused, and not from someone the giver blocked. With "first to ask" the first valid ask is chosen at once (autoChosen: true, and the pickup is in item); a later ask answers 409 went_to_first.

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 item.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"note": "string",
"pickupPref": "string"
}

Responses​

Asked.

application/json
JSON
{
"requestId": "string",
"autoChosen": true,
"item": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Withdraw my ask​

DELETE
/free-stuff/{id}/requests/mine

Takes the caller's ask back. If they were chosen, the item is available again: with "first to ask" the next ask is chosen, otherwise the giver hears to choose someone else. Needs only a sign-in.

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 item.

Type
string
Required
Format
"uuid"

Responses​

Withdrawn.

application/json
JSON
{
"withdrawn": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Choose who gets it​

POST
/free-stuff/{id}/requests/{requestId}/choose

The giver chooses one ask: the item is promised to that person, who alone is shown the pickup place and note, and told "It's yours". The other asks stay open as backups until it is given. pickupNote updates the note shared with them.

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 item.

Type
string
Required
Format
"uuid"
requestId*

The ask.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"pickupNote": "string"
}

Responses​

The giver's view.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Block the other person on an ask​

POST
/free-stuff/{id}/requests/{requestId}/block

Blocks the other person on this ask, found by the server (no person's id is ever sent): for the item's giver, the person who asked; for the person who asked, the giver. It is the account-wide block (user_blocks), which free stuff honours. The giver blocking cancels that person's open asks on the giver's things (a chosen one reopens the choice; they see "No longer available"); the asker blocking withdraws their own open ask on this item. Needs sign-in only, no verified phone. Idempotent.

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 item.

Type
string
Required
Format
"uuid"
requestId*

The ask.

Type
string
Required
Format
"uuid"

Responses​

Blocked.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Unblock the other person on an ask​

DELETE
/free-stuff/{id}/requests/{requestId}/block

Removes the block the caller made on the other person of this ask. Asks it closed stay closed. Idempotent.

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 item.

Type
string
Required
Format
"uuid"
requestId*

The ask.

Type
string
Required
Format
"uuid"

Responses​

Unblocked.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Didn't show, choose someone else​

POST
/free-stuff/{id}/requests/{requestId}/no-show

The giver marks the person chosen as a no-show and the choice reopens ("first to ask" chooses the next ask). Two no-shows within 60 days pause that person's asking for 14 days, and they are told.

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 item.

Type
string
Required
Format
"uuid"
requestId*

The ask.

Type
string
Required
Format
"uuid"

Responses​

The giver's view.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Picked up​

POST
/free-stuff/{id}/given

The giver marks it picked up: the chosen ask is picked up, everyone else who asked hears it went to someone else, and saved copies drop off.

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 item.

Type
string
Required
Format
"uuid"

Responses​

The giver's view.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


The pickup thread​

GET
/free-stuff/{id}/messages

The thread between the giver and the person chosen, text only; nobody else can read it, and neither side's phone or email is part of it. Marks the other person's messages read. The giver reads the current chosen ask's thread, or another with requestId. Messages are deleted 90 days after the item closes.

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 item.

Type
string
Required
Format
"uuid"

Query Parameters

requestId
Type
string
Format
"uuid"

Responses​

The thread.

application/json
JSON
{
"thread": {
"requestId": "string",
"status": "string",
"role": "string",
"with": {
"firstName": "string"
},
"canWrite": true,
"blockedByMe": true
},
"messages": [
{
"id": "string",
"mine": true,
"body": "string",
"sentAt": "string",
"readAt": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Send a pickup message​

POST
/free-stuff/{id}/messages

Sends a message in the pickup thread, up to 1000 characters. 30 messages an hour per person per thread. The other person gets a bell for the first message they haven't read yet. A person who blocked the sender gets nothing: 403 cannot_message.

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 item.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"body": "string",
"requestId": "string"
}

Responses​

Sent: the thread.

application/json
JSON
{
"thread": {
"requestId": "string",
"status": "string",
"role": "string",
"with": {
"firstName": "string"
},
"canWrite": true,
"blockedByMe": true
},
"messages": [
{
"id": "string",
"mine": true,
"body": "string",
"sentAt": "string",
"readAt": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Report an item or a person​

POST
/free-stuff/{id}/reports

Reports the item's giver (from the item), the other side of an ask (requestId) or the sender of a message (messageId). "Asked me to pay" and "Unsafe item" go to the top of the staff queue, hold the reported person's available items until staff look, and tell staff now. The reporter is never revealed to the person reported. The same open report again answers 200 with the first one.

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 item.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"reason": "string",
"note": "string",
"requestId": "string",
"messageId": "string"
}

Responses​

The same open report, made before.

application/json
JSON
{
"id": "string",
"duplicate": true
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Save an item​

PUT
/me/free-stuff-saves/{id}

Saves an item that is up, for My help -> Free stuff (it drops off when the item closes). Idempotent. Needs only a sign-in.

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 item.

Type
string
Required
Format
"uuid"

Responses​

Saved.

application/json
JSON
{
"saved": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Unsave an item​

DELETE
/me/free-stuff-saves/{id}

Removes a save. Idempotent.

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 item.

Type
string
Required
Format
"uuid"

Responses​

Not saved.

application/json
JSON
{
"saved": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


My help -> Free stuff​

GET
/me/free-stuff

The signed-in person's free stuff. giving: their items with open ask counts, who is picking it up (first name), held, given, expired or taken down with staff's reason. getting: their asks by state, "It's yours" first, with the pickup for an ask that is chosen. saved: items they saved that are still up.

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​

Query Parameters

tab
Type
string
Valid values
"giving""getting""saved"
Default
"giving"
limit
Type
integer
Default
24
Maximum
48
offset
Type
integer
Default
0

Responses​

The tab.

application/json
JSON
{
"tab": "string",
"total": 0,
"items": [
{
"additionalProperties": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Resources · Workspace​

A provider's own team at work on the help it lists in Resources: one set of routes for a non-profit or church, a business, a community and (for staff) a public program. Each route checks the provider kind's own roles (lib/resources/access.ts): a non-profit's owners and admins manage (nonprofit.resources.manage) and fundraisers and viewers read (org.read); a business's owner and admins manage, a manager at their own locations, cashiers nothing; a community's owner and leaders manage, volunteers keep capacity and the stock note. Staff with manage_resources pass every action. Anyone not on the team gets 404; a role too low 403. Every operation answers 403 while Resources are switched off (features.resources), except to FundlyHub staff (review_resources or manage_resources) on a provider's, a resource's or a link's routes and the places search: Admin -> Resources opens the editor in staff mode and a resource's history through them, and staff routes skip the switch.


Resources in the menus​

GET
/me/resources-menu

Whether Resources (and free stuff) are on for the caller, and up to 10 providers they can see. Mirrors /me/sponsor-menu: a 403 from the switch means Resources are off. Signed out is allowed (no providers).

Responses​

OK

application/json
JSON
{
"resources": true,
"free_stuff": true,
"providers": [
],
"person_provider": {
"id": "string",
"slug": "string",
"status": "string"
}
}

Playground​

Samples​


Providers I can see or manage​

GET
/me/resource-providers

Every non-profit or church (org.read or nonprofit.resources.manage), business (owner, admin, manager) and community (owner, leader, volunteer) the caller is on, with its provider when it lists help already (provider null: "Add services to it?"). For /resources/join and "Post as". person is listing help as yourself (#2436): your provider if you have one, and whether you may make it (a verified email, a public name, an account in good standing). A person's provider is never in items, so it is never a "Post as".

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)

Responses​

OK

application/json
JSON
{
"items": [
],
"person": {
"provider": {
"id": "string",
"slug": "string",
"status": "string"
},
"name": "string",
"email_verified": true,
"can_create": true
}
}

Playground​

Server
Authorization

Samples​


Cities and ZIP codes for a service area​

GET
/resource-places

What a service area can name, with the place id it stores (#2422). Five digits: that ZIP code, made from the ZIP table when FundlyHub has none yet. Otherwise US cities whose name starts with q; "Folsom, CA" narrows to the state. Fewer than 2 characters: none. kind=city: cities only, a ZIP answering with its city (the staff city filters and a public program's city, which need no manage_cities; #2434).

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​

Query Parameters

q*
Type
string
Required
Max Length
80
kind
Type
string
Valid values
"city"

Responses​

OK

application/json
JSON
{
"items": [
{
"id": "string",
"kind": "string",
"label": "95630 · Folsom, CA",
"region": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


The provider of a non-profit, business, community or person​

GET
/resource-providers

For a workspace's Resources tab (#2422): the provider of the entity, as GET /resource-providers/{providerId} answers it, or provider: null when it lists nothing yet, with whether the viewer may make it (can_create) and what they may do. Anyone on the entity's team whose role sees the tab reads it, and staff with review_resources or manage_resources. A role that doesn't (a cashier, a non-profit member) gets 403, someone with nothing to do with it 404. kind=person (#2436) is a person's own (My help -> Help you offer): entity_id is their profile, the caller's when left out; only they and staff read it, and person says what stands in the way of making it (a verified email, a public name).

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​

Query Parameters

kind*
Type
string
Required
Valid values
"nonprofit""business""community""person"
entity_id

Required for every kind but person.

Type
string
Format
"uuid"

Responses​

OK

application/json
JSON
{
"entity": {
"kind": "string",
"id": "string",
"slug": "string",
"name": "string"
},
"provider": {
"id": "string",
"kind": "string",
"slug": "string",
"status": "string",
"status_reason": "string",
"name": "string",
"is_church": true,
"entity": {
"kind": "string",
"id": "string",
"slug": "string"
},
"program": {
"name": "string",
"website": "string",
"phone": "string",
"place_id": "string"
},
"person": {
"profile_id": "string",
"email_verified": true,
"account_status": "string",
"listable": true
},
"city_id": "string",
"part_of_provider_id": "string",
"city_name": "string",
"city_region": "string",
"part_of": {
"id": "string",
"kind": "string",
"slug": "string",
"name": "string",
"is_church": true,
"entity_slug": "string",
"status": "string"
},
"parts": [
{
"id": "string",
"kind": "string",
"slug": "string",
"name": "string",
"is_church": true,
"entity_slug": "string",
"status": "string"
}
],
"created_at": "string"
},
"can_create": true,
"person": {
"email_verified": true,
"has_name": true,
"listable": true
},
"viewer": {
"role": "string",
"as_staff": true,
"can": {
"additionalProperties": "string"
}
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Make the provider for an entity I manage, or for myself​

POST
/resource-providers

Idempotent per entity: 201 the first time, 200 with the same provider after. The slug is the entity's own, with -2, -3 ... when another provider has it. Owners and admins (a business's owner or admin, a community's owner or leaders), or staff with manage_resources. Public programs are listed by staff. {kind: person} lists help as yourself (#2436, "List help as yourself"): it needs a verified email (403 email_not_verified, saying to verify it from Settings), a public name (422 name_required) and an account in good standing (403 account_not_active); idempotent per person; its slug follows your handle, or your name when the handle came from your email. Naming someone else's profile is a 404. Every listing it sends goes through staff review.

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)

Request Body​

application/json
JSON
{
"kind": "string",
"entity_id": "string"
}

Responses​

Made (200 when it existed)

application/json
JSON
{
"created": true,
"provider": "string"
}

Playground​

Server
Authorization
Body

Samples​


A provider in the workspace​

GET
/resource-providers/{providerId}

The provider, its counts (drafts, in review, live, paused, held, links waiting, open reports), whether its entity may publish yet, and what the viewer may do (viewer.can, per action: all, locations or false). Checks: requireProviderAccess('view_resources').

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

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"id": "string",
"kind": "string",
"slug": "string",
"status": "string",
"status_reason": "string",
"name": "string",
"is_church": true,
"entity": {
"kind": "string",
"id": "string",
"slug": "string"
},
"program": {
"name": "string",
"website": "string",
"phone": "string",
"place_id": "string"
},
"person": {
"profile_id": "string",
"email_verified": true,
"account_status": "string",
"listable": true
},
"city_id": "string",
"part_of_provider_id": "string",
"city_name": "string",
"city_region": "string",
"part_of": {
"id": "string",
"kind": "string",
"slug": "string",
"name": "string",
"is_church": true,
"entity_slug": "string",
"status": "string"
},
"parts": [
{
"id": "string",
"kind": "string",
"slug": "string",
"name": "string",
"is_church": true,
"entity_slug": "string",
"status": "string"
}
],
"created_at": "string",
"counts": {
"additionalProperties": 0
},
"ready_to_publish": true,
"linked": [
{
"id": "string",
"kind": "string",
"slug": "string",
"name": "string",
"is_church": true,
"entity_slug": "string",
"status": "string",
"relation": "string",
"can_manage": true
}
],
"viewer": {
"role": "string",
"as_staff": true,
"can": {
"additionalProperties": "string"
}
}
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


The provider's resources​

GET
/resource-providers/{providerId}/resources

Drafts and changes requested first, archived only with status=archived (or archived=true).
Checks: requireProviderAccess('view_resources').

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

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"

Query Parameters

status

One status.

Type
string
q

Title contains.

Type
string
archived
Type
string
Valid values
"true"
limit

Page size (24 by default, 48 at most).

Type
integer
Minimum
1
Maximum
48
Default
24
offset

Rows to skip.

Type
integer
Minimum
0

Responses​

OK

application/json
JSON
{
"items": [
],
"total": 0,
"limit": 0,
"offset": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Start a draft​

POST
/resource-providers/{providerId}/resources

A draft from whatever the editor has (a title at least). A business manager names one or more of their own locations. A person's help (#2436) names no location (422 resource_locations_person, details.field location_ids) and no sensitive topic, or a topic under one (422 resource_topic_links_person_sensitive, details.field topic_ids); the same holds for PATCH /resources/{id}, for a change to live help too. Checks: requireProviderAccess('manage_resources').

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

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Near-identical help under a linked church or community​

POST
/resource-providers/{providerId}/near-duplicates

CH-04, CM-12 (#2434): when a church also runs a FundlyHub community (resource_providers.part_of_provider_id), help can be listed under either one, and the editor warns of a near-identical listing under the other: the same title or nearly (trigram similarity 0.6), a topic in common or under the same parent, and a city, ZIP's city or state in common, or both online. Before any place is picked, same_place is null and the title and topic decide. Someone off the other provider's team hears only of help anyone can find. A POST, so topics stay out of addresses and logs. Up to 5.

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

providerId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"title": "string",
"topic_ids": [
"string"
],
"location_ids": [
"string"
],
"service_areas": [
{
}
],
"online": true,
"exclude_id": "string"
}

Responses​

OK

application/json
JSON
{
"items": [
{
"id": "string",
"title": "string",
"status": "string",
"provider": {
"id": "string",
"kind": "string",
"name": "string",
"slug": "string",
"is_church": true
},
"same_place": true,
"can_open": true
}
]
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


The topics the editor picks from​

GET
/resource-providers/{providerId}/topics

Every active topic and its needs with the ids the editor's fields store (topic_ids, need_ids), in the reader's language (?lang=, the cookie, then Accept-Language), and whether a topic is sensitive (never in a URL or a notification) or licensed (its help needs a license, NP-13). #2422. Checks: requireProviderAccess('view_resources').

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

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"

Query Parameters

lang
Type
string
Valid values
"en""ru""uk""es"

Responses​

OK

application/json
JSON
{
"language": "string",
"topics": [
{
"id": "string",
"slug": "string",
"parent_id": "string",
"name": "string",
"sensitive": true,
"licensed": true,
"needs": [
{
"id": "string",
"slug": "string",
"name": "string"
}
]
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


The places help can happen at​

GET
/resource-providers/{providerId}/locations

The open locations of the provider's entity, the primary first, every kind in one shape (#2422, NP-04, SP-05, CM-04): a non-profit's (organization_locations.org_id), a business's (the storefront's own), a community's or a public program's. mine marks a business manager's own. can_add: here (POST below, a community or a public program), entity (a non-profit or a business adds them in its own workspace, so one address change updates every listing) or false. A person (#2436) has none and adds none (items empty, can_add false): their help happens where they serve, or online, and their home is never a location. Checks: requireProviderAccess('view_resources').

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

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"items": [
],
"can_add": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add a community's or a public program's place​

POST
/resource-providers/{providerId}/locations

A place where a community's or a public program's help happens (a church hall, a school gym), saved as its location so every listing can reuse it (CM-04). The address resolves now (Find help needs its city); it is public unless is_publicly_visible is false (a safe home), and a listing's confidential switch hides it too. The first open place is the primary. Up to 50. A non-profit or a business answers 409 use_entity_locations: add those in the entity's workspace. A person answers 409 person_has_no_premises (#2436). An audit row, no event. #2422. Checks: requireProviderAccess('manage_resources').

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

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"label": "Oak Park Community Hall",
"address": {
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postal_code": "string"
},
"point": {
"lat": 0,
"lng": 0
},
"is_publicly_visible": true,
"is_primary": true
}

Responses​

Added

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


The provider's licenses​

GET
/resource-providers/{providerId}/licenses

With the help that relies on each.
Checks: requireProviderAccess('manage_licenses').

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

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"

Responses​

OK

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add a license​

POST
/resource-providers/{providerId}/licenses

Pending until staff check it against the public record (ST-03).
Checks: requireProviderAccess('manage_licenses').

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

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"holder_name": "string",
"kind": "string",
"license_number": "string",
"state": "CA"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Change a license​

PATCH
/resource-providers/{providerId}/licenses/{licenseId}

A change to the holder, kind, number or state needs checking again (pending), which holds the live help relying on it (hold license) until staff verify it. Checks: requireProviderAccess('manage_licenses').

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

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"
licenseId*

The license.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"holder_name": "string",
"kind": "string",
"license_number": "string",
"state": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Fundraisers that name the provider's help​

GET
/resource-providers/{providerId}/fundraiser-links

Waiting ones first (requested, and needs_confirmation after a transfer: from_previous_provider). waiting is the tab's count. Checks: requireProviderAccess('manage_fundraiser_links').

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)

Path Parameters

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"

Query Parameters

status
Type
string
Valid values
"requested""confirmed""declined""removed""needs_confirmation"
limit

Page size (24 by default, 48 at most).

Type
integer
Minimum
1
Maximum
48
Default
24
offset

Rows to skip.

Type
integer
Minimum
0

OK

application/json
JSON
{
"items": [
{
"id": "string",
"status": "string",
"estimate_cents": 0,
"requested_at": "string",
"reminded_at": "string",
"decided_at": "string",
"direct_payout": true,
"client_consent": true,
"resource_id": "string",
"resource_title": "string",
"fundraiser_id": "string",
"fundraiser_title": "string",
"fundraiser_slug": "string",
"fundraiser_is_project": true,
"organizer_name": "string",
"raised_cents": 0,
"confirmed_fee_cents": 0,
"provider_note": "string",
"from_previous_provider": true
}
],
"total": 0,
"waiting": 0,
"limit": 0,
"offset": 0
}
Server
Authorization
Variables
Key
Value

Reports about the provider's help​

GET
/resource-providers/{providerId}/reports

Wrong-info and closed reports, with what the reporter said, never who they are (NP-12). Unsafe and scam reports go to staff only. Confirming the info closes them as fixed. Checks: requireProviderAccess('view_reports').

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

providerId*

The provider (resource_providers.id).

Type
string
Required
Format
"uuid"

Query Parameters

status
Type
string
Valid values
"open""actioned""dismissed"
limit

Page size (24 by default, 48 at most).

Type
integer
Minimum
1
Maximum
48
Default
24
offset

Rows to skip.

Type
integer
Minimum
0

Responses​

OK

application/json
JSON
{
"items": [
{
"id": "string",
"resource_id": "string",
"resource_title": "string",
"reason": "string",
"note": "string",
"status": "string",
"action": "string",
"created_at": "string",
"handled_at": "string"
}
],
"total": 0,
"limit": 0,
"offset": 0
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Confirm a fundraiser​

POST
/fundraiser-links/{id}/confirm

The provider of the help confirms the fundraiser raises money for it; its licenses come up for a re-check (NP-13). It may confirm the fee (fee_cents, which donors then see as the fee; omitted, the organizer's estimate stands) and add a note for the organizer (note, up to 280 characters, which only the organizer sees). The organizers are told, with the fee and never the note. Publishes fundraiser_resource.confirmed. Checks: requireProviderAccess('manage_fundraiser_links').

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)

Path Parameters

id*

The fundraiser link.

Type
string
Required
Format
"uuid"
application/json
JSON
{
"fee_cents": 0,
"note": "string"
}

OK

application/json
JSON
{
"id": "string",
"status": "string",
"confirmed_fee_cents": 0,
"provider_note": "string"
}
Server
Authorization
Variables
Key
Value
Body

Decline a fundraiser​

POST
/fundraiser-links/{id}/decline

The reason stays private (the provider and staff only). The organizers are told it was declined. Publishes fundraiser_resource.declined. Checks: requireProviderAccess('manage_fundraiser_links').

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)

Path Parameters

id*

The fundraiser link.

Type
string
Required
Format
"uuid"
application/json
JSON
{
"reason": "string"
}

OK

application/json
JSON
{
"id": "string",
"status": "string"
}
Server
Authorization
Variables
Key
Value
Body

A resource​

GET
/resources/{id}

Every field, the change in review, the decisions so far, listing health, and what the viewer may do with it. The ETag is the version. Checks: requireProviderAccess('view_resources').

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 resource.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit a resource​

PATCH
/resources/{id}

A draft saves freely. On published help, small fields go live at once (audit-logged) and material fields open or replace the one pending revision while the live version stays up. The schema's rules are checked now, revision included. A stale version gets 409 stale_version with details.changed_since (the fields, and whether staff changed them). Checks: requireProviderAccess('manage_resources').

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​

Header Parameters

If-Match

The version you opened, e.g. "7". Or send version in the body.

Type
string

Path Parameters

id*

The resource.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"title": "string",
"summary": "string",
"details": "string",
"topic_ids": [
"string"
],
"primary_topic_id": "string",
"need_ids": [
"string"
],
"cost_model": "string",
"fee_min_cents": 0,
"fee_max_cents": 0,
"audience": "string",
"faith_participation": true,
"faith_note": "string",
"eligibility": [
"string"
],
"income_limit_pct_fpl": 0,
"how_to_start": [
"string"
],
"apply_url": "string",
"phone": "string",
"languages": [
"string"
],
"referral_required": true,
"referral_note": "string",
"delivery": "string",
"stock_note": "string",
"capacity": "string",
"capacity_note": "string",
"paused_until": "string",
"online": true,
"confidential_address": true,
"hours_source": "string",
"hours": [
{
"weekday": 0,
"opens_at": "09:00",
"closes_at": "17:00"
}
],
"hours_exceptions": [
{
"starts_on": "string",
"ends_on": "string",
"opens_at": "string",
"closes_at": "string",
"reason": "string"
}
],
"location_ids": [
"string"
],
"service_areas": [
{
"place_id": "string",
"state_code": "string",
"nationwide": true,
"country": "string"
}
],
"license_ids": [
"string"
],
"version": 0
}

Responses​

OK

application/json
JSON
{
"resource": "string",
"changed": [
"string"
],
"applied": [
"string"
],
"in_review": [
"string"
]
}

Playground​

Server
Authorization
Headers
Variables
Key
Value
Body

Samples​


Who changed what​

GET
/resources/{id}/history

The audit trail, newest first. Staff changes read "FundlyHub staff", with their reason.
Checks: requireProviderAccess('view_resources').

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 resource.

Type
string
Required
Format
"uuid"

Query Parameters

limit
Type
integer
Maximum
100

Responses​

OK

application/json
JSON
{
"items": [
{
"action": "string",
"at": "string",
"by_staff": true,
"by": "string",
"fields": [
"string"
],
"reason": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Send for review​

POST
/resources/{id}/submit

A draft, changes requested or rejected resource goes to review (in_review); the first submission is a revision too. Refused (422) while it lacks a title, summary, topic or service area (incomplete, details.problems), a license in a licensed topic (license_required), the entity's own checks (provider_not_verified: "Finish verification to publish. Your draft is saved."), or after a rejection with nothing changed (unchanged_since_rejection). Checks: requireProviderAccess('manage_resources').

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​

Header Parameters

If-Match

The version you opened, e.g. "7". Or send version in the body.

Type
string

Path Parameters

id*

The resource.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Headers
Variables
Key
Value

Samples​


Pause​

POST
/resources/{id}/pause

Live help leaves Find help at once. Publishes resource.paused.
Checks: requireProviderAccess('manage_resources').

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 resource.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Unpause​

POST
/resources/{id}/unpause

Back in Find help, unless staff paused it (paused_by_staff, 403). Publishes resource.published.
Checks: requireProviderAccess('manage_resources').

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 resource.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Duplicate​

POST
/resources/{id}/duplicate

A new draft with everything but the review state ("Copy of ...").
Checks: requireProviderAccess('manage_resources').

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 resource.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Remove​

POST
/resources/{id}/archive

Archived: out of every list; staff can restore it for 30 days. Publishes resource.hidden when it was public.
Checks: requireProviderAccess('manage_resources').

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 resource.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Confirm your info​

POST
/resources/{id}/confirm

Restarts the freshness clock, clears a stale hold, and closes wrong-info and closed reports as fixed. A business manager confirms help at their own locations. Checks: requireProviderAccess('confirm_resources').

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 resource.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Capacity​

PUT
/resources/{id}/capacity

Taking new people, a waitlist, or paused until a date, with a message. Live at once, audit-logged with who (CM-08). Checks: requireProviderAccess('update_resource_capacity').

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​

Header Parameters

If-Match

The version you opened, e.g. "7". Or send version in the body.

Type
string

Path Parameters

id*

The resource.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"capacity": "string",
"capacity_note": "string",
"paused_until": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Headers
Variables
Key
Value
Body

Samples​


Stock note​

PUT
/resources/{id}/stock-note

"Fresh bread Tuesdays"; null clears it. Live at once, audit-logged with who.
Checks: requireProviderAccess('update_resource_capacity').

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​

Header Parameters

If-Match

The version you opened, e.g. "7". Or send version in the body.

Type
string

Path Parameters

id*

The resource.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"stock_note": "string"
}

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization
Headers
Variables
Key
Value
Body

Samples​


Resources · Fundraisers​

A fundraiser naming the help it raises money for ("Help we're raising for"), the provider's confirmation, direct payout and My help (#2424). A visitor sees confirmed links only; the fundraiser's organizer (its owner, as PATCH /fundraisers/{id} decides it) also sees requested, needs_confirmation and declined links, never a decline's reason. Where gifts go is always read from the fundraiser's own beneficiary (the columns checkout reads), never from a flag: "Send gifts straight to" changes that beneficiary to the provider's non-profit through the existing non-profit beneficiary path, and a transfer, merge or decline never touches it. Every operation answers 403 while Resources are switched off (features.resources).


Help we're raising for​

GET
/fundraisers/{id}/resources

What the fundraiser shows under "Help we're raising for". A visitor sees confirmed links only: the provider's public card, the help's name, the estimate and "Confirmed by "; a business link reads "The organizer pays the business" (giftsGoTo: organizer). The fundraiser's owner and admins get the organizer's view: also requested, needs_confirmation and declined links, with the payout state. A fundraiser the caller may not open answers 404, as GET /fundraisers/{id} does. A visitor's answer may be cached for a minute; anyone signed in gets private, no-store.

Authorizations​

or
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 fundraiser.

Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Name help on a fundraiser​

POST
/fundraisers/{id}/resources

The fundraiser's organizer names live, publicly listed help with a fee, and an estimate. Help in a licensed topic (a lawyer) needs client_consent: true (the organizer agrees the provider may confirm they are its client), recorded as the link's consent; consent given for other help is recorded too. One link per fundraiser and help: a repeat answers 409 already_named with details.link_id. The provider's managers get a bell (Resources) and fundraiser_resource.requested is published after the commit. The link waits on the provider: a reminder at 7 days, removed at 14 if unanswered.

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 fundraiser.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"resource_id": "string",
"estimate_cents": 0,
"client_consent": true
}

Responses​

Named. The new link and the organizer's whole view.

application/json
JSON
{
"link": "string",
"view": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Remove help from a fundraiser​

DELETE
/fundraisers/{id}/resources/{linkId}

The organizer (or an admin) removes a link: it stays on record as removed and fundraiser_resource.removed is published. Removing a removed link answers the same. While this link holds "Send gifts straight to", 409 payout_on: turn that off first.

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 fundraiser.

Type
string
Required
Format
"uuid"
linkId*
Type
string
Required
Format
"uuid"

Responses​

Removed.

application/json
JSON
{
"id": "string",
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Send the provider a reminder​

POST
/fundraisers/{id}/resources/{linkId}/remind

The fundraiser's organizer nudges a provider that hasn't answered (board FrPagePending): only while the link is requested (409 not_waiting once it answered), and at most once every 3 days (429 nudge_too_soon with details.next_at). The provider's managers get a bell; the help is never named on a sensitive topic. Audited (fundraiser_resource.nudged). Answers the organizer's view.

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 fundraiser.

Type
string
Required
Format
"uuid"
linkId*

The link.

Type
string
Required
Format
"uuid"

Responses​

Sent. The organizer's view, with when the next reminder can go.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Send gifts straight to the provider​

PUT
/fundraisers/{id}/resources/{linkId}/payout

The fundraiser's owner turns direct payout on or off. It is not a flag: turning it on changes the fundraiser's own beneficiary (beneficiary_type nonprofit, org_id the provider's non-profit, type charity), the existing non-profit beneficiary path checkout reads on every gift, in one transaction with the link, and remembers the previous beneficiary; turning it off restores exactly that. On needs a confirmed link (link_not_confirmed) to an active (provider_not_active) non-profit or church (a business or community: 422 payout_not_offered), a fundraiser not already raising for a non-profit (already_nonprofit), no waiting beneficiary invitation (beneficiary_invitation_pending), a linked person when raising for someone else (beneficiary_person_required), and the non-profit path's own checks: verified (nonprofit_not_verified), USD, no account deletion hold (account_deletion_hold) and a payout account that can receive money now (nonprofit_account_not_ready, payments_disabled). After the first gift or payment, both directions answer 409 payout_locked. A transfer, merge or decline later leaves the beneficiary as it is; off still works from that link while nothing is locked. Idempotent.

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 fundraiser.

Type
string
Required
Format
"uuid"
linkId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"on": true
}

Responses​

The organizer's view after the change.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


My help​

GET
/me/help

The signed-in person's My help summary, which only they see: the providers they saved (newest first, up to 50), their fundraisers that name help with where gifts go and each link as the organizer sees it (up to 20), and up to 3 open free stuff items (null while free stuff is off for them). Never cached.

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)

Responses​

OK

application/json
JSON
"string"

Playground​

Server
Authorization

Samples​


Events​

Events (#2483): the list of live events, an event page with its viewer block, and the forms on it (volunteer, sponsor this dinner, report). Behind features.events: while it is off every operation answers 404, except to staff with manage_events. Drafts, events in review and suspended events answer 404 to anyone but their hosts and staff. Refusals come as EventError.


List events​

GET
/events

Live, listed, not suspended events as list rows: upcoming (soonest first, the default) or past (latest first). Feeds /events, city, community and host pages and the Fundly page. Filters take an id or a slug (member and fundraiser: an id). A sponsor's events are the ones it hosts and the ones it sponsors (sponsor_role for one of the two). A community's active members also get its members-only events that are not listed on /events (#2495). The first page (no cursor) says how many rows the filters match in all (total). No account needed; 404 while Events are switched off (features.events).

Authorizations​

or
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​

Query Parameters

when
Type
string
Valid values
"upcoming""past"
Default
"upcoming"
city

A city place's id or slug.

Type
string
price
Type
string
Valid values
"free""paid"
community

Id or slug of a hosting community.

Type
string
organization

Id or slug of a hosting non-profit or church.

Type
string
sponsor

Id or slug of a sponsor that hosts or sponsors.

Type
string
sponsor_role

With sponsor (#2495), only the events it hosts or only the ones it sponsors; both when left out.

Type
string
Valid values
"hosting""sponsoring"
member

A hosting member.

Type
string
Format
"uuid"
fundraiser

A Fundly the events raise money for.

Type
string
Format
"uuid"
cursor

next_cursor of the page before.

Type
string
limit
Type
integer
Default
20
Maximum
50

Responses​

One page of rows.

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Event link-preview image​

GET
/events/slug/{slug}/og-image

The event's 1200×630 Open Graph picture: its complete cover fitted inside the frame without cropping invitation text or logos, or a card with its title, date and place. Public and cached for five minutes, one answer per URL whoever asks; an event a stranger may not see is the same 404 as an unknown link.

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

lang

Language to render in. Without it the locale cookie, then Accept-Language, decide.

Type
string
Valid values
"en""ru""uk""es"
v

The cover and preview-layout version, so a new cover or layout is a new URL. Ignored by the server.

Type
string
shape

The complete cover fitted inside this shape. Unused space uses the event theme background.

Type
string
Valid values
"square""4x3""16x9"

Responses​

The picture.

Playground​

Server
Variables
Key
Value

Samples​


Event square share poster​

GET
/events/slug/{slug}/share-poster

A 1080×1080 picture for feed posts (#2490). Same data, language rules, caching and 404 as the link-preview image.

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

lang

Language to render in. Without it the locale cookie, then Accept-Language, decide.

Type
string
Valid values
"en""ru""uk""es"
v

The cover's version, so a new cover is a new URL. Ignored by the server.

Type
string

Responses​

The picture.

Playground​

Server
Variables
Key
Value

Samples​


Event story card​

GET
/events/slug/{slug}/share-story

A 1080×1920 picture for Instagram and Facebook Stories (#2490). Same data, language rules, caching and 404 as the link-preview image.

Parameters​

Path Parameters

slug*
Type
string
Required

Query Parameters

lang

Language to render in. Without it the locale cookie, then Accept-Language, decide.

Type
string
Valid values
"en""ru""uk""es"
v

The cover's version, so a new cover is a new URL. Ignored by the server.

Type
string

Responses​

The picture.

Playground​

Server
Variables
Key
Value

Samples​


The event page​

GET
/events/slug/{slug}

The event, its days, hosts, ticket types with availability, sponsors, volunteer roles with open slots, linked Fundlies with raised, photos, the computed sale status and the viewer block. A live event that is not suspended is public; a draft, an event in review, with changes requested, rejected or suspended answers 404 to anyone but its hosts and staff. An old link answers 301 to the current one. Never cached by a shared cache.

Authorizations​

or
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

slug*
Type
string
Required

Responses​

The page.

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


People going to an event​

GET
/events/{id}/going

A private, no-store, paginated identity list. Public readers see only active opted-in buyer profiles. Accepted hosts and authorized event staff may also see member guests and named guests without accounts. Emails, booking/payment details and ticket codes are never included. The event-page visibility gate applies; hidden attendee lists return 404. Each request rechecks the viewer's access.

Authorizations​

or
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*
Type
string
Required
Format
"uuid"

Query Parameters

cursor
Type
string
limit
Type
integer
Default
25
Minimum
1
Maximum
100

Responses​

The people visible to this viewer, the total attendance count and next cursor.

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Volunteer from the page​

POST
/events/{id}/volunteer-signups

A sign-up to a role open to sign-ups, on a live event that has not ended, for the hosts to approve (requested). Signed in, the person is the volunteer; signed out, name and email are required. 5 a minute per address.

Authorizations​

or
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
{
"profile_id": "string",
"name": "string",
"email": "string",
"phone": "string",
"note": "string"
}

Responses​

Signed up.

application/json
JSON
{
"id": "string",
"status": "string"
}

Playground​

Server
Variables
Key
Value
Body

Samples​


"Sponsor this dinner"​

POST
/events/{id}/sponsor-requests

A business asks to sponsor a live event that has not ended; the hosts see it in the Sponsors tab. 5 a minute per address.

Authorizations​

or
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
{
"business_name": "string",
"contact_name": "string",
"email": "string",
"message": "string"
}

Responses​

Sent.

application/json
JSON
{
"id": "string",
"status": "string"
}

Playground​

Server
Variables
Key
Value
Body

Samples​


Report an event​

POST
/events/{id}/report

"Something wrong with this event? Report". Signed in with a verified email; one report per person and event (a second replaces the first). Hosts cannot report their own event. Staff review reports; nothing is taken down automatically.

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
{
"reason": "string",
"details": "string"
}

Responses​

Reported.

application/json
JSON
{
"id": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Events · Hosts​

Hosting an event (#2483): start and edit it, its days and Fundly shares, ticket types, co-hosts, volunteers, sponsors, photos and recap, submit, duplicate, postpone and cancel; and the caller's own lists. An event's routes are for its accepted hosts (whoever acts for an accepted host row: the member, a non-profit or church's owners and admins, a community's owner and leaders, a sponsor's owner and admins) and staff with manage_events; anyone else gets 404. A rule's refusal is 409 not_allowed with details.reason, the same i18n key the page's viewer block shows. Behind features.events.


Start an event (a draft)​

POST
/events

A new draft with its main host: an identity the caller acts for (host: themselves, a non-profit or church they manage, a community they lead, a sponsor they own; themselves when left out). FundlyHub is never automatically added. A super administrator or ambassador can explicitly select {kind: platform, id: null}. Only a super administrator may select another identity with accept_without_invitation: true. time_zone is required; anything else already typed may come along. A free event gets its RSVP ticket type. The link is made from the title when not given.

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)

Request Body​

application/json
JSON
{
"slug": "string",
"title": "string",
"subtitle": "string",
"about_html": "string",
"program": [
{
"time": "string",
"label": "string"
}
],
"category": "string",
"cover_image": "string",
"cover_image_focal_x": 0,
"cover_image_focal_y": 0,
"cover_video_url": "string",
"page_theme": "string",
"attendance": "string",
"online_url": "string",
"venue_place_id": "string",
"venue_address": {
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postal_code": "string",
"country": "string",
"lat": 0,
"lng": 0
},
"venue_name": "string",
"venue_details": "string",
"venue_tba": true,
"city_place_id": "string",
"address_visibility": "string",
"time_zone": "America/Los_Angeles",
"registration": "string",
"capacity": 0,
"vip_reserved_seats": 0,
"plus_ones": 0,
"ticket_scope": "string",
"approval_required": true,
"waitlist_enabled": true,
"guests_without_account": true,
"ask_guest_details": true,
"show_attendees": true,
"guest_list_public": true,
"gift_prompt": true,
"count_ticket_money": true,
"free_cancellation_until": "string",
"listed": true,
"members_only_community_id": "string"
}

Responses​

The draft.

application/json
JSON
{
"id": "string",
"slug": "string"
}

Playground​

Server
Authorization
Body

Samples​


Delete a draft​

DELETE
/events/{id}

An event that never went live (draft, changes requested or rejected). It is kept, marked deleted, and answers 404 from then on.

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"

Responses​

Done.

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Edit an event​

PATCH
/events/{id}

Saved as the host types. Editable until the event ends (not when rejected, cancelled, or, for hosts, suspended). A venue sets the city to the venue's. On a live event a changed place is published as event.rescheduled; a live event must keep a title and a place. Answers with the page.

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
"string"

Responses​

The page after the change.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Check an event link​

GET
/events/{id}/slug-check

May this event use the link: not invalid, not reserved, not another event's (now or before). The event's own earlier links are free for it.

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"

Query Parameters

slug*
Type
string
Required

Responses​

The answer.

application/json
JSON
{
"slug": "string",
"available": true,
"reason": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Save the days​

PUT
/events/{id}/days

The whole list (at most 14), each ending after it starts; sorted by start. A day keeps its id when the list names it. Removing a day a ticket type is for answers 409 day_in_use. A live event keeps at least one day; a changed date or time on it is published as event.rescheduled.

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
{
"days": [
{
"id": "string",
"starts_at": "string",
"ends_at": "string"
}
]
}

Responses​

The days.

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

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


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​


Submit for review​

POST
/events/{id}/submit

Needs a verified email, a title, a date, a place (a venue, online, or to be announced), Fundly shares adding up to 100 and a ticket type (event_incomplete, details.problems are i18n keys). Hosts send it to staff review (event.submitted); staff with manage_events publish it at once (event.approved, not reviewed).

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"

Responses​

The new status.

application/json
JSON
{
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Duplicate an event​

POST
/events/{id}/duplicate

A new draft with the event's details, days, Fundly shares, ticket types (not stopped or code-only ones) and volunteer roles, hosted by the host the caller acts for.

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"

Responses​

The copy.

application/json
JSON
{
"id": "string",
"slug": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Postpone a live event​

POST
/events/{id}/postpone

With new days, or none for "new date coming". Tickets stay valid. Published as event.postponed.

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
{
"days": [
{
"id": "string",
"starts_at": "string",
"ends_at": "string"
}
]
}

Responses​

The page.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Cancel a live event​

POST
/events/{id}/cancel

Sales stop and the page says it is cancelled; it stays up so shared links still explain. Published as event.cancelled. Refunds arrive with tickets (phase 6).

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"

Responses​

The page.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add a ticket type​

POST
/events/{id}/ticket-types

At most 20. A free event's types are $0 (free_event_price); the value of the dinner is at most the price; "only with a code" needs access_code; "members of a host community" needs a community host (no_host_community); a "one day each" event gives each type its day (day_required, unknown_day).

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
{
"name": "string",
"description": "string",
"price_cents": 0,
"goods_value_cents": 0,
"seats_per_ticket": 0,
"quantity": 0,
"sales_start": "string",
"sales_end": "string",
"min_per_order": 0,
"max_per_order": 0,
"access": "string",
"access_code": "string",
"hidden": true,
"event_day_id": "string"
}

Responses​

The type.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete a ticket type​

DELETE
/events/{id}/ticket-types/{typeId}

Only one that never sold (ticket_type_has_sales); a free event keeps one open RSVP type (rsvp_type_required).

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"
typeId*

The ticket type.

Type
string
Required
Format
"uuid"

Responses​

Done.

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Change a ticket type​

PATCH
/events/{id}/ticket-types/{typeId}

Only while it has sold nothing (ticket_type_has_sales) and is not stopped (ticket_type_stopped); the same rules as adding.

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"
typeId*

The ticket type.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

The type.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Stop selling a ticket type​

POST
/events/{id}/ticket-types/{typeId}/stop

Its tickets stay valid. The way to end a type that has sold.

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"
typeId*

The ticket type.

Type
string
Required
Format
"uuid"

Responses​

The type.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Save the co-host list​

PUT
/events/{id}/hosts

The editor's whole host list, including any explicitly selected platform row, saved atomically by draft autosave or live Save changes. Omitted rows are removed; existing rows keep their status unless a super administrator explicitly accepts a pending invitation with accept_without_invitation: true. Adding platform requires super_admin or ambassador; an authorized editor can keep or remove an existing platform row. Non-staff must keep one accepted host (last_host). Invitations and acceptance events are sent only after commit, once; repeating the saved list sends no duplicate invitation or acceptance.

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
{
"hosts": [
]
}

Responses​

What the save changed.

application/json
JSON
{
"added": [
{
"id": "string",
"status": "string",
"target": {
"kind": "string",
"id": "string"
}
}
],
"removed": [
"string"
]
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Invite a co-host​

POST
/events/{id}/hosts

A member, non-profit or church, community or sponsor business. It shows on the page once it accepts (event_host.invited); one the caller acts for is added accepted at once (event_host.accepted). An explicit super-admin override accepts immediately without sending an invitation. Only a super administrator or ambassador can add FundlyHub as an explicit platform host. A declined host can be invited again. At most 10.

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
"string"

Responses​

The host row.

application/json
JSON
{
"id": "string",
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Remove a co-host​

DELETE
/events/{id}/hosts/{hostId}

An authorized editor can remove any host including an explicit FundlyHub row; the event keeps one accepted host (last_host, staff excepted).

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"
hostId*

The host row.

Type
string
Required
Format
"uuid"

Responses​

Done.

Playground​

Server
Authorization
Variables
Key
Value

Samples​


The Volunteers tab​

GET
/events/{id}/volunteers

The roles with filled and open slots, and everyone in them.

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"

Responses​

Roles and volunteers.

application/json
JSON
{
"roles": [
],
"volunteers": [
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add a volunteer role​

POST
/events/{id}/volunteer-roles

At most 30.

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
{
"name": "string",
"description": "string",
"starts_at": "string",
"ends_at": "string",
"slots": 0,
"signup": "string",
"can_check_in": true,
"can_upload_photos": true,
"free_seat": true
}

Responses​

The role.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete a volunteer role​

DELETE
/events/{id}/volunteer-roles/{roleId}

With everyone in it.

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"
roleId*

The role.

Type
string
Required
Format
"uuid"

Responses​

Done.

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Change a volunteer role​

PATCH
/events/{id}/volunteer-roles/{roleId}

Slots never drop below the people confirmed (slots_below_confirmed).

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"
roleId*

The role.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

The role.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Add a volunteer​

POST
/events/{id}/volunteer-roles/{roleId}/volunteers

A member (profile_id, invited) or someone without an account (name and email, confirmed; role_full when every slot is filled).

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"
roleId*

The role.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

The volunteer.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Remove a volunteer​

DELETE
/events/{id}/volunteers/{volunteerId}

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"
volunteerId*

The volunteer.

Type
string
Required
Format
"uuid"

Responses​

Done.

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Change a volunteer​

PATCH
/events/{id}/volunteers/{volunteerId}

Name, email, phone and note.

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"
volunteerId*

The volunteer.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

The volunteer.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Approve a sign-up​

POST
/events/{id}/volunteers/{volunteerId}/approve

A requested sign-up becomes confirmed (not_requested, role_full).

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"
volunteerId*

The volunteer.

Type
string
Required
Format
"uuid"

Responses​

The volunteer.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Decline a sign-up or an invitation​

POST
/events/{id}/volunteers/{volunteerId}/decline

not_pending otherwise.

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"
volunteerId*

The volunteer.

Type
string
Required
Format
"uuid"

Responses​

The volunteer.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


The Sponsors tab​

GET
/events/{id}/sponsors

Every sponsor, with the hosts' bookkeeping, and the requests from the page, newest first.

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"

Responses​

Sponsors and requests.

application/json
JSON
{
"sponsors": [
],
"requests": [
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add a sponsor​

POST
/events/{id}/sponsors

At most 50; one presenting sponsor (presenting_sponsor_taken); each FundlyHub partner once (sponsor_already_added); a partner the candidate search would not show is not_found.

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
"string"

Responses​

The sponsor.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Reorder the sponsors​

PUT
/events/{id}/sponsors/order

Every sponsor id once, in the new order (order_mismatch).

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
{
"ids": [
"string"
]
}

Responses​

The sponsors.

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

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Remove a sponsor​

DELETE
/events/{id}/sponsors/{sponsorId}

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"
sponsorId*

The sponsor row.

Type
string
Required
Format
"uuid"

Responses​

Done.

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Change a sponsor​

PATCH
/events/{id}/sponsors/{sponsorId}

A FundlyHub partner's name, logo and page come from its own page (fundlyhub_sponsor_profile).

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"
sponsorId*

The sponsor row.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

The sponsor.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete a sponsor request​

DELETE
/events/{id}/sponsor-requests/{requestId}

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"
requestId*

The request.

Type
string
Required
Format
"uuid"

Responses​

Done.

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Answer a sponsor request​

PATCH
/events/{id}/sponsor-requests/{requestId}

Mark it replied, added or dismissed. Stays open after the event.

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"
requestId*

The request.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"status": "string"
}

Responses​

The request.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


The gallery​

GET
/events/{id}/photos

Every photo, those to review and hidden too.

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"

Responses​

Photos.

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add a photo​

POST
/events/{id}/photos

Uploaded with POST /storage/upload. Hosts add it shown (optionally as the cover); a confirmed volunteer in a role that may upload photos may add one too, and it waits as to_review. At most 200.

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
{
"url": "string",
"is_cover": true,
"focal_x": 0,
"focal_y": 0
}

Responses​

The photo.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Reorder the gallery​

PUT
/events/{id}/photos/order

Every photo id once, in the new order (order_mismatch).

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
{
"ids": [
"string"
]
}

Responses​

Photos.

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

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Delete a photo​

DELETE
/events/{id}/photos/{photoId}

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"
photoId*

The photo.

Type
string
Required
Format
"uuid"

Responses​

Done.

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Show, hide or make the cover​

PATCH
/events/{id}/photos/{photoId}

The cover is one shown photo (cover_must_show); only a hidden photo has a reason (reason_for_hidden_only).

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"
photoId*

The photo.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"status": "string",
"hidden_reason": "string",
"is_cover": true,
"focal_x": 0,
"focal_y": 0
}

Responses​

The photo.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Write the recap​

PATCH
/events/{id}/recap

Any time a live event is not cancelled; published once it has ended.

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
"string"

Responses​

The recap.

application/json
JSON
{
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Publish the recap​

POST
/events/{id}/recap/publish

Once the event has ended (not_allowed, events.viewer.reasons.not_ended before). Published as event.recap_published, with whether to email the guests.

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
{
"email_guests": true
}

Responses​

The page.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Accept a co-host invitation​

POST
/event-hosts/{id}/accept

By someone who acts for the invited host. The host then shows on the page (event_host.accepted).

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 invitation (host row).

Type
string
Required
Format
"uuid"

Responses​

Accepted.

application/json
JSON
{
"id": "string",
"event_id": "string",
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Decline a co-host invitation​

POST
/event-hosts/{id}/decline

By someone who acts for the invited host.

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 invitation (host row).

Type
string
Required
Format
"uuid"

Responses​

Declined.

application/json
JSON
{
"id": "string",
"event_id": "string",
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Your events​

GET
/me/events

Hosting: every event (any state but deleted) with an accepted host the caller acts for, latest first (items); with as, only the events that one identity hosts (a workspace's Events tab, #2494). Going (#2487): every event the caller holds tickets for, as the buyer or a guest named on a ticket, as upcoming (soonest first) and past (latest first), each row with their tickets.

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​

Query Parameters

tab
Type
string
Valid values
"hosting""going"
Default
"hosting"

Responses​

Rows.

application/json
JSON
{
"items": [
],
"upcoming": [
],
"past": [
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Co-host invitations for you​

GET
/me/event-host-invitations

Invitations naming the caller or a non-profit, church, community or sponsor they act for, newest first; with as, only those naming that one identity (#2494). Each invitation also reaches the people who can answer it as a bell notice and an email (event_host_invited, metadata hostId).

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​

Responses​

Invitations.

application/json
JSON
{
"items": [
{
"id": "string",
"as": {
"kind": "string",
"id": "string",
"name": "string"
},
"invited_at": "string",
"event": "string"
}
]
}

Playground​

Server
Authorization

Samples​


Find an Event member, co-host or sponsor identity​

GET
/me/event-candidates

A fresh authenticated identity lookup for Event editors. Names and profile handles are searched directly; no email or private biography is searched or returned. Inactive/deleting members are excluded. Sponsor choices do not require discoverable perks: public sponsor pages are available, while private applications require current sponsor-team or sponsor-specific staff authority. Returned identity fields are minimal. Responses use private, no-store caching and vary by Cookie and Authorization.

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​

Query Parameters

q

Fewer than two characters return no choices.

Type
string
Max Length
80
kind
Type
string
Valid values
"all""member""organization""community""sponsor"
Default
"all"
limit
Type
integer
Minimum
1
Maximum
20
Default
10

Responses​

Matching identities, without private contact or sponsor bookkeeping fields.

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

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Who you can host as​

GET
/me/event-identities

The identities the caller can host an event as (#2494): themself, and each non-profit, church, community and sponsor business they act for; staff publishing access and separate strict role-based host capabilities. Platform choice is for super administrators or ambassadors; consent override is for super administrators only. The app shows its Events tabs and "Host an event" only once this answers 200: a 404 means Events are switched off for the caller.

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)

Responses​

Identities.

application/json
JSON
{
"items": [
{
"kind": "string",
"id": "string",
"name": "string"
}
],
"staff": true,
"can_accept_host_invitations": true,
"can_host_as_platform": true
}

Playground​

Server
Authorization

Samples​


Saved venues​

GET
/me/event-venues

The open premises (with an address) of the non-profits, churches, communities and sponsors the caller acts for, to pick as a venue (venue_place_id).

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)

Responses​

Venues.

application/json
JSON
{
"items": [
{
"id": "string",
"label": "string",
"owner": {
"kind": "string",
"id": "string",
"name": "string"
},
"place": {
"additionalProperties": "string"
}
}
]
}

Playground​

Server
Authorization

Samples​


Events · Tickets​

Tickets (#2487): checkout (hold seats for 10 minutes, fill in, pay), the order and its receipt, cancelling and asking for a refund, the ticket (its code is the ticket), its Apple Wallet pass and calendar file, the waitlist, and a volunteer answering an invitation. One card payment on the platform account is split into one ordinary gift per linked Fundly by its share. Behind features.events. A rule's refusal is 409 not_allowed with details.reason.


Start checkout​

POST
/events/{id}/orders

Holds seats for 10 minutes: under the event's row lock, the seats left are counted (capacity, each ticket type, per day for "one day each") and a held order with one ticket per seat is written. Prices, the value of the dinner and the Fundly shares are copied onto it. Signed out (when the event takes guests without an account), buyer_name and buyer_email are required and the answer carries the order link's access_token, once. A buyer's earlier held order for the event is released. 5 a minute per address. With Idempotency-Key (#2709), a repeat with the same key and body answers the order the first made (a guest's access_token too) instead of holding seats twice; another body is 409 idempotency_conflict, a repeat while the first still runs 409 request_in_progress. No seat needs a name or an email (#2709): a reservation is one name and a party size.

Authorizations​

or
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​

Header Parameters

Idempotency-Key

Optional (#2709): 16 to 200 of [A-Za-z0-9_.:-], a uuid. Kept two days, scoped to the endpoint, the event and the caller.

Type
string
Pattern
"^[A-Za-z0-9_.:-]{16,200}$"

Path Parameters

id*

The event's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"lines": [
{
"ticket_type_id": "string",
"quantity": 0
}
],
"event_day_id": "string",
"access_code": "string",
"buyer_name": "string",
"buyer_email": "string",
"language": "string",
"ref": "string",
"show_attending": true
}

Responses​

Held.

application/json
JSON
{
"order": "string",
"access_token": "string",
"hold_minutes": 0
}

Playground​

Server
Headers
Variables
Key
Value
Body

Samples​


An order​

GET
/event-orders/{id}

The buyer's order (by account or the order link) or, for the event's hosts and staff, any of its orders.

Authorizations​

or
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​

Header Parameters

X-Order-Token

The order link's token, for a buyer without an account.

Type
string

Path Parameters

id*

The order's id.

Type
string
Required
Format
"uuid"

Query Parameters

token

The order link's token (or send it as X-Order-Token), for a buyer without an account. The buyer's first ticket code works too.

Type
string

Responses​

The order.

application/json
JSON
"string"

Playground​

Server
Headers
Variables
Key
Value

Samples​


Fill in an order​

PATCH
/event-orders/{id}

While held: guests' names and emails, dietary needs, a gift, covering the card fee. Totals are recomputed; a PaymentIntent already made follows the new total.

Authorizations​

or
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​

Header Parameters

X-Order-Token

The order link's token, for a buyer without an account.

Type
string

Path Parameters

id*

The order's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"buyer_name": "string",
"buyer_email": "string",
"language": "string",
"show_attending": true,
"gift_cents": 0,
"cover_fee": true,
"tickets": [
{
"id": "string",
"guest_name": "string",
"guest_email": "string",
"dietary": "string",
"dietary_note": "string"
}
]
}

Responses​

The order.

application/json
JSON
"string"

Playground​

Server
Headers
Variables
Key
Value
Body

Samples​


Pay for an order​

POST
/event-orders/{id}/pay

Free: confirmed at once (requested when the hosts approve each reservation). Paid: a PaymentIntent on the platform account (no destination; metadata.kind = event_order, metadata.order_id; manual capture when approval is on, charged only when a host approves), and its client secret. The money is split into one ordinary gift per Fundly when the payment succeeds (the Stripe webhook). With the one sheet (#2581, while features.donate_sheet_v2 is on for the buyer) the body carries the way to pay: the order is priced with that method's fee, the PaymentIntent takes that method only and is confirmed by the server. A US bank debit that is processing issues the tickets at once and leaves the order clearing; a bank debit the bank returns later cancels the order. Bank is refused for an order the hosts approve and for an event less than 7 days away.

Authorizations​

or
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​

Header Parameters

X-Order-Token

The order link's token, for a buyer without an account.

Type
string

Path Parameters

id*

The order's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"confirmation_token_id": "string",
"payment_method_id": "string",
"save_payment_method": true,
"save_consent_version": "string",
"expected_total_cents": 0,
"return_url": "string"
}

Responses​

The order, and the payment to confirm (null when free).

application/json
JSON
{
"order": "string",
"payment": {
"client_secret": "string",
"payment_intent_id": "string",
"amount_cents": 0,
"capture": "string",
"status": "string",
"stripe_fee_cents": 0,
"net_amount_cents": 0,
"fee_kind": "string"
}
}

Playground​

Server
Headers
Variables
Key
Value
Body

Samples​


Settle an order right after its card payment​

POST
/event-orders/{id}/confirm-payment

Called by checkout right after the card is confirmed, so the ticket shows without waiting for the Stripe webhook. The server reads the order's own PaymentIntent from Stripe (never one the caller names) and, when it succeeded, records the order paid through the same idempotent path as the webhook (the order paid once, its money split once per Fundly); a card authorized for an order that needs the hosts' approval makes it a request. The webhook that arrives afterwards changes nothing. Any other payment state, or Stripe being unreachable, leaves the order as it is: keep reading GET /event-orders/{id}. The buyer only: by account or the order link's token.

Authorizations​

or
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​

Header Parameters

X-Order-Token

The order link's token, for a buyer without an account.

Type
string

Path Parameters

id*

The order's id.

Type
string
Required
Format
"uuid"

Responses​

The order as it is now.

application/json
JSON
"string"

Playground​

Server
Headers
Variables
Key
Value

Samples​


Cancel an order​

POST
/event-orders/{id}/cancel

Withdraw a request (the card's hold is released), or cancel before the free-cancellation date (a free RSVP: until the event starts), refunded in full through each gift's refund path. The seats go back and the waitlist is offered them. The buyer only: by account, the order link's token, or buyer_code, the code of the order's first ticket (what the ticket email's link carries). Anyone else, and a wrong code, gets 404.

Authorizations​

or
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​

Header Parameters

X-Order-Token

The order link's token, for a buyer without an account.

Type
string

Path Parameters

id*

The order's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"buyer_code": "string"
}

Responses​

The order.

application/json
JSON
"string"

Playground​

Server
Headers
Variables
Key
Value
Body

Samples​


Ask the hosts for a refund​

POST
/event-orders/{id}/refund-request

After the free-cancellation date and until 30 days after the event: the hosts (or staff) refund or decline it. One open request per order. The buyer proves the order as for cancel (account, token or buyer_code).

Authorizations​

or
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​

Header Parameters

X-Order-Token

The order link's token, for a buyer without an account.

Type
string

Path Parameters

id*

The order's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"reason": "string",
"note": "string",
"buyer_code": "string"
}

Responses​

The order.

application/json
JSON
"string"

Playground​

Server
Headers
Variables
Key
Value
Body

Samples​


The receipt of an order​

GET
/event-orders/{id}/receipt

Who may see the order may see its receipt. It exists from the moment the order is paid: while a US bank payment is still in progress, payment.state is in_progress and payment.bank_arrival is the day the money is expected. receipt_email.sent_to lists where copies went for the buyer only.

Authorizations​

or
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​

Header Parameters

X-Order-Token

The order link's token, for a buyer without an account.

Type
string

Path Parameters

id*

The order's id.

Type
string
Required
Format
"uuid"

Query Parameters

code

The order's party code (or its first ticket's code), the buyer's proof from the "You're going" email's View receipt (#2709).

Type
string
Pattern
"^[A-Za-z0-9_-]{22}$"
token

The order link's token (or send it as X-Order-Token), for a buyer without an account. The buyer's first ticket code works too.

Type
string

Responses​

The receipt.

application/json
JSON
"string"

Playground​

Server
Headers
Variables
Key
Value

Samples​


Email a copy of an order's receipt​

POST
/event-orders/{id}/receipt/email

The buyer mails a copy of the order's receipt to any address, at most 5 per order. The buyer only (not a host, not staff): by account, the order's token, or buyer_code. The copy carries the receipt and a link to the event's page, never a ticket. An order whose US bank payment is still in progress sends the receipt that says so. Rate limited at 5 requests/minute per IP.

Authorizations​

or
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​

Header Parameters

X-Order-Token

The order link's token, for a buyer without an account.

Type
string

Path Parameters

id*

The order's id.

Type
string
Required
Format
"uuid"

Query Parameters

token

The order link's token (or send it as X-Order-Token), for a buyer without an account. The buyer's first ticket code works too.

Type
string

Request Body​

application/json
JSON
{
"email": "string",
"buyer_code": "string"
}

Responses​

Sent, or queued and on its way.

application/json
JSON
{
"sent_to": "string",
"queued": true,
"receipt_email": "string"
}

Playground​

Server
Headers
Variables
Key
Value
Body

Samples​


A ticket​

GET
/event-tickets/{code}

Whoever holds the code. Always the reservation's ticket layout (PartyTicket, kind: party, #2709). An order's party code answers the reservation. A legacy per-seat code answers the reservation too when it is the buyer's own seat or the reader is the buyer (its url carries the party code: the page moves there); any other seat (one a buyer sent a guest) answers that seat alone, with seat set and no party code, payment, receipt or actions. A request the hosts have not approved shows no code (code: null). Answers Referrer-Policy: no-referrer, never cached, never indexed.

Authorizations​

or
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

code*

The ticket's code: 16 random bytes, base64url (22 characters). It is the ticket.

Type
string
Required
Pattern
"^[A-Za-z0-9_-]{22}$"

Responses​

The ticket.

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


A party's QR as a PNG​

GET
/event-tickets/{code}/qr.png

The QR of an order's party code (#2709), for the "You're going" email (an image in mail cannot be a data URI). Only an order that admits someone has one; anything else is a 404. The same code is the same image: Cache-Control: public, max-age=86400.

Authorizations​

or
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

code*

The ticket's code: 16 random bytes, base64url (22 characters). It is the ticket.

Type
string
Required
Pattern
"^[A-Za-z0-9_-]{22}$"

Responses​

The PNG.

image/png

Playground​

Server
Variables
Key
Value

Samples​


A ticket's Apple Wallet pass​

GET
/event-tickets/{code}/wallet

An eventTicket .pkpass with the ticket's QR code, the date, the venue and a reminder near it. Off (404) unless the server's EVENT_WALLET_ENABLED is on (#2709); nothing links to it while it is off. 503 wallet_unavailable until the Pass Type ID certificate set is configured.

Authorizations​

or
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

code*

The ticket's code: 16 random bytes, base64url (22 characters). It is the ticket.

Type
string
Required
Pattern
"^[A-Za-z0-9_-]{22}$"

Responses​

The pass.

application/vnd.apple.pkpass

Playground​

Server
Variables
Key
Value

Samples​


The calendar file​

GET
/events/{id}/calendar.ics

One VEVENT per day, a stable UID and a SEQUENCE that grows with every change. A hidden address shows only with ?ticket= a ticket of the event.

Authorizations​

or
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"

Query Parameters

ticket
Type
string

Responses​

The file.

text/calendar
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Join the waitlist​

POST
/events/{id}/waitlist

A sold-out event with the waitlist on. When seats come back the next people in line whose seats fit get them for 24 hours. Signed out, name and email; the answer carries the place's token, once.

Authorizations​

or
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
{
"ticket_type_id": "string",
"event_day_id": "string",
"quantity": 0,
"name": "string",
"email": "string",
"language": "string"
}

Responses​

On the list.

application/json
JSON
{
"entry": "string",
"token": "string"
}

Playground​

Server
Variables
Key
Value
Body

Samples​


Notify me when tickets go on sale​

POST
/events/{id}/sale-alert

While an event's tickets are not on sale yet (sale_status not_on_sale_yet), ask to be told when they are. Signed in, one click (the account; viewer.sale_alert then reads true); signed out, an email. One per person or email per event; asking again answers already. When sales open (the sales start passes, or a host or staff opens them) each one gets one email, and a member a bell notice, in the Events email category (one-click unsubscribe).

Authorizations​

or
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
{
"email": "string",
"language": "string"
}

Responses​

Already on the list.

application/json
JSON
{
"state": "string"
}

Playground​

Server
Variables
Key
Value
Body

Samples​


Leave the waitlist​

DELETE
/events/{id}/waitlist/me

An offer given back goes to the next person in line.

Authorizations​

or
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​

Header Parameters

X-Order-Token

The order link's token, for a buyer without an account.

Type
string

Path Parameters

id*

The event's id.

Type
string
Required
Format
"uuid"

Query Parameters

token

The order link's token (or send it as X-Order-Token), for a buyer without an account. The buyer's first ticket code works too.

Type
string

Responses​

Left.

Playground​

Server
Headers
Variables
Key
Value

Samples​


Claim a waitlist offer​

POST
/event-waitlist/{id}/claim

The offer becomes a held order to pay, kept until the offer runs out.

Authorizations​

or
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​

Header Parameters

X-Order-Token

The order link's token, for a buyer without an account.

Type
string

Path Parameters

id*

The waitlist place's id.

Type
string
Required
Format
"uuid"

Responses​

The order.

application/json
JSON
"string"

Playground​

Server
Headers
Variables
Key
Value

Samples​


Confirm a volunteer invitation​

POST
/event-volunteers/{id}/confirm

The member a host invited to a role says yes. A full role takes no more.

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 volunteer row's id.

Type
string
Required
Format
"uuid"

Responses​

Confirmed.

application/json
JSON
{
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Decline a volunteer invitation​

POST
/event-volunteers/{id}/decline

The member a host invited says no.

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 volunteer row's id.

Type
string
Required
Format
"uuid"

Responses​

Declined.

application/json
JSON
{
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Events · People​

People and the door (#2487): the hosts' guest list and export, adding people, approving requests, refunds and refund requests, the waitlist, messaging guests, and door check-in (also for volunteers whose role checks people in, during the event), offline with a batch sync. For an event's accepted hosts and staff with manage_events. Behind features.events.


People​

GET
/events/{id}/people

Every order with its tickets, the counts (going, members and guests, checked in, requests, refund requests, waitlist, revenue) and the waitlist. One row per reservation (#2709): party_code (null until the order admits anyone), party_size, checked_in_count, vip, invite_id. q matches the buyer's and named guests' names and emails, a VIP guest's email and the order number ("1042" or "#1042"). revenue_cents is ticket revenue: the tickets' money only, never gifts or a fee the buyer covered.

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"

Query Parameters

status
Type
string
Valid values
"going""requested""checked_in""not_checked_in""refunds""cancelled"
q
Type
string

Responses​

People.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add people​

POST
/events/{id}/people

A member or someone without an account: a comp or paid outside FundlyHub (confirmed at once, no money), or a payment link (held 48 hours and emailed). Hidden ticket types may be used. A comp may instead explicitly request complimentary admission. A genuinely unconfigured free event first restores its canonical public RSVP types (one per saved day for one-day-each events); otherwise a hidden free admission type is reused or created atomically without changing configured ticket sales or registration. Select a saved event day for one-day-each admission. Audited. With Idempotency-Key (#2709) a repeat answers the order the first added (and its payment_link_token).

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​

Header Parameters

Idempotency-Key

Optional (#2709): 16 to 200 of [A-Za-z0-9_.:-], a uuid. Kept two days, scoped to the endpoint, the event and the caller.

Type
string
Pattern
"^[A-Za-z0-9_.:-]{16,200}$"

Path Parameters

id*

The event's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
"string"

Responses​

Added.

application/json
JSON
{
"id": "string",
"status": "string",
"payment_link_token": "string"
}

Playground​

Server
Authorization
Headers
Variables
Key
Value
Body

Samples​


Add many people​

POST
/events/{id}/people/bulk

Up to 200 people at once (#2716) with the settings of one add (see Add people): each row is added in order by the single add, in its own transaction with its own seat check, emails and audit entry; never all or nothing. A row that fails (no seats left, an invalid email, a member twice in the list) is reported and the rest are still added. A payment link needs each guest's email (a member's is their account's); send_email emails the ticket to those with an address and skips the rest. A refusal about the settings (unknown_ticket_type, free_ticket, wrong_day, ...) stops the batch: before anyone is added it is the answer, as the single add's would be; after, the rows left fail with it. With Idempotency-Key each row is kept under <key>:bulk:<index>, so a retried batch answers what each row made and adds nobody twice (a row that failed is tried again). Rate limited per account: ten batches in ten minutes, with the guest-invite bulk add.

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​

Header Parameters

Idempotency-Key

Optional (#2709): 16 to 200 of [A-Za-z0-9_.:-], a uuid. Kept two days, scoped to the endpoint, the event and the caller.

Type
string
Pattern
"^[A-Za-z0-9_.:-]{16,200}$"

Path Parameters

id*

The event's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"rows": [
],
"kind": "string",
"ticket_type_id": "string",
"complimentary_admission": true,
"quantity": 0,
"event_day_id": "string",
"language": "string",
"send_email": true
}

Responses​

Each row's result, in order.

application/json
JSON
{
"results": [
{
"index": 0,
"ok": true,
"order": {
"id": "string",
"status": "string",
"payment_link_token": "string"
}
}
],
"added": 0,
"failed": 0
}

Playground​

Server
Authorization
Headers
Variables
Key
Value
Body

Samples​


People, as a spreadsheet​

GET
/events/{id}/people.csv

One row per reservation (#2709): order, status, name, email, member, party_size, checked_in, vip, ticket_types, dietary, tickets_usd, added_by.

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"

Responses​

CSV.

text/csv
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Approve every request​

POST
/events/{id}/approve-all

One by one; a card that can't be charged declines only its own request.

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"

Responses​

What happened to each.

application/json
JSON
{
"results": [
{
"id": "string",
"status": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Offer a seat to someone in line​

POST
/events/{id}/waitlist/{entryId}/offer

Their seats for 24 hours, emailed.

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"
entryId*

The waitlist place's id.

Type
string
Required
Format
"uuid"

Responses​

Offered.

application/json
JSON
{
"id": "string",
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Message every guest​

POST
/events/{id}/message

An email (and bell) to everyone with a ticket. Audited.

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
{
"subject": "string",
"message": "string"
}

Responses​

Queued.

application/json
JSON
{
"queued": true
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Decline a refund request​

POST
/events/{id}/refund-requests/{requestId}/decline

The order stays as it is; the buyer hears it, with the note. Audited.

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"
requestId*

The refund request's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"note": "string"
}

Responses​

Declined.

application/json
JSON
{
"id": "string",
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Approve a request​

POST
/event-orders/{id}/approve

The order's event's hosts and staff. A paid request is captured (charged) and split into gifts; a free one is confirmed. A card that can't be charged declines it. Audited.

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 order's id.

Type
string
Required
Format
"uuid"

Responses​

Approved.

application/json
JSON
{
"id": "string",
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Rename a guest without an account​

POST
/event-orders/{id}/name

The order's event's hosts and staff (#2768). Corrects the name of a guest who has no FundlyHub account. The reservation, its first ticket and the VIP invite it came from all take the new name. A member's name comes from their account and is refused. Audited. A VIP invite still open is renamed with PATCH /events/{id}/guest-invites/{inviteId} and name.

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 order's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"name": "string"
}

Responses​

Renamed.

application/json
JSON
{
"id": "string",
"name": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Decline a request​

POST
/event-orders/{id}/decline

The card's hold is released; nothing is charged. Audited.

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 order's id.

Type
string
Required
Format
"uuid"

Responses​

Declined.

application/json
JSON
{
"id": "string",
"status": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Refund an order​

POST
/event-orders/{id}/refund

All of it (every ticket, the gift and a covered fee) or some tickets, until 30 days after the event. Split by the same shares across the gifts; a gift already paid out has its transfer reversed by its part; each gift's ledger reverses through the existing refund path. Any open refund request is closed as refunded. Audited, with the hosts' note, which the buyer's refund email also carries.

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 order's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"all": true,
"ticket_ids": [
"string"
],
"note": "string"
}

Responses​

Refunded.

application/json
JSON
{
"id": "string",
"status": "string",
"refunded_cents": 0
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


The door list​

GET
/events/{id}/check-in/list

The day's guest list with codes, for the door phone to keep and scan offline. Hosts and staff, and volunteers whose role checks people in (from a day before the event until it ends). Never cached.

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"

Query Parameters

day

The day (else the one under way, else the first).

Type
string
Format
"uuid"

Responses​

The list.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Find a ticket at the door​

GET
/events/{id}/check-in/search

By code (exact) or name: tickets (each with its order's party_code), and (#2709) parties by party code (exact) or holder name.

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"

Query Parameters

q*
Type
string
Required
day
Type
string
Format
"uuid"

Responses​

Matches.

application/json
JSON
{
"day_id": "string",
"tickets": [
{
"additionalProperties": "string"
}
]
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Check in​

POST
/events/{id}/check-ins

One check-in, or the batch a phone made offline with its own times (offline: true). The first check-in of a ticket on a day wins: a repeat answers already_checked_in with its time. An offline undo removes only that phone's own check-in (its client_ref). A party (#2709): { party_code, count } at the top level or as an item checks in count of the order's active seats not in yet that day, a seat at a time (undo per seat still works).

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
{
"event_day_id": "string",
"offline": true,
"party_code": "string",
"count": 0,
"items": [
{
"code": "string",
"party_code": "string",
"count": 0,
"at": "string",
"undo": true,
"client_ref": "string"
}
]
}

Responses​

Each item's result.

application/json
JSON
"string"

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


Undo a check-in​

DELETE
/events/{id}/check-ins/{ticketId}

From the door screen, for the day.

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"
ticketId*

The ticket's id.

Type
string
Required
Format
"uuid"

Query Parameters

day
Type
string
Format
"uuid"

Responses​

Undone (or it was not checked in).

application/json
JSON
{
"ticket_id": "string",
"day_id": "string",
"result": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Events · VIP guests​

VIP guests (#2709): complimentary seats inside the event's capacity, out of the hosts' reserve (vip_reserved_seats) first, then out of public seats if any remain. The hosts send a ticket at once or invite the guest to confirm, by email or by a personal short link (https://fundlyhub.org/i/<code>, 10 characters without 0 O 1 l I) they send themselves; a phone number is never sent to the server. The guest answers by the link alone: rate limited, Referrer-Policy: no-referrer, never cached or indexed, and GET changes nothing. Behind features.events.


VIP guests​

GET
/events/{id}/guest-invites

Every VIP guest of the event, newest first, and where the reserve stands. Hosts and staff (as Add people).

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"

Responses​

The invites and the reserve.

application/json
JSON
{
"invites": [
],
"vip": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Add a VIP guest​

POST
/events/{id}/guest-invites

Complimentary seats (1-20) for a member (profile_id) or a name. delivery: ticket confirms at once and issues the order; invite holds the seats until the guest confirms or declines, or until respond_by (else the event's start). The email goes when send_email is not false and there is an address (email, else the member's account email); a guest with neither gets the link only. uses_public_seats: how many of the seats came out of public sale because the reserve was used up. 409 not_allowed (events.orders.reasons.not_enough_seats, details.left) when they do not fit. Honours Idempotency-Key. Audited.

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​

Header Parameters

Idempotency-Key

Optional (#2709): 16 to 200 of [A-Za-z0-9_.:-], a uuid. Kept two days, scoped to the endpoint, the event and the caller.

Type
string
Pattern
"^[A-Za-z0-9_.:-]{16,200}$"

Path Parameters

id*

The event's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"kind": "string",
"delivery": "string",
"name": "string",
"email": "string",
"profile_id": "string",
"seats": 0,
"ticket_type_id": "string",
"respond_by": "string",
"send_email": true,
"event_day_id": "string",
"language": "string"
}

Responses​

Added.

application/json
JSON
{
"invite": "string",
"uses_public_seats": 0
}

Playground​

Server
Authorization
Headers
Variables
Key
Value
Body

Samples​


Add many VIP guests​

POST
/events/{id}/guest-invites/bulk

Up to 200 VIP guests at once (#2716) with the settings of one VIP add: each row is added in order by the single add, in its own transaction, never all or nothing; a row that does not fit or is invalid is reported and the rest are still added. A row with an email (a member's is their account's) is emailed unless send_email is false; every invite carries its link, which the hosts send to those without an email. uses_public_seats: the batch's seats that came out of public sale. A refusal about the settings (respond_by_past, unknown_ticket_type, ...) stops the batch as in Add many people. With Idempotency-Key each row is kept under <key>:bulk:<index>: a retried batch adds nobody twice. Rate limited per account: ten batches in ten minutes, with Add many people.

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​

Header Parameters

Idempotency-Key

Optional (#2709): 16 to 200 of [A-Za-z0-9_.:-], a uuid. Kept two days, scoped to the endpoint, the event and the caller.

Type
string
Pattern
"^[A-Za-z0-9_.:-]{16,200}$"

Path Parameters

id*

The event's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"rows": [
],
"kind": "string",
"delivery": "string",
"seats": 0,
"ticket_type_id": "string",
"respond_by": "string",
"send_email": true,
"event_day_id": "string",
"language": "string"
}

Responses​

Each row's result, in order.

application/json
JSON
{
"results": [
{
"index": 0,
"ok": true,
"invite": "string",
"uses_public_seats": 0
}
],
"added": 0,
"failed": 0,
"uses_public_seats": 0
}

Playground​

Server
Authorization
Headers
Variables
Key
Value
Body

Samples​


Revoke a VIP guest​

DELETE
/events/{id}/guest-invites/{inviteId}

Status revoked: the link stops working, a going guest's order is cancelled (free) and the seats go back. Refused once part of the party checked in.

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"
inviteId*
Type
string
Required
Format
"uuid"

Responses​

Revoked.

application/json
JSON
{
"invite": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​


Change a VIP guest's seats or date to answer by​

PATCH
/events/{id}/guest-invites/{inviteId}

A pending invite's hold follows its seats (more must fit). A going guest's party is lowered with them, cancelling the highest seats nobody checked in (never below those who did, 409 events.invites.reasons.below_checked_in); a ticket the host sent follows them up too, while an invited guest may raise their own party up to the new number.

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"
inviteId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"seats": 0,
"respond_by": "string",
"name": "string"
}

Responses​

Changed.

application/json
JSON
{
"invite": "string",
"uses_public_seats": 0
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


A new link​

POST
/events/{id}/guest-invites/{inviteId}/new-link

A new link code; the old link stops working (404 invite_not_found).

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)

Path Parameters

id*

The event's id.

Type
string
Required
Format
"uuid"
inviteId*
Type
string
Required
Format
"uuid"

The invite with its new link.

application/json
JSON
{
"invite": "string"
}
Server
Authorization
Variables
Key
Value

Add an email​

POST
/events/{id}/guest-invites/{inviteId}/email

Saves the address and sends what the invite's state calls for (the invitation while pending, the ticket while going).

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"
inviteId*
Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"email": "string"
}

Responses​

Saved.

application/json
JSON
{
"invite": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​


A VIP guest's invitation, by their link​

GET
/guest-invites/{code}

The event, the invitation, the ticket once going, and the personalized link preview (Open Graph) in the invite's language. Changes nothing. An unknown, replaced or revoked code is 404 invite_not_found; a revoked one's carries details.host_name, whom to ask for a new link.

Authorizations​

or
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

code*

The link's code (10 characters without 0 O 1 l I).

Type
string
Required
Pattern
"^[2-9a-km-zA-HJ-NP-Z]{10}$"

Query Parameters

lang

The preview's language (else the invite's).

Type
string
Valid values
"en""ru""uk""es"

Responses​

The invitation.

application/json
JSON
"string"

Playground​

Server
Variables
Key
Value

Samples​


Confirm N seats​

POST
/guest-invites/{code}/confirm

Makes the complimentary order for party_size (1 to the seats given); the seats not taken go back to the reserve; the ticket is emailed when there is an address. Again with the same size: the same ticket; another size changes the party. After a decline: while the time to answer lasts and the seats are there.

Authorizations​

or
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

code*

The link's code (10 characters without 0 O 1 l I).

Type
string
Required
Pattern
"^[2-9a-km-zA-HJ-NP-Z]{10}$"

Request Body​

application/json
JSON
{
"party_size": 0
}

Responses​

The ticket.

application/json
JSON
{
"ticket": "string"
}

Playground​

Server
Variables
Key
Value
Body

Samples​


Can't make it​

POST
/guest-invites/{code}/decline

While pending (a going guest releases instead); the seats go back. keep_posted is "Keep me posted about future events".

Authorizations​

or
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

code*

The link's code (10 characters without 0 O 1 l I).

Type
string
Required
Pattern
"^[2-9a-km-zA-HJ-NP-Z]{10}$"

Request Body​

application/json
JSON
{
"keep_posted": true
}

Responses​

Declined.

application/json
JSON
{
"ok": true
}

Playground​

Server
Variables
Key
Value
Body

Samples​


Change guests​

POST
/guest-invites/{code}/party

A going guest lowers their party, or raises it back up to the seats given when capacity allows; never below the seats already checked in.

Authorizations​

or
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

code*

The link's code (10 characters without 0 O 1 l I).

Type
string
Required
Pattern
"^[2-9a-km-zA-HJ-NP-Z]{10}$"

Request Body​

application/json
JSON
{
"party_size": 0
}

Responses​

The ticket.

application/json
JSON
{
"ticket": "string"
}

Playground​

Server
Variables
Key
Value
Body

Samples​


Release my seats​

POST
/guest-invites/{code}/release

A going guest gives every seat back; the order is cancelled and the invite released. Refused once part of the party checked in.

Authorizations​

or
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

code*

The link's code (10 characters without 0 O 1 l I).

Type
string
Required
Pattern
"^[2-9a-km-zA-HJ-NP-Z]{10}$"

Responses​

Released.

application/json
JSON
{
"ok": true
}

Playground​

Server
Variables
Key
Value

Samples​


Get updates by email​

POST
/guest-invites/{code}/email

Only while no email is on file (409 events.invites.reasons.email_on_file); a going guest's ticket is sent there.

Authorizations​

or
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

code*

The link's code (10 characters without 0 O 1 l I).

Type
string
Required
Pattern
"^[2-9a-km-zA-HJ-NP-Z]{10}$"

Request Body​

application/json
JSON
{
"email": "string"
}

Responses​

Saved.

application/json
JSON
{
"ok": true
}

Playground​

Server
Variables
Key
Value
Body

Samples​


Powered by VitePress OpenAPI

Built with VitePress