Skip to main content
POST
/
auth
/
login
CLI password login — returns bearer tokens in JSON body
curl --request POST \
  --url https://api.mnemom.ai/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "password": "<string>"
}
'
{
  "access_token": "<string>",
  "refresh_token": "<string>",
  "expires_in": 123,
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "jsmith@example.com",
    "app_metadata": {},
    "user_metadata": {}
  }
}

Body

application/json
email
string<email>
required
password
string<password>
required

Response

Tokens returned.

access_token
string
required
refresh_token
string
required
expires_in
integer
user
object

Supabase user shape. Fields beyond id and email are passthrough.