Skip to content

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.


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​


Powered by VitePress OpenAPI

Built with VitePress