cURL
curl --request GET \ --url https://api.app.shinzo.ai/v1/agent/{id}/discord/status \ --header 'Authorization: Bearer <token>'
Check if a Discord account is linked to an agent.
Authorization: Bearer <token>
curl -X GET https://api.app.shinzo.ai/v1/agent/a1b2c3d4-e5f6-7890-abcd-ef1234567890/discord/status \ -H "Authorization: Bearer <token>"
{ "linked": true, "binding": { "id": "bind_def456", "discord_user_id": "123456789012345678", "discord_username": "myuser#1234", "queue_mode": "collect", "created_at": "2025-01-16T12:00:00Z" } }
{ "linked": false, "binding": null }
200
401
404