🎉 TJUClaw 0.1 已发布:智能体可接入 MCP 服务与技能,查看更新日志 →
TJUClaw 2026
POST/cli/device/token

无需登录。尚未确认返回 400 authorization_pending;过快返回 400 slow_down;被拒绝返回 400 access_denied; 过期或已发放返回 400 expired_token。确认后只发放一次 access_token。

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/cli/device/token" \  -H "Content-Type: application/json" \  -d '{    "device_code": "string"  }'
{  "access_token": "string",  "token_type": "Bearer",  "email": "string"}