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": {}
}
}Legacy CLI-targeted endpoint. Unlike /auth/sign-in, this does NOT set cookies — it returns Supabase access + refresh tokens in the JSON body for the CLI to persist at ~/.mnemom/auth.json. Rate-limited.
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": {}
}
}