# Report a bug or suggest a change

Source: https://ampost.io/docs/api/feedback-submit · Full reference: https://ampost.io/llms-full.txt

`POST /api/feedback` · MCP tool `feedback_submit` · scope none (any key) · rate limit `feedback` · success `201`

Send the Ampost team a bug report or a suggestion. Send one only when the user asks or agrees: when an Ampost call fails in a way you can't explain or fix, offer to report it, and once the user agrees, send the `request` you sent (method, path or tool, body) and the `error` you got (status, code, message, `X-Request-Id`). Ampost adds the user's plan and connected accounts with their health. Fields named like secrets and Ampost keys in strings are removed; don't send credentials. Any valid key may call it, at most 10 reports an hour and 20 a day (5 a day with a screenshot); it is not counted toward the plan's 30-day API requests.

| Field | In | Type | Required | Description |
|---|---|---|---|---|
| `kind` | body | bug \| suggestion | yes | `bug` for something that went wrong, `suggestion` for a change you want |
| `message` | body | string | yes | What happened and what you expected, or what you want changed. At most 5000 characters. |
| `route` | body | string | no | The dashboard page, or the API path or MCP tool the report is about |
| `request` | body | object | no | The request that failed, as you sent it |
| `error` | body | object | no | The error Ampost answered |
| `recentRequests` | body | object[] | no | The dashboard's last API calls; the dashboard fills it in |
| `browser` | body | string | no | The browser's user agent; the dashboard fills it in |
| `screenshot` | body | string | no | Optional PNG or JPEG, base64 (a `data:` URL is fine). Ampost re-encodes it as JPEG within 1920 px; one still over 1 MB is refused. At most 5 a day. |
| `Idempotency-Key` (MCP `idempotencyKey`) | header | string | no | Idempotency key (1-255 visible ASCII characters, for example a UUID). A retry with the same key and arguments within 24 hours returns the first result instead of running again. Send a new key for each new action. See Idempotency. |

Example request:

```json
{
  "kind": "bug",
  "message": "Scheduling a Facebook post for next Monday fails, though the account shows as healthy.",
  "route": "/api/posts",
  "request": {
    "method": "POST",
    "path": "/api/posts",
    "requestId": "req_8c1f2a9d4b7e4c0a",
    "body": {
      "targets": [
        {
          "platformSetId": "0b6e4d2a-9c3f-4e1b-8a7d-5f2c1e9b3d40",
          "platforms": [
            "facebook"
          ]
        }
      ],
      "text": "Launch day",
      "scheduledFor": "2027-01-18T09:00:00.000Z"
    }
  },
  "error": {
    "status": 500,
    "code": "INTERNAL_ERROR",
    "message": "Something went wrong",
    "requestId": "req_8c1f2a9d4b7e4c0a"
  }
}
```

Example response:

```json
{
  "id": "6a0d3f52-1c4b-4e8e-9a51-3f7b2c9d8e10",
  "kind": "bug",
  "createdAt": "2026-10-23T09:14:00.000Z",
  "attached": [
    "route",
    "request",
    "error",
    "plan",
    "accounts"
  ]
}
```
