OpenapiAuth
Poll a device-authorization login
API Docs with browser clientPOST
Long-poll the status of a device login request. Returns the minted JWT once the user approves, or a terminal state (cancelled/expired). Holds the connection up to ~25s while pending.
header
x-api-key<token>application/json- body
Input used to poll the status of a device login request.
authReqToken*stringThe authReqToken returned by the start endpoint.
Format
uuidcodeVerifier*stringPKCE code verifier proving possession of the codeChallenge sent at start.
Match
^[A-Za-z0-9._~-]{43,128}$OK
application/json- response
No decision yet; the client should poll again.
status*unknownThe request is still awaiting browser confirmation.
curl -X POST 'https://example.com/v4/auth/oauth/device/status' \ -H 'Content-Type: application/json' \ -d '{ "authReqToken": "2d8c8d17-3354-49f8-9a0d-976ce43b3e16", "codeVerifier": "string"}'Example Response
{ "status": "pending"}