Skip to content

Get a city page​

GET
/cities/{slug}

One city page. 404 (CITY_NOT_FOUND) unless the city has a page: 1+ verified Fundly or 5+ donors, 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 only personalizes follow; render the page server-side without 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​

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​

Powered by VitePress OpenAPI

Built with VitePress