MCP Control
Коммуникации · Чтение

Клиенты · Контакты

customer_contacts
Контактные карточки и телефон

Попробуйте три запроса

Получить данные
  1. Вы указываетеКлиент
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Клиенты / Контакты» выполни чтение по выбранной записи (клиент). Выведи кратко: клиент, contacts.
Что искать в ответе
customerId
Клиент
contacts
Поле ответа
Задать параметры
  1. Вы указываетеКлиент
  2. ПомощникСверка выбора
  3. Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Клиенты / Контакты» на учебном примере с customerId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
customerId
DEMO-101
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Клиенты / Контакты» объясни клиент, contacts. Отметь отсутствующие значения.
Поля для проверки
customerId
Клиент
contacts
Поле ответа
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании.

Описание разработчика

List current stored contact points for a verified customer. Select an exact contactPointId for communications_send; the fingerprint changes when the underlying value changes. Contact labels do not automatically authorize a provider or imply consent.

Параметры запроса
customerId
Идентификатор клиента, выбранного по результату поиска. обязательно по схеме · string · до символов 160
Что вернёт команда
customerId
Verified canonical customer identifier. обязательно по схеме · string
contacts
Available stored contact points, limited to 50. обязательно по схеме · array
Поля и технические схемы
Входные поля и поля ответа customer_contacts
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Canonical customer identifier returned by a search action in the currently connected workspace. Never construct it from a display name."
    }
  },
  "required": [
    "customerId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "description": "Verified canonical customer identifier."
    },
    "contacts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "contactPointId": {
            "type": "string",
            "description": "Server-issued fingerprint identifying this exact contact entry and customer. Refresh contacts if the entry changes; never generate or reuse it for another customer."
          },
          "label": {
            "type": "string",
            "description": "Existing contact name such as phone, email, WhatsApp or Instagram; an arbitrary label is not evidence of channel support."
          },
          "value": {
            "type": "string",
            "description": "Actual stored contact value. The send action resolves this server-side from contactPointId; do not substitute a guessed address."
          },
          "recordedAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ],
            "description": "Stored event time represented in UTC, or null when absent."
          }
        },
        "required": [
          "contactPointId",
          "label",
          "value",
          "recordedAt"
        ],
        "additionalProperties": false
      },
      "description": "Available stored contact points, limited to 50."
    }
  },
  "required": [
    "customerId",
    "contacts"
  ],
  "additionalProperties": false
}