Skip to main content
POST
/
login
/
privateKey
Login using a private key
curl --request POST \
  --url http://api.local.stratumn.com:3000/login/privateKey \
  --header 'Content-Type: application/json' \
  --data '
{
  "privateKey": "<string>"
}
'
{
  "token": "<string>"
}

Body

application/json
privateKey
string
required

The private key used to login

Response

200 - application/json

The jwt auth token

token
string
required

The token needed (in authorization header) to authenticate requests