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

Body

application/json
privateKey
string
required

The private key used to login

Response

200 - application/json

The jwt auth token

error
any
required

The error of the request

data
object

The data of the request