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

Body

application/json
email
string
required

The email used to login

password
string
required

The password 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