curl -X POST "https://finceptbackend.share.zrok.io/user/login" \
-H "Content-Type: application/json" \
-d '{
"email": "john@example.com",
"password": "SecurePass123!"
}'
{
"success": true,
"message": "Login successful",
"data": {
"api_key": "fk_user_abc123xyz789...",
"user": {
"user_id": 42,
"email": "john@example.com",
"full_name": "John Doe",
"credits": 100,
"account_type": "free"
}
}
}
Login and retrieve your API key
curl -X POST "https://finceptbackend.share.zrok.io/user/login" \
-H "Content-Type: application/json" \
-d '{
"email": "john@example.com",
"password": "SecurePass123!"
}'
{
"success": true,
"message": "Login successful",
"data": {
"api_key": "fk_user_abc123xyz789...",
"user": {
"user_id": 42,
"email": "john@example.com",
"full_name": "John Doe",
"credits": 100,
"account_type": "free"
}
}
}
curl -X POST "https://finceptbackend.share.zrok.io/user/login" \
-H "Content-Type: application/json" \
-d '{
"email": "john@example.com",
"password": "SecurePass123!"
}'
{
"success": true,
"message": "Login successful",
"data": {
"api_key": "fk_user_abc123xyz789...",
"user": {
"user_id": 42,
"email": "john@example.com",
"full_name": "John Doe",
"credits": 100,
"account_type": "free"
}
}
}