Lấy danh sách yêu cầu cấp quyền gọi
Tham số
Kiểu dữ liệu
Mô tả
Tham số
Kiểu dữ liệu
Mô tả
Last updated
Last updated
POST $BASE_URL.Zalo/ListRequestConsent HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 297
{
"filter": {
"call_type": "unknown",
"date_from": "2026-01-25T10:50:43.820Z",
"date_to": "2026-01-25T10:50:43.820Z",
"is_charged": true,
"oa_id": "text",
"phone": "text",
"reason_code": "unknown",
"reply_status": "Z",
"status": "Z",
"user_id": "text"
},
"paging": {
"after": "text",
"before": "text",
"limit": 1,
"sort": "text"
}
}{
"consents": [
{
"call_type": "unknown",
"created_at": "2026-01-25T10:50:43.820Z",
"delivery_status": "unknown",
"delivery_time": "2026-01-25T10:50:43.820Z",
"error_code": 1,
"error_message": "text",
"expires_at": "2026-01-25T10:50:43.820Z",
"id": "text",
"is_charged": true,
"oa_id": "text",
"phone": "text",
"reason_code": "unknown",
"reply_status": "Z",
"shop_id": "text",
"status": "Z",
"updated_at": "2026-01-25T10:50:43.820Z",
"user_id": "text"
}
],
"paging": {
"after": "text",
"before": "text",
"limit": 1,
"next": "text",
"prev": "text",
"sort": "text"
}
}curl --location '$BASE_URL.Zalo/ListRequestConsent' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API-KEY' \
--data '{
"filter": {
"call_type": "audio",
"date_from": "<dateTime>",
"date_to": "<dateTime>",
"is_charged": "<boolean>",
"oa_id": "<int64>",
"phone": "<string>",
"reason_code": "flight_announcement",
"reply_status": "S",
"status": "P",
"user_id": "<int64>"
},
"paging": {
"after": "<string>",
"before": "<string>",
"limit": "<integer>",
"sort": "<string>"
}
}'{
"consents": [
{
"call_type": "unknown",
"created_at": "2019-08-24T14:15:22Z",
"delivery_status": "unknown",
"delivery_time": "2019-08-24T14:15:22Z",
"error_code": 0,
"error_message": "string",
"expires_at": "2019-08-24T14:15:22Z",
"id": "string",
"is_charged": true,
"oa_id": "string",
"phone": "string",
"reason_code": "unknown",
"reply_status": "Z",
"shop_id": "string",
"status": "Z",
"updated_at": "2019-08-24T14:15:22Z",
"user_id": "string"
}
],
"paging": {
"after": "string",
"before": "string",
"limit": 0,
"next": "string",
"prev": "string",
"sort": "string"
}
}