cURL
curl --request POST \ --url https://api.example.com/cli
Start the device code OAuth flow for CLI authentication.
{ "action": "device-code" }
{ "device_code": "dc_abc123", "user_code": "ABCD-1234", "verification_url": "https://celerflow.vercel.app/cli-auth", "expires_in": 900, "interval": 5 }
device_code
user_code
verification_url
expires_in
interval