Wonder
post/api/v1/biz/login/qrcodes

Create a login QR code

Creates a one-time login QR code. The returned content is the exact value to encode into the QR image; the application must not modify it.

Header parameters

Authorizationrequired
string

Bearer token: `Bearer <biz_app JWT>`, where the `biz_app` token is issued by `POST /api/v1/biz/token`

Example: Bearer <biz_app JWT>

x-request-id
string

Example: {{$string.uuid}}

Content-typerequired
string

Example: application/json

Request body · application/json

device_id
string

Device identifier generated and persisted by the application. Enables multi-device sessions

Responses

QR code created.

required
object

Application information shown to the user

idrequired
string

Application ID

namerequired
string

Application name

scopesrequired
array<string>

Scopes requested at QR code creation time

developerrequired
string

Developer name

statusrequired
enum<string>

PENDING

contentrequired
string

Exact content to encode into the QR image

device_idrequired
string

Echo of the requested device ID, or an empty string

expires_atrequired
string<date-time>

QR code expiration time

expires_inrequired
integer

QR code lifetime in seconds

server_coderequired
string

Server-side polling handle. Never show it to the user