> For the complete documentation index, see [llms.txt](https://blended.gitbook.io/a1pay/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blended.gitbook.io/a1pay/user-login.md).

# User Login

Authenticate Users in your application

## User Login

<mark style="color:green;">`POST`</mark> `https://a1pay.net/api/usersapi/login`

Allow users to login to A1Pay

#### Request Body

| Name         | Type   | Description       |
| ------------ | ------ | ----------------- |
| UserPassword | string | Password of user  |
| Email        | string | Email of the user |

{% tabs %}
{% tab title="200 " %}

```javascript
{
  "status": "success",
  "data": {
    "user": {},
    "menus": {},
    "structuredMenus": {},
    "token": "authentication token"
  }
}
```

{% endtab %}
{% endtabs %}
