cURL
curl --request POST \ --url https://www.wassly.com/api/login \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data ' { "email": "hatem.gaballah@gmail.com", "password": "abc123$" } '
{ "success": true, "message": "Login Successfully", "data": { "id": 2, "name": "User Name", "role_id": 3, "client_id": 1, "phone": "+{mobile_number}", "email": "user@example.com", "location": "", "profile_image": "https://www.wassly.com/public/images/20251216152039image_163x116_user_436.png", "openai_api_key": null, "token": "{token}" } }
user@example.com
Content-Type: application/json
Accept: application/json
apikey: xxx
POST {{baseUrl}}/api/login Content-Type: application/json { "email": "user@example.com", "password": "securePassword123" }
OK
Show child attributes