Endpoints
If feedback is turned off on a deployment, both routes answer
404.
The bot check
Send the Turnstile widget’s token in thex-turnstile-token header on both routes.
Upload a file
PUT /v1/feedback/attachments/:sha256. Limit: 30 uploads per hour per address.
:sha256 is the file’s SHA-256 as 64 hex characters (a 0x prefix is accepted). The body is the
raw file bytes, not JSON and not multipart, up to 10 MB. Set Content-Type to the file’s type:
201, or 200 with the same body when the file was already uploaded:
Log a report
POST /v1/feedback. Limit: 10 reports per hour per address.
Strings are trimmed. Optional fields may be left out, null or "".
Each attachment names an uploaded file by its
sha256, plus the file name to show on this report
(1 to 200 characters). The same file may not appear twice in one report.
Response 201: