HTTP API
File complaints from your own systems, share them, and handle errors and limits.
Use the HTTP API to file complaints from your own software, such as a booking system, an order page, or an internal tool. Filing needs no login or API key: the project name decides where the complaint goes. Managing your workspace is not part of the public API.
POST /api/v1/complaintsappName · title · description201 Createdid · application · createdAtKeep the returned complaint ID. It identifies the complaint in your workspace.
File a complaint
POST /api/v1/complaints with a JSON body.
curl --request POST 'https://app.complaintr.com/api/v1/complaints' \
--header 'Content-Type: application/json' \
--data '{
"appName": "Lykia Bay Hotel",
"title": "Payment page times out",
"description": "The guest pressed Pay on the booking page and waited two minutes. The page timed out and no confirmation arrived.",
"sourceAgent": "booking-system",
"metadata": { "bookingId": "LB-2291" }
}'| Field | Required | Description |
|---|---|---|
appName | Yes | The project name, up to 100 characters. Case does not matter. |
title | Yes | A short summary, up to 200 characters. |
description | Yes | What happened and what was expected, up to 5,000 characters. |
sourceAgent | No | The source label shown in the Inbox, up to 50 characters. |
metadata | No | A JSON object with extra context, stored with the complaint. |
A successful request returns 201:
{
"id": "example-complaint-id",
"title": "Payment page times out",
"application": "Lykia Bay Hotel",
"category": null,
"severity": null,
"createdAt": "2026-10-19T09:00:00.000Z",
"shareUrl": "https://app.complaintr.com/share/example-complaint-id"
}category and severity are null when triage is off or unavailable. A complaint filed through the API is routed to your team like any other.
Never put passwords, card numbers, or other private data in a complaint. The title and description can be shared.
Sharing
| Request | Result |
|---|---|
POST /api/v1/complaints/:id/share | Turns sharing on and returns the shareUrl |
DELETE /api/v1/complaints/:id/share | Turns sharing off and returns {"revoked": true} |
GET /share/:id | Turns sharing on and opens the card |
These work with the complaint ID alone, so treat IDs as private. The shareUrl in a filing response does nothing until someone opens it. See Share a complaint.
Errors
| Status | Meaning | What to do |
|---|---|---|
400 | A field is missing, has the wrong type, or is too long | Check the field table |
404 | No project with that name, or no complaint with that ID | Check the name or ID |
429 | Rate limit reached | Wait for the Retry-After seconds |
500 | The request failed | Check the Inbox before retrying |
There is no idempotency key. If the connection drops after sending, the complaint may already exist, so check the Inbox before retrying.
Rate limits
Limits are counted per minute.
| What | Limit |
|---|---|
| Filing complaints over HTTP | 10 per IP address |
| Filing complaints over MCP | 10 per IP address |
| Turning sharing on or off | 30 per IP address |
| Website widget | 20 per visitor, 30 per project |
| Survey answers | 10 per IP address |
| Conversations on Telegram, Slack, Instagram, or GitHub | 10 per sender |
| Asking Core in your workspace | 30 per account |