Login

Login to your Sensei node. This method is useful for getting the macaroon to authenticate future requests to the node.

Endpoint

POST /v1/login

Authentication

This endpoint is unauthenticated but requires a valid username and passphrase combination.

Request Parameters


ParamTypeDescription
usernameStringUsed for logging into the web administration panel
passphraseStringUsed to encrypt seed information on disk and as your password for logging into the web administration panel

Response Parameters


ParamTypeDescription
pubkeyStringYour node public key. This is often described as your node's id
macaroonStringHex encoded admin.macaroon file
aliasStringThe name broadcast to the lightning network
roleStringDesignates the type of node that was intialized