claude-code - 💡(How to fix) Fix [Feature Request] Desktop mode does not support webhook hooks for notifications [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#53242Fetched 2026-04-26 05:20:46
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×4

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description On claude code desktop mode, I want to be able to get notifications on services like slack when it has finished certain tasks etc. This works today in claude code, but not the desktop via this cfg: { "hooks": { "Notification": [{ "hooks": [{ "type": "command", "command": "curl -X POST -H 'Content-type: application/json' --data '{"text":"🔔 Claude needs your input"}' https://hooks.slack.com/services/YOUR/WEBHOOK/URL" }] }], "Stop": [{ "hooks": [{ "type": "command", "command": "curl -X POST -H 'Content-type: application/json' --data '{"text":"✅ Claude finished"}' https://hooks.slack.com/services/YOUR/WEBHOOK/URL" }] }] } }

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.98
  • Feedback ID: 2b2d7923-d78f-4fb9-b863-4940955f1d79

Errors

[]

extent analysis

TL;DR

The issue might be resolved by verifying the webhook URL and ensuring the curl command is correctly formatted and executable in the desktop mode environment.

Guidance

  • Check the webhook URL in the curl command to ensure it is correctly replaced with the actual Slack webhook URL.
  • Verify that the curl command is executable in the desktop mode environment and that the JSON data is properly escaped.
  • Test the curl command directly in the terminal to confirm it works as expected.
  • Consider adding error handling to the hook configuration to catch and log any potential issues.

Example

No code example is provided as the issue does not imply a specific code change, but rather a configuration or environmental issue.

Notes

The issue lacks error messages, which makes it difficult to provide a more specific solution. The guidance provided is based on common pitfalls with webhook configurations and curl commands.

Recommendation

Apply workaround: Verify the webhook URL and curl command to ensure they are correct and functional in the desktop mode environment. This is recommended because the issue seems to be related to the configuration rather than a version-specific bug.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Feature Request] Desktop mode does not support webhook hooks for notifications [1 participants]