Clarify API
Auth

Get CLI sign-in settings

Returns the OAuth 2.0 device flow settings a command-line client uses to sign a user in. The response is plain JSON, not a JSON:API document, and the endpoint needs no authentication.

GET
/auth/cli

Response Body

application/json

curl -X GET "https://example.com/auth/cli"
{  "client_id": "client_01HXYZACMEEXAMPLE0000000000",  "device_authorization_endpoint": "https://api.workos.com/user_management/authorize/device",  "token_endpoint": "https://api.workos.com/user_management/authenticate"}