跳转到主要内容
POST
/
customer
/
v2
/
auth
/
device
/
code
Request Device Code
curl --request POST \
  --url https://orbitflare.com/api/customer/v2/auth/device/code \
  --header 'X-ORBIT-KEY: <api-key>'
{
  "success": true,
  "data": {
    "device_code": "<string>",
    "user_code": "<string>",
    "verification_uri": "<string>",
    "expires_in": 123,
    "interval": 123
  }
}

授权

X-ORBIT-KEY
string
header
必填

API key for v1 and v2 (when not using Bearer token)

响应

200 - application/json

Device code created successfully.

success
boolean
示例:

true

data
object