Generate a new QR code
This endpoint is called by the initiating device (Admin or Client) to start the pairing process. The generated QR Code contains a link with pairing session ID as a parameter. If the callbackUrl is not provide, we generate new URL payload base on Brand-URL header or Client Domain request. The format is: {SECOND_LEVEL_DOMAIN}://pair/{QR_ID} Example Flow:
- Device A calls this endpoint to get QR Code data.
- Device B scans the QR Code and calls
POST api/v1/users/auth/passwordless/qrcode/:qrCodeId/approveto approve.
Optional URL for the QR Code link. If provided, the QR Code will encode this URL with a query id for the pairing session.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URLThe request was successful.
The API result model with data.
This is the flag to indicate whether the API call is successful or not.
This is the HTTP status code. This is used to determine the status code to be returned to the client.
This is the message to be displayed to the user.
API call exceeded rate limit due to too many requests.
Last updated