Skip to main content
POST
/
v1
/
session
/
login
/
email
/
password
Login with email and password
curl --request POST \
  --url https://{appId}.session.prelude.dev/v1/session/login/email/password \
  --header 'Content-Type: application/json' \
  --data '
{
  "identifier": "<string>",
  "password": "<string>"
}
'
{
  "challenge_token": "<string>"
}

Body

application/json
identifier
string
required

The email address of the user.

Example:

"user@example.com"

password
string
required

The password of the user.

Example:

"S3cur3P@ss!"

Response

OK

challenge_token
string
required
Example:

"eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9..."