> For the complete documentation index, see [llms.txt](https://docs.salework.net/salework-tai-lieu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.salework.net/salework-tai-lieu/salework-zalo-open-api/common/common-request.md).

# Common Request

<mark style="color:green;">`POST`</mark>  [https://salework.net/api/open/zalo/v1](<http://192.168.0.48:8443/api/open/zalo/v1' >)

Tất cả request gọi sang Salework đều dùng chung 1 API

1. **Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |
| client-id    |                    |
| token        |                    |

2. **Body**

<table data-full-width="false"><thead><tr><th>Name</th><th>Type</th><th width="100" data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td><strong>service</strong></td><td>String</td><td>true</td><td>Hệ thống api sẽ được chia thành 3 service  "account" , "contact" , "message"</td></tr><tr><td><strong>method</strong></td><td>String</td><td>true</td><td>Gọi đến các phương thức trong service</td></tr><tr><td><strong>data</strong></td><td>Map&#x3C;String,Object></td><td>false</td><td>Các tham số được truyền vào tùy từng API cụ thể</td></tr></tbody></table>

3. **Response**

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

```json
{
    "status": "success",
    "data": ....
}
```

{% endtab %}
{% endtabs %}
