Generate code [Beta]

Use this endpoint to generate a code for a specific device in Device Flow Login (PIN Pair) functionality.

🚧

Beta

Please note that it is a Beta phase.

Response Description

ResponseTypeDescription
codestringGenerated code which is used by device for authorization.
expiresAtintegerExpiration date of the generated code in milliseconds. (Format: timestamp).
verificationUrlstringURL to verify the code.

Errors

Error ReasonStatus codeError codeMessage
Failed to parse the request body400REQ0001Invalid request body
Configuration for PIN Pair Login not activated in Cleeng Dashboard422PINP0001PIN-Pair Integration not activated
Failed to generate unique code422PINP0101Could not generate unique code
Internal reason500SXXXX (X - number)Internal Server Error
Language
Click Try It! to start a request and see the response here!