API Reference
Login with email and password
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://loading/auth/email/login" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "password": "SecurePassword123!" }'{
"user": {
"id": "user-id",
"email": "[email protected]",
"name": "John Doe",
"createdAt": "2024-01-01T00:00:00.000Z"
},
"tokens": {
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
}Empty