Skip to content

List a profile's campaigns​

GET
/users/{id}/campaigns

The campaigns shown on a profile: those the person runs, and those they have endorsed (is_endorsed: 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 returns { "data": [] } to everyone but its owner.

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​

Powered by VitePress OpenAPI

Built with VitePress