v46

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-211591,0051.4 MB
Client Auth

Approve or deny a device authorization request

User-facing endpoint for the device authorization flow. After a CLI displays a user code, the authenticated user visits the verification page and calls this endpoint to approve or deny the request. Requires user authentication via the Privy SDK.

post/api/oauth/v2/device_verify

Headers

privy-app-idstring required

ID of your Privy app.

Request body

action'approve' | 'deny' required

The action to take on the device authorization request.

user_codestring required

The user code displayed on the CLI device.

Response

The device authorization action was processed successfully.

successboolean required

Whether the action was processed successfully.

All 215 operations