Search the documentation
4 pages for claude_code_messaging_token.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Message your other Claude Code sessions
Claude Code CLI · in the page
cross-session-messaging
…gside the socket's path, Claude Code exports a per-session token as [`CLAUDE_CODE_MESSAGING_TOKEN`](/docs/en/env-vars#variables). A script posting to its own session's socket can send `{"type":"auth",…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_CODE_MESSAGING_TOKEN` | Set by Claude Code, not by you: in sessions that bind an [inbox socket](/…
Claude Code settings
Claude Code CLI · in the page
settings
…E_ACCOUNT_UUID`. It also ignores [`CLAUDE_CODE_MESSAGING_SOCKET` and `CLAUDE_CODE_MESSAGING_TOKEN`](/docs/en/env-vars#variables), which it exports itself. Ignoring the socket variable requires Claude…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…, are ignored from every file. * [`CLAUDE_CODE_MESSAGING_SOCKET` and `CLAUDE_CODE_MESSAGING_TOKEN`](/docs/en/env-vars#variables), which Claude Code exports itself, are ignored from every file. Ignorin…