Approve a device code and generate API key
POST /dashboard/device/approve
POST
/dashboard/device/approve
ユーザーが userCode を入力してデバイス認証を承認する。 承認成功時に CLI/MCP 用の API Key が自動生成される。 JWT 認証必須。member 以上のロール、メール確認済みが必要。
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
userCode
required
デバイスコードフローで発行された userCode (例: ABCD-EFGH)
string
Responses
Section titled “ Responses ”デバイス承認成功
object
approved
承認結果
boolean
apiKeyName
生成された API Key の名前
string
callbackUrl
Localhost callback URL to redirect after approval (only present for CLI auth)
string
Example
http://localhost:12345/callback試行回数超過
object
error
object
code
string
Example
VALIDATION_ERROR message
string
Example
Invalid request body status
integer
Example
400 upgradeUrl
URL to upgrade plan (only present for plan limit errors)
string
Example
https://app.manako.dev/billingExample
{ "error": { "code": "TOO_MANY_ATTEMPTS", "message": "Too many failed attempts", "status": 400 }}API Key 数上限到達
object
error
object
code
string
Example
VALIDATION_ERROR message
string
Example
Invalid request body status
integer
Example
400 upgradeUrl
URL to upgrade plan (only present for plan limit errors)
string
Example
https://app.manako.dev/billingコードが見つからない / 期限切れ
object
error
object
code
string
Example
VALIDATION_ERROR message
string
Example
Invalid request body status
integer
Example
400 upgradeUrl
URL to upgrade plan (only present for plan limit errors)
string
Example
https://app.manako.dev/billing