Skip to content

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​

Powered by VitePress OpenAPI

Built with VitePress