API referenceCLI sign-in
Show a CLI sign-in request
GET
Returns a pending CLI sign-in by its user code so the approval page can show the computer and when it expires.
Any signed-in caller. Not available to MCP clients or the assistant.
cookie
seylo_session<token>userCode*stringMatch
^[A-HJKMNP-Z2-9]{4}-[A-HJKMNP-Z2-9]{4}$Success.
application/json- response
request*viewerAddress*string|nullcurl -X GET 'https://example.com/api/v1/cliLogin.get?userCode=string'Example Response
{ "request": { "userCode": "string", "clientName": "string", "requestedFrom": "string", "status": "pending", "createdAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z" }, "viewerAddress": "string"}Deny a CLI sign-in POST
Refuses a pending CLI sign-in; the CLI's next poll says denied. Any signed-in caller. Not available to MCP clients or the assistant.
Check a CLI sign-in POST
Polls a CLI sign-in with its device code. Approved returns the API key once (status used afterwards); send it as Authorization: Bearer <token>. Needs no sign-in. Not available to MCP clients or the assistant.