Create Discord Link Code
Agent Channels
Create Discord Link Code
Generate a code to pair a Discord account with an agent.
POST
Create Discord Link Code
Documentation Index
Fetch the complete documentation index at: https://docs.shinzo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Requires JWT token or Platform API key viaAuthorization: Bearer <token> header.
Agent UUID
Example Request
Example Response
How It Works
- Call this endpoint to generate a 6-character link code.
- The code expires after 10 minutes.
- Send
/link <CODE>as a direct message to the Shinzo Discord bot. - Once linked, you can send messages to your agent directly through Discord.
Status Codes
| Code | Description |
|---|---|
200 | Link code generated successfully |
401 | Unauthorized - invalid or missing authentication |
404 | Agent not found |

