Login with email and password. Returns JWT access and refresh tokens.
cURL
curl --request POST \ --url https://api.buildwithtrace.com/api/v2/auth/login \ --header 'Content-Type: application/json' \ --data ' { "email": "user@example.com", "password": "your_password" } '
{ "access_token": "<string>", "refresh_token": "<string>", "token_type": "bearer", "user": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "jsmith@example.com", "full_name": "<string>", "plan": "free", "avatar_url": "<string>", "created_at": "2023-11-07T05:31:56Z" } }
"user@example.com"
"your_password"
Login successful
"bearer"
Show child attributes
Was this page helpful?