Skip to main content
POST
/
v2
/
databases
/
{database}
/
auth
/
signin
Sign in to the application
curl --request POST \
  --url https://api.example.com/v2/databases/{database}/auth/signin \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "user@example.com",
  "password": "yourpassword"
}
'
{
  "user": {
    "name": "User Name",
    "email": "user@example.com",
    "image": "https://example.com/user.png"
  }
}

Path Parameters

database
string
required

The string (id or name, depending on the credentials)

Body

application/json
email
string<email>
required
Example:

"user@example.com"

password
string<password>
required
Example:

"yourpassword"

Response

Successful authentication

user
object