Login

Endpoint

https://app.wabais.com/api/login

Method

POST

Authentication

None

Body Type

json

Parameters

email String required

password String required

Sample Request Body

{
    "email": "johndoe@email.com",
    "password": "password"
}

Sample Response

{
    "token": "63cb8a499d47065608069952|PomdbeZhSfVTQffXTWRkbVWrOhbjxMJlWW",
    "user": {
        "id": "63a6c7f5603218aef804",
        "name": "John Doe",
        "email": "johndoe@email.com",
        "country_code": null,
        "phone": null,
        "company_name": null,
        "active": 1,
        "company": {
            "id": "63a6c7f6603ef809c7c3",
            "name": "Westeros",
            "address": "New York, USA",
            "logo": {
                "file_path": "/storage/images/4130.jpg"
            }
        }
    }
}