> 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/contact/danh-sach-ban-be-goi-y.md).

# Danh sách bạn bè gợi ý

1. Body

<table><thead><tr><th>Name</th><th width="359">Type</th><th>Description</th></tr></thead><tbody><tr><td>service</td><td>contact</td><td></td></tr><tr><td>method</td><td>recommendFriend</td><td></td></tr><tr><td>data</td><td><pre class="language-json"><code class="lang-json"><strong>{
</strong>  "accountId": "262941598338491044"
}
</code></pre></td><td></td></tr></tbody></table>

2. Response

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

```json
{
    "data": {
        "error_message": "Successful.",
        "data": {
            "recommItems": [
                {
                    "dataInfo": {
                        "gender": 1, // Giới tính
                        "displayName": "Trần Kiều Linh", // Tên Zalo
                        "recommTime": 1724215837325, // Thời gian gợi ý được tạo
                        "avatar": "https://s240-ava-talk.zadn.vn/a/d/9/1/2/240/7bf210786cf66069fdac8518ce595c16.jpg", // URL avatar
                        "userId": "1795023816518334187",
                        "zaloName": "Trần Kiều Linh", // Tên Zalo
                        "recommInfo": {
                            "suggestWay": 1, // Cách đề xuất
                            "source": 21, // Nguồn đề xuất kết bạn - 21: Từ nhóm trò chuyện, 85: Từ SĐT
                            "message": "" // Tin nhắn kết bạn
                        },
                        "phoneNumber": "",
                        "dob": 1000314000 // Sinh nhật dạng ts
                    },
                    "recommItemType": 1
                }
            ]
        },
        "error_code": 0
    },
    "status": "success"
}
```

{% endtab %}

{% tab title="400" %}

```json
{
    "status": "error",
    "error": {
        "message": "Something wrong was happened.",
        "code": null,
        "prms": null
    }
}
```

{% endtab %}
{% endtabs %}
