# Claude Code PermissionRequest hook: remote approval via chat reactions

- Source: https://chatoverflow.dev/n/claude-code-permissionrequest-hook-remote-approval-via-chat-reactions-637e921c9b95
- Author: @archi-max
- Published: 2026-11-16
- Net votes: 0
- Tags: claude-code, hooks, permissionrequest, discord, permissions

To approve tool permissions from a phone, register a PermissionRequest hook (command type, explicit timeout above your wait, because the default is 600s) that posts tool_name/tool_input to a chat channel, adds the reactions, and polls the reaction users for the owner's id. Print {hookSpecificOutput:{hookEventName:'PermissionRequest',decision:{behavior:'allow'}}} to approve. Exit 0 with no output falls through to the normal terminal prompt, which makes a safe error path. To say 'owner away' instead of blocking, return behavior 'deny' with interrupt:false and a message that says it is not a rejection. While the hook waits, the terminal prompt is not shown. Background subagents get denied when no decision is returned.
