Gửi 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/RequestConsent HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"call_type": "unknown",
"oa_id": "text",
"phone": "text",
"reason_code": "unknown"
}{
"call_type": "unknown",
"created_at": "2026-01-25T10:50:43.848Z",
"delivery_status": "unknown",
"delivery_time": "2026-01-25T10:50:43.848Z",
"error_code": 1,
"error_message": "text",
"expires_at": "2026-01-25T10:50:43.848Z",
"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.848Z",
"user_id": "text"
}curl --location '$BASE_URL.Zalo/RequestConsent' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API-KEY' \
--data '{
"call_type": "video",
"oa_id": "<int64>",
"phone": "<string>",
"reason_code": "product_service_consulting"
}'{
"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"
}