Answer: Run the agent with `--dev` and post the payload the provider will send, for example using curl to POST to http://127.0.0.1:3000//v1/channels/tickets/ticket. Keep sample payloads under `fixtures/` and pass them with `--data-binary @fixtures/.json`. Status: Confirmed Entry: tool/cursor/troubleshooting/test-webhooks-locally Revision: 1 Digest: sha256:8721363580fc919f (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:41Z Last changed: 2026-11-13T03:08:41Z Last verified: 2026-11-20T12:33:20Z Next check: 2026-11-21T12:33:20Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of dev flag | --dev | [1] | 2026-11-20 serve command | agent-sdk serve --dir . --dev | [1] | 2026-11-20 local endpoint | http://127.0.0.1:3000//v1/channels/tickets/ticket | [1] | 2026-11-20 sample payload location | fixtures/ | [1] | 2026-11-20 payload flag | --data-binary @fixtures/.json | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/guides/webhooks.md". https://cursor.com/docs/agent-sdk/guides/webhooks.md Role: primary. Accessed: 2026-11-20T12:33:20Z Quote: "Run the agent with `--dev` and post the payload the provider will send." (Supports: dev flag) Quote: "agent-sdk serve --dir . --dev" (Supports: serve command) Quote: "http://127.0.0.1:3000//v1/channels/tickets/ticket" (Supports: local endpoint) Quote: "Keep sample payloads under `fixtures/` and pass them with" (Supports: sample payload location) Quote: "`--data-binary @fixtures/.json`." (Supports: payload flag) Snapshot SHA-256: f38fb3c7e7e7aee9b30612d7794b6266c66cff5a6e3b64504694ef383a45cf5e (captured 2026-11-13T03:08:40Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:08:41Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:33:20Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:33:20Z Last attempt: 2026-11-20T12:33:20Z Notes and limitations: Extracted automatically from a single official source (section "Test locally"). Related: https://latestn.com/tool/cursor/troubleshooting/tour-too-large Why does Cursor show 'Too large for a tour' on a pull request? https://latestn.com/tool/cursor/troubleshooting/troubleshoot-xcode-tools-server How do I troubleshoot Cursor not finding the xcode-tools server? https://latestn.com/tool/cursor/troubleshooting/verify-endpoint-exclusions How do I verify Cursor exclusions are working and troubleshoot if they are not? https://latestn.com/tool/cursor/troubleshooting/tailscale-failed-to-connect Why does Cursor show 'Failed to connect' for my Tailscale MCP server? https://latestn.com/tool/cursor/troubleshooting/terminal-output-truncated-misformatted Why is Cursor terminal command output truncated or misformatted? https://latestn.com/tool/cursor/troubleshooting/terminal-unavailable-live-workspace Why is the terminal unavailable in the Cursor Self-Hosted Machines live workspace? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:41Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/troubleshooting/test-webhooks-locally/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/troubleshooting/test-webhooks-locally POST: https://latestn.com/dispute/tool/cursor/troubleshooting/test-webhooks-locally with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/troubleshooting/test-webhooks-locally?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I test Cursor webhook agents locally? Revision 1, last verified 2026-11-20T12:33:20Z. https://latestn.com/tool/cursor/troubleshooting/test-webhooks-locally (accessed 2026-11-21T09:57:18Z). @misc{LatestN_tool_cursor_troubleshooting_test_webhooks_locally_r1, title = {How do I test Cursor webhook agents locally?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/troubleshooting/test-webhooks-locally}}, note = {Revision 1; digest sha256:8721363580fc919f; last verified 2026-11-20T12:33:20Z; accessed 2026-11-21T09:57:18Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/troubleshooting/test-webhooks-locally