Skip to main content
POST
Start browser login for the CLI

Body

application/json
code_challenge
string
required
Pattern: ^[A-Za-z0-9_-]{43}$
code_challenge_method
any
required
client_name
any
required

Response

Device grant created. Keep device_code and the verifier private; only user_code belongs in the browser URL.

device_code
string
required
user_code
string
required
Pattern: ^[A-Z2-9]{4}-[A-Z2-9]{4}$
verification_uri
string<uri>
required
verification_uri_complete
string<uri>
required
expires_in
any
required
interval
any
required