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

token
string
required

The token needed (in authorization header) to authenticate requests