Skip to main content
GET
/
v1
/
agent
/
{id}
/
telegram
/
status
Get Telegram Status
curl --request GET \
  --url https://api.app.shinzo.ai/v1/agent/{id}/telegram/status \
  --header 'Authorization: Bearer <token>'

Authentication

Requires JWT token or Platform API key via Authorization: Bearer <token> header.
id
string
required
Agent UUID

Example Request

curl -X GET https://api.app.shinzo.ai/v1/agent/a1b2c3d4-e5f6-7890-abcd-ef1234567890/telegram/status \
  -H "Authorization: Bearer <token>"

Example Response (Linked)

{
  "linked": true,
  "channel_binding": {
    "uuid": "f1e2d3c4-b5a6-7890-abcd-ef1234567890",
    "telegram_user_id": "123456789",
    "telegram_username": "john_doe",
    "created_at": "2026-03-01T10:00:00Z",
    "active": true,
    "queue_mode": "collect"
  }
}

Example Response (Not Linked)

{
  "linked": false
}

Status Codes

CodeDescription
200Status retrieved successfully
401Unauthorized - invalid or missing authentication
404Agent not found