Verify a previous device grant request
Verify a previous device grant request and return an authorization token.
After initiating a device grant flow with /sso_device_grant, use this endpoint to check if the user has completed the verification process. If successful, it returns an access token that can be used for subsequent API calls.
This endpoint can be called multiple times until either:
- The user completes the verification (returns 200 OK with token)
- The timeout is reached (returns error)
- The verification is cancelled (returns error)
Example
Request
Target database name (defaults to system if not specified)
Verification timeout in seconds. This is how long the server will wait for the user to complete the device authorization flow before returning a timeout error.
The valid range is 1-600 seconds (10 minutes maximum).
Response
Access token for subsequent API calls. This token should be included in the
Authorization header for all authenticated requests using the format:
Authorization: Bearer {token}.

