Skip to Content
SeyloDocs
API referenceCLI sign-in

Start a CLI sign-in

POST
/api/v1/cliLogin.start

Starts a browser-approved sign-in for the laptop CLI. Show userCode, open verificationUrl, then call cliLogin.poll with deviceCode every intervalSeconds until it is no longer pending.

Needs no sign-in. Not available to MCP clients or the assistant.

Request Body

application/json
  1. body
clientName*string
Length1 <= length <= 100

Response Body

Success.

application/json
  1. response
userCode*string
Match^[A-HJKMNP-Z2-9]{4}-[A-HJKMNP-Z2-9]{4}$
deviceCode*string
Length20 <= length <= 200
verificationUrl*string
intervalSeconds*integer
Range1 <= value
expiresAt*string
Formatdate-time
Example Request
curl -X POST 'https://example.com/api/v1/cliLogin.start' \  -H 'Content-Type: application/json' \  -d '{  "clientName": "string"}'
Example Response
{  "userCode": "string",  "deviceCode": "stringstringstringst",  "verificationUrl": "string",  "intervalSeconds": 1,  "expiresAt": "2019-08-24T14:15:22Z"}