Lấy danh sách OA
API này dùng để lấy danh sách OA đã được kết nối trên eTelecom
Tham số
Kiểu dữ liệu
Mô tả
Tham số
Kiểu dữ liệu
Mô tả
Last updated
API này dùng để lấy danh sách OA đã được kết nối trên eTelecom
Last updated
POST $BASE_URL.Zalo/ListOA HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 199
{
"filter": {
"app_id": "text",
"date_from": "2026-03-05T23:01:52.929Z",
"date_to": "2026-03-05T23:01:52.929Z",
"name": "text",
"oa_id": "text"
},
"paging": {
"after": "text",
"before": "text",
"limit": 1,
"sort": "text"
}
}{
"accounts": [
{
"app_id": "text",
"avatar": "text",
"connection_id": "text",
"connection_method": "unknown",
"cover": "text",
"created_at": "2026-03-05T23:01:52.929Z",
"current_quality": "unknown",
"daily_quota": 1,
"description": "text",
"expires_at": "2026-03-05T23:01:52.929Z",
"is_verified": true,
"last_week_quality": "unknown",
"name": "text",
"oa_id": "text",
"onwer_id": "text",
"remaining_quota": 1,
"shop_id": "text",
"status": "Z",
"updated_at": "2026-03-05T23:01:52.929Z"
}
],
"paging": {
"after": "text",
"before": "text",
"limit": 1,
"next": "text",
"prev": "text",
"sort": "text"
}
}curl --location '$BASE_URL.Zalo/ListOA' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API-KEY' \
--data '{
"filter": {
"app_id": "<int64>",
"date_from": "<dateTime>",
"date_to": "<dateTime>",
"name": "<string>",
"oa_id": "<int64>"
},
"paging": {
"after": "<string>",
"before": "<string>",
"limit": "<integer>",
"sort": "<string>"
}
}'{
"accounts": [
{
"app_id": "string",
"avatar": "string",
"connection_id": "string",
"connection_method": "unknown",
"cover": "string",
"created_at": "2019-08-24T14:15:22Z",
"current_quality": "unknown",
"daily_quota": 0,
"description": "string",
"expires_at": "2019-08-24T14:15:22Z",
"is_verified": true,
"last_week_quality": "unknown",
"name": "string",
"oa_id": "string",
"onwer_id": "string",
"remaining_quota": 0,
"shop_id": "string",
"status": "Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"paging": {
"after": "string",
"before": "string",
"limit": 0,
"next": "string",
"prev": "string",
"sort": "string"
}
}