Last updated 6 months ago
POST /v1/auth/login
POST
/v1/auth/login
Returns an access token for a user
yuretech.dev.momofingo.com
test@email.com
password
POST /auth/login HTTP/1.1 Host: {{base_url}}v1 Content-Type: application/json Accept: */* Content-Length: 48 { "email": "test@gmail.com", "password": "test123!" }
OK
{ "code": 200, "success": true, "data": { "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "refresh_token": "47f1eae8-2f4f-448c-b98d-28e5fcbdf380", "account": { "fullname": "bowo test", "email": "bowo000024@gmail.com", "business_id": "6e5d6790-f850-11ec-926e-d9207c602237", "is_reset": true }, "activation": { "status": "uncomplete", "data": { "business_info": false, "business_detail": false, "personal_info": false, "business_documents": false, "email_verification": true } } } }