Skip to main content
POST
/
auth
/
cli
/
start
Start CLI auth device flow
curl --request POST \
  --url https://api.case.dev/auth/cli/start \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "requestedScopes": {}
}
'

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Body

application/json
requestedScopes
object

Requested service scopes for the CLI key

Response

200

CLI auth session created