Số đã có trong danh bạ
contacts.existing_phonesMCP:contacts_existing_phonesBộ công cụ: Khách hàngWhich of these +84 phone numbers already exist as contacts (for de-duplicating an import).
Chỉ đọc
Quyền: Đọc
Gọi bằng REST v2
curl -X POST https://zl.builera.app/api/public/v2/ops/contacts.existing_phones \
-H "Authorization: Bearer za_live_…" \
-H "Content-Type: application/json" \
-d '{"phones":["+84901234567"]}'Mỗi khoá/kết nối tối đa 300 lệnh đọc và 60 lệnh ghi mỗi phút. Gọi lại cùng Idempotency-Key trả đúng kết quả cũ, không làm lại.
Gọi qua MCP
{
"method": "tools/call",
"params": {
"name": "contacts_existing_phones",
"arguments": {
"phones": [
"+84901234567"
]
}
}
}Thêm https://zl.builera.app/mcp vào ứng dụng AI rồi cho phép kết nối; AI chỉ thấy công cụ trong bộ bạn chọn.
Kết quả
HTTP 200
{ "status": "succeeded", "operationId": "…", "data": { … } }Ví dụ đầu vào
{
"phones": [
"+84901234567"
]
}Thay mã (id) mẫu bằng mã thật lấy từ các thao tác liệt kê/tìm kiếm.
Lược đồ đầu vào (JSON Schema)
{
"type": "object",
"properties": {
"phones": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\+84\\d{9}$"
},
"maxItems": 20000
}
},
"required": [
"phones"
],
"additionalProperties": false
}