Skip to Content
SeyloDocs
API referenceCLI sign-in

Show a CLI sign-in request

GET
/api/v1/cliLogin.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.

Authorization

cookieseylo_session<token>

Query Parameters

userCode*string
Match^[A-HJKMNP-Z2-9]{4}-[A-HJKMNP-Z2-9]{4}$

Response Body

Success.

application/json
  1. response
request*
viewerAddress*string|null
Example Request
curl -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"}