POST
/
api
/
auth
/
signin
curl --location --request POST 'http://localhost:3005/api/auth/signin' \
--header 'Accept: application/json' \
--data '{
  "email": "kiran@example.com",
  "password: "secret-password"
}'
{
  "data": {
    "session": {
      "access_token": "e.....",
      "token_type": "bearer",
      "expires_in": 3600,
      "refresh_token": "db_S9C8mhMuUCOqkqmhLhg",
      "user": {
        "id": "65ff7756-3cf4-4c29-8143-0af7e7989631",
        "aud": "authenticated",
        "role": "authenticated",
        "email": "kiran@example.com",
        "last_sign_in_at": "2023-07-02T18:00:12.966460474Z",
        "app_metadata": {
          "provider": "email",
          "providers": ["email"]
        },
        ...
        ...
      },
      "expires_at": 1688324413
    }
  }
}

Body

email
string
required

Email address of the user.

password
string
required

Password of the user.