# Login

To log a customer in:

**URL:** https://yourdomain.com/api/login

**Type: POST**

```
{
  "user": {
    "id": 1,
    "name": "Joe Doe",
    "email": "joedoe@example.com",
    "email_verified_at": null,
    "company": "Demo Ltd",
    "phone_number": "",
    "billing_id": "0",
    "billing_system": "",
    "account_manager": "0",
    "biography": "",
    "created_at": "2025-07-13T17:15:25.000000Z",
    "updated_at": "2025-07-13T17:22:37.000000Z"
  }
}
```

**email:** The email address of the customer.

**password:** The password of the customer.