Skip to content

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​

Powered by VitePress OpenAPI

Built with VitePress