Verify Discord signal channel (bot access)
Resolves the channel via Discord API, checks the Echo Zero bot can read messages, and persists connectedChannels + signalSourceKind on the agent.
Authorizations
User JWT access token issued by POST /api/auth/verify or POST /api/auth/social/verify. Routes that accept both auth modes declare api-key and bearer-jwt security schemes.
Headers
HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.
Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.
Path Parameters
Body
Discord text channel snowflake.
"1234567890123456789"
Discord server (guild) snowflake.
"9876543210987654321"
Channel URL (discord.com/channels/guild/channel), guildId/channelId, or channel snowflake.
"https://discord.com/channels/9876543210987654321/1234567890123456789"