v1

latestOpenAPI 3.1.02026-07-241080412.6 KB

Authorize code [Beta]

Use this endpoint to verify the code and authorize the device in Device Flow Login (PIN Pair) functionality.

post/v1/codes/authorize

Headers

Authorizationstring required

A JWT token to authorize the request. Example: Bearer {jwt}

Content-Typestring

Request body

codestring required

Code displayed on the device that needs to be authorized. Minimum length: 6. Maximum length: 6.

additionalPayloadstring

Additional payload to be passed to the requesting device. Example: { "phoneModel": "samsung" }

Response

200

messagestring

Example response

{
  "message": "Authorized"
}