Skip to main content
POST
/
api
/
account
/
cli
/
device
/
verify
Verify CLI device code
curl --request POST \
  --url https://platform.kodexa.ai/api/account/cli/device/verify \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "deviceCode": "<string>"
}
'

Authorizations

x-api-key
string
header
required

API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.

Body

application/json

Request to verify a CLI device code during the device authorization flow.

deviceCode
string
required

The device code to verify, received from the CLI device authorization initiation.

Response

Device verified — the device code has been accepted.