---
sourceType: api-reference
sourceTypeMatchedRule: openApis
slug: MA/openApis/partner/apis/listMiniApps
title: Lấy danh sách mini app
---
Được sử dụng để lấy danh sách Mini App từ Zalo App của bạn.

### Parameters

| Property | Type | Required | Description                  |
| -------- | ---- | -------- | ---------------------------- |
| offset   | int  | true     | Vị trí bắt đầu               |
| limit    | int  | true     | Số lượng cần lấy, tối đa 20. |

### Return Values

| Property | Type                | Description                                                 |
| -------- | ------------------- | ----------------------------------------------------------- |
| error    | int                 | Mã lỗi của kết quả trả về, bằng 0 nếu request thành công    |
| message  | String              | Lời nhắn chi tiết tương ứng với mã lỗi                      |
| total    | int                 | Tổng số toàn bộ Mini App trong Zalo App của bạn             |
| apps     | List&lt;AppInfo&gt; | Danh sách Mini App tương ứng với offset và limit truyền vào |

#### AppInfo

| Property       | Type      | Description                                                                  |
| -------------- | --------- | ---------------------------------------------------------------------------- |
| appId          | String    | ID của Mini App                                                              |
| appName        | String    | Tên của Mini App                                                             |
| appCategory    | String    | Danh mục của Mini App                                                        |
| appSubCategory | String    | Danh mục con của Mini App                                                    |
| appLogoUrl     | string    | Đường dẫn tới logo của Mini App                                              |
| appStatus      | AppStatus | Trạng thái hiện tại của Mini App, mang một trong các giá trị ENABLE, DISABLE |

#### Sample Code


### Code sample — Java

```js
import com.vng.zalo.miniapp.openapi.sdk.models.ListMiniAppsRequest;
import com.vng.zalo.miniapp.openapi.sdk.models.ListMiniAppsResponse;

ListMiniAppsRequest request = new ListMiniAppsRequest();
request.setOffset(0);
request.setLimit(10);
ListMiniAppsResponse response = client.listMiniApps(request);
```

### Code sample — Node.js

```js
const { apps, total, error, message } = await client.getMiniApps({
  offset: 0,
  limit: 10,
});
```
