Home / Integrations / Your own workflow
You can send feedback from Feedback DevTools into anything you run yourself: a cron job, a CI step, an AI agent, or a bridge to your ticketing tool. When the work is done, your code tells us, and the person who reported it hears back.
All examples use the public API at https://server-production-14a9.up.railway.app/api/v1.
Open your project in the dashboard, go to Settings, and click Generate API key in the API key box. Copy the key right away. It starts with fdk_ and we only show it once; we keep a hash, not the key.
The key works for that one project only. Send it as a bearer token:
Authorization: Bearer fdk_...Rotate issues a new key and the old one stops working immediately. Revoke turns API access off.
There are two ways to receive new items. Pick whichever suits the system on your side.
In Settings → Destinations, add a Webhook destination with your HTTPS address and set a signing secret. Each matching item is POSTed as JSON, with two headers:
x-fd-event: feedback.created (or feedback.shipped if you turned that on)x-fd-signature: sha256=<hex HMAC-SHA256 of the raw request body, keyed with your signing secret>Check the signature against the raw body before you parse it:
import { createHmac, timingSafeEqual } from 'node:crypto';
function isValid(rawBody, header, secret) {
const expected = 'sha256=' + createHmac('sha256', secret).update(rawBody).digest('hex');
return header?.length === expected.length && timingSafeEqual(Buffer.from(header), Buffer.from(expected));
}Use this when your side has no public address, for example a cron job or a laptop agent. In Settings → Destinations, add Your own worker (pull API). It needs no URL. New items that match the rule wait in a queue until your worker fetches them.
Fetch up to 20 waiting items (the limit can be 1 to 50):
curl -s "https://server-production-14a9.up.railway.app/api/v1/queue/pending?limit=20" \
-H "Authorization: Bearer $FEEDBACK_API_KEY"{
"items": [
{
"outbox_id": "6f1c…",
"attempts": 0,
"event": { "event": "feedback.created", "id": "fb_…", "title": "…", "whatToChange": "…", "...": "same fields as the webhook body" },
"markdown": "## Feedback report\n…"
}
]
}event has exactly the same fields as the webhook body, and markdown is a ready-made ticket description. Once you have handled an item, acknowledge it:
curl -s -X POST "https://server-production-14a9.up.railway.app/api/v1/queue/ack" \
-H "Authorization: Bearer $FEEDBACK_API_KEY" \
-H "content-type: application/json" \
-d '{"outbox_id":"6f1c…","status":"delivered","external_id":"JIRA-123"}'If you couldn't handle the item, send "status":"failed" along with an "error" message. We retry it later with growing gaps between attempts, and after repeated failures it stops coming back. A delivered ack also moves the item out of the inbox and into Triaged.
Delivery is at least once. Until you ack an item, every poll returns it again, so ack each item and make your handler safe to run twice (event.id is stable).
When the change is live, mark the item fixed. The reporter gets an email:
curl -s -X POST "https://server-production-14a9.up.railway.app/api/v1/feedback/$ID/resolve" \
-H "Authorization: Bearer $FEEDBACK_API_KEY" \
-H "content-type: application/json" -d '{}'If the fix is still in review, send {"prUrl":"https://github.com/…/pull/42"} instead. The item then shows as PR open. Once the change is live, call resolve again without prUrl to mark it fixed and email the reporter.
If you won't do it, reject it:
curl -s -X PATCH "https://server-production-14a9.up.railway.app/api/v1/feedback/$ID" \
-H "Authorization: Bearer $FEEDBACK_API_KEY" \
-H "content-type: application/json" -d '{"status":"rejected"}'The same key also works on GET /feedback (list, with ?status=new and other filters) and GET /feedback/:id (full detail with console and network logs).
Use the hosted endpoint with the key as the bearer:
claude mcp add --transport http feedback-devtools https://server-production-14a9.up.railway.app/mcp \
--header "Authorization: Bearer fdk_..."To run the server locally instead, use feedback-devtools-mcp 0.3.0 or later, which reads the key from FEEDBACK_API_KEY:
claude mcp add \
--env FEEDBACK_API_URL=https://server-production-14a9.up.railway.app/api/v1 \
--env FEEDBACK_API_KEY=fdk_... \
--transport stdio feedback-devtools -- npx -y feedback-devtools-mcp@latestThe feedback tools all work with the key: listing, reading, claiming, resolving and exporting. The tools for project settings, analytics, follow-up questions and hosted agent runs still need a dashboard sign-in through FEEDBACK_SDK_TOKEN and FEEDBACK_AUTH_TOKEN.
See also Zapier Catch Hook, GitHub and docs.