CloudTalk MCP by usefulapi

Read calls, contacts and agent groups; create or update contacts and add tags in CloudTalk.

我該用這個嗎

品質與安全性

A
說明品質
97%
結構描述完整度
91%
命名品質
77%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(3)

  • LOWTool 'cloudtalk_list_call_tags_for_call' name length outside 3-30 range在 cloudtalk_list_call_tags_for_call 中
  • LOWTool 'cloudtalk_list_dialer_campaigns' name length outside 3-30 range在 cloudtalk_list_dialer_campaigns 中
  • LOWTool 'cloudtalk_get_dialer_campaign_statistics' name length outside 3-30 range在 cloudtalk_get_dialer_campaign_statistics 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~5,648Token(工具定義)
~2.2 KB典型回應大小
顯著的注意力影響(128k 上下文的 4.41%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "cloudtalk": {
      "url": "https://cloudtalk.usefulapi.io/mcp"
    }
  }
}

遠端端點

https://cloudtalk.usefulapi.io/mcpstreamable-http

它能做什麼

工具清單

工具(21)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢cloudtalk_list_calls(date_from, date_to, public_internal, public_external, contact_id, ...)

List call history, newest first, with filters by date range, agent extension, contact, call type or status. Classic API: GET /calls/index.json.

輸入結構描述

{
  "type": "object",
  "properties": {
    "date_from": {
      "description": "Calls that started at or after this time, for example 2026-11-01 00:00:00.",
      "type": "string"
    },
    "date_to": {
      "description": "Calls that started at or before this time, for example 2026-11-30 23:59:59.",
      "type": "string"
    },
    "public_internal": {
      "description": "Internal number of the agent.",
      "type": "string"
    },
    "public_external": {
      "description": "Number of the caller or callee.",
      "type": "string"
    },
    "contact_id": {
      "description": "Only calls assigned to this contact id.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "user_id": {
      "description": "Only calls assigned to this agent id.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "agent_extension": {
      "description": "Only calls of this agent extension.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "type": {
      "description": "Call direction.",
      "type": "string",
      "enum": [
        "incoming",
        "outgoing",
        "internal"
      ]
    },
    "status": {
      "description": "Call outcome.",
      "type": "string",
      "enum": [
        "missed",
        "answered"
      ]
    },
    "tag_id": {
      "description": "Only calls with this call tag id.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "call_id": {
      "description": "One call id.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "limit": {
      "description": "Items per page (classic API, max 1000).",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "page": {
      "description": "Page number (classic API, starts at 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_get_call(call_id)

Get the details of one call: parties, times, duration, agent and outcome. Analytics API: GET /calls/{callId}.

輸入結構描述

{
  "type": "object",
  "properties": {
    "call_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "The numeric call id (from cloudtalk_list_calls)."
    }
  },
  "required": [
    "call_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_list_call_tags(callType, userId, groupId, limit, cursor)

List the call tags an agent can add to calls, optionally for one direction or one user or group. GET /call-tags.

輸入結構描述

{
  "type": "object",
  "properties": {
    "callType": {
      "description": "Only tags for this direction, plus tags for both.",
      "type": "string",
      "enum": [
        "incoming",
        "outgoing"
      ]
    },
    "userId": {
      "description": "Only tags visible to this user's groups. Cannot combine with groupId.",
      "type": "string"
    },
    "groupId": {
      "description": "Only tags visible to this group. Cannot combine with userId.",
      "type": "string"
    },
    "limit": {
      "description": "Page size, 1 to 100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "Cursor from the previous answer's pagination.next. Omit for the first page.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_list_call_tags_for_call(call_id)

List the call tags assigned to one call. GET /calls/{callId}/tags.

輸入結構描述

{
  "type": "object",
  "properties": {
    "call_id": {
      "type": "string",
      "pattern": "^(\\d+|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
      "description": "The numeric call id or the call uuid."
    }
  },
  "required": [
    "call_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡cloudtalk_add_call_tags(call_id, tagIds)

Add call tags to one call. Tags already on the call are ignored, so a repeat call changes nothing. POST /calls/{callId}/tags.

輸入結構描述

{
  "type": "object",
  "properties": {
    "call_id": {
      "type": "string",
      "pattern": "^(\\d+|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
      "description": "The numeric call id or the call uuid."
    },
    "tagIds": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Call tag ids from cloudtalk_list_call_tags."
    }
  },
  "required": [
    "call_id",
    "tagIds"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_get_group_statistics

Read live call statistics per agent group right now (waiting, answered, missed, agents online). Classic API: GET /statistics/realtime/groups.json.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_list_contacts(search, tagIds, type, updatedSince, customField, ...)

List or search contacts and leads, with their numbers, emails, tags and custom fields. Use customField and customFieldValue for an exact match on your own key. GET /contacts.

輸入結構描述

{
  "type": "object",
  "properties": {
    "search": {
      "description": "Word-prefix search on names and company; phone digits; emails by substring.",
      "type": "string",
      "minLength": 2,
      "maxLength": 200
    },
    "tagIds": {
      "description": "Comma-separated contact tag ids (1 to 20).",
      "type": "string",
      "pattern": "^[^,\\s]+(,[^,\\s]+)*$"
    },
    "type": {
      "description": "Only contacts or only leads.",
      "type": "string",
      "enum": [
        "contact",
        "lead"
      ]
    },
    "updatedSince": {
      "description": "Only contacts changed through the API or the dashboard at or after this time.",
      "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "customField": {
      "description": "Name of a custom field to match exactly. Needs customFieldValue.",
      "type": "string"
    },
    "customFieldValue": {
      "description": "Value the custom field must hold, 1 to 255 characters. Needs customField.",
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "limit": {
      "description": "Page size, 1 to 100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "Cursor from the previous answer's pagination.next. Omit for the first page.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_get_contact(contact_id)

Get one contact or lead by id, with every number, email, tag and custom field. GET /contacts/{contactId}.

輸入結構描述

{
  "type": "object",
  "properties": {
    "contact_id": {
      "type": "string",
      "minLength": 1,
      "description": "The contact id (from cloudtalk_list_contacts)."
    }
  },
  "required": [
    "contact_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴cloudtalk_create_contact(name, type, title, company, industry, ...)

Create a contact or lead. Invalid phones or emails are rejected, not dropped. matchBy phone/email/emailOrPhone updates an existing match instead of creating a duplicate. POST /contacts.

輸入結構描述

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150,
      "description": "The contact's name."
    },
    "type": {
      "description": "Default contact.",
      "type": "string",
      "enum": [
        "contact",
        "lead"
      ]
    },
    "title": {
      "description": "Job title.",
      "type": "string",
      "maxLength": 255
    },
    "company": {
      "description": "Company name.",
      "type": "string",
      "maxLength": 100
    },
    "industry": {
      "description": "Industry.",
      "type": "string",
      "maxLength": 100
    },
    "website": {
      "description": "Website address.",
      "type": "string",
      "maxLength": 100
    },
    "address": {
      "description": "Street address.",
      "type": "string",
      "maxLength": 255
    },
    "city": {
      "description": "City.",
      "type": "string",
      "maxLength": 255
    },
    "state": {
      "description": "State or region.",
      "type": "string",
      "maxLength": 255
    },
    "zip": {
      "description": "Postal code.",
      "type": "string",
      "maxLength": 15
    },
    "countryCode": {
      "description": "ISO 3166-1 alpha-2 country code, for example CZ.",
      "type": "string",
      "pattern": "^[A-Z]{2}$"
    },
    "phones": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\+[1-9]\\d{1,14}$"
      },
      "description": "Phone numbers in E.164 (for example +420777123456)."
    },
    "emails": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Email addresses (up to 20)."
    },
    "tagIds": {
      "description": "Existing contact tag ids (cloudtalk_list_contact_tags).",
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "customFields": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string",
        "maxLength": 255
      },
      "description": "Custom field values, keyed by the field name from cloudtalk_list_contact_fields."
    },
    "favoriteUserId": {
      "description": "The user id who owns the contact.",
      "type": "string"
    },
    "matchBy": {
      "description": "Duplicate check. Default none: always create.",
      "type": "string",
      "enum": [
        "none",
        "phone",
        "email",
        "emailOrPhone"
      ]
    },
    "idempotency_key": {
      "description": "Retry-safe key. The same key and body return the same contact.",
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    }
  },
  "required": [
    "name"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴cloudtalk_update_contact(contact_id, type, name, title, company, ...)

Change fields of one contact. phones and emails replace the whole list. customFields merge by key; a key set to null is removed. PATCH /contacts/{contactId}.

輸入結構描述

{
  "type": "object",
  "properties": {
    "contact_id": {
      "type": "string",
      "minLength": 1,
      "description": "The contact id (from cloudtalk_list_contacts)."
    },
    "type": {
      "description": "contact turns a lead into a contact. A contact cannot become a lead.",
      "type": "string",
      "const": "contact"
    },
    "name": {
      "description": "New name (cannot be empty).",
      "type": "string",
      "minLength": 1,
      "maxLength": 150
    },
    "title": {
      "description": "Job title. null clears it.",
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ]
    },
    "company": {
      "description": "Company. null clears it.",
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ]
    },
    "industry": {
      "description": "Industry. null clears it.",
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ]
    },
    "website": {
      "description": "Website. null clears it.",
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ]
    },
    "address": {
      "description": "Street address. null clears it.",
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ]
    },
    "city": {
      "description": "City. null clears it.",
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ]
    },
    "state": {
      "description": "State or region. null clears it.",
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ]
    },
    "zip": {
      "description": "Postal code. null clears it.",
      "anyOf": [
        {
          "type": "string",
          "maxLength": 15
        },
        {
          "type": "null"
        }
      ]
    },
    "countryCode": {
      "description": "ISO 3166-1 alpha-2 country code. Cannot be null.",
      "type": "string",
      "pattern": "^[A-Z]{2}$"
    },
    "phones": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\+[1-9]\\d{1,14}$"
      },
      "description": "Phone numbers in E.164 (for example +420777123456)."
    },
    "emails": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Email addresses (up to 20)."
    },
    "customFields": {
      "description": "Custom fields to set. A null value removes that field.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "anyOf": [
          {
            "type": "string",
            "maxLength": 255
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "favoriteUserId": {
      "description": "Owner user id. null clears the owner.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "contact_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡cloudtalk_add_contact_tags(contact_id, tagIds)

Add existing contact tags to one contact. Tags already on the contact are kept. POST /contacts/{contactId}/tags.

輸入結構描述

{
  "type": "object",
  "properties": {
    "contact_id": {
      "type": "string",
      "minLength": 1,
      "description": "The contact id (from cloudtalk_list_contacts)."
    },
    "tagIds": {
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Tag ids from the matching list tool."
    }
  },
  "required": [
    "contact_id",
    "tagIds"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_list_contact_tags(search, limit, cursor)

List the contact tags in the account, optionally filtered by name. GET /contact-tags.

輸入結構描述

{
  "type": "object",
  "properties": {
    "search": {
      "description": "Tags whose name contains this text, ignoring case.",
      "type": "string",
      "minLength": 1,
      "maxLength": 60
    },
    "limit": {
      "description": "Page size, 1 to 100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "Cursor from the previous answer's pagination.next. Omit for the first page.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_list_contact_fields(limit, cursor)

List the custom contact fields defined in the account, with their names for contact writes and searches. GET /contact-fields.

輸入結構描述

{
  "type": "object",
  "properties": {
    "limit": {
      "description": "Page size, 1 to 100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "Cursor from the previous answer's pagination.next. Omit for the first page.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_list_agents(id, associated_number, limit, page)

List the agents (users) in the account with extension, group and assigned number. Classic API: GET /agents/index.json.

輸入結構描述

{
  "type": "object",
  "properties": {
    "id": {
      "description": "One agent id.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "associated_number": {
      "description": "Agents with this assigned number, in E.164.",
      "type": "string"
    },
    "limit": {
      "description": "Items per page (classic API, max 1000).",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "page": {
      "description": "Page number (classic API, starts at 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_list_groups(limit, page)

List the agent groups (queues) in the account. Classic API: GET /groups/index.json.

輸入結構描述

{
  "type": "object",
  "properties": {
    "limit": {
      "description": "Items per page (classic API, max 1000).",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "page": {
      "description": "Page number (classic API, starts at 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_list_numbers(id, country_code, area_code, connected_to, is_free, ...)

List the phone numbers on the account, with their routing (group, agent, conference room or fax) and whether they are free. Classic API: GET /numbers/index.json.

輸入結構描述

{
  "type": "object",
  "properties": {
    "id": {
      "description": "One number id.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "country_code": {
      "description": "Country calling code, for example 420.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "area_code": {
      "description": "Local area code.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "connected_to": {
      "description": "Route type: 0 group, 1 agent, 2 conference room, 3 fax.",
      "anyOf": [
        {
          "type": "number",
          "const": 0
        },
        {
          "type": "number",
          "const": 1
        },
        {
          "type": "number",
          "const": 2
        },
        {
          "type": "number",
          "const": 3
        }
      ]
    },
    "is_free": {
      "description": "0 taken, 1 free.",
      "anyOf": [
        {
          "type": "number",
          "const": 0
        },
        {
          "type": "number",
          "const": 1
        }
      ]
    },
    "limit": {
      "description": "Items per page (classic API, max 1000).",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "page": {
      "description": "Page number (classic API, starts at 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_list_blacklist(id, country_code, type, public_number, limit, ...)

List the numbers on the inbound or outbound call blacklist. Classic API: GET /blacklist/index.json.

輸入結構描述

{
  "type": "object",
  "properties": {
    "id": {
      "description": "One blacklist entry id.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "country_code": {
      "description": "Country calling code.",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "type": {
      "description": "Blacklist direction.",
      "type": "string",
      "enum": [
        "all",
        "incoming",
        "outgoing"
      ]
    },
    "public_number": {
      "description": "One number.",
      "type": "string"
    },
    "limit": {
      "description": "Items per page (classic API, max 1000).",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "page": {
      "description": "Page number (classic API, starts at 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_list_user_statuses(status, updatedSince, limit, cursor)

List what each user is doing right now (online, idle, offline, on a call, or after-call work). GET /user-statuses.

輸入結構描述

{
  "type": "object",
  "properties": {
    "status": {
      "description": "Only users with this live status.",
      "type": "string",
      "enum": [
        "online",
        "idle",
        "offline",
        "on_call",
        "after_call_work"
      ]
    },
    "updatedSince": {
      "description": "Only users whose status changed strictly after this time.",
      "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "limit": {
      "description": "Page size, 1 to 100.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "Cursor from the previous answer's pagination.next. Omit for the first page.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_get_user_status(user_id)

Get what one user is doing right now. GET /user-statuses/{userId}.

輸入結構描述

{
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string",
      "minLength": 1,
      "description": "The user id (from cloudtalk_list_agents)."
    }
  },
  "required": [
    "user_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_list_dialer_campaigns(status, mode, include_deleted, limit, cursor)

List AI Sales Dialer campaigns, filtered by lifecycle status or dialing mode. GET /dialer/campaigns.

輸入結構描述

{
  "type": "object",
  "properties": {
    "status": {
      "description": "Only campaigns in this status.",
      "type": "string",
      "enum": [
        "initializing",
        "active",
        "inactive",
        "archived",
        "deleted"
      ]
    },
    "mode": {
      "description": "Only campaigns with this dialing mode.",
      "type": "string",
      "enum": [
        "sequential",
        "parallel"
      ]
    },
    "include_deleted": {
      "description": "Include campaigns with status deleted (hidden by default).",
      "type": "boolean"
    },
    "limit": {
      "description": "Campaigns per page.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "Cursor from the previous answer's pagination.next. Omit for the first page.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢cloudtalk_get_dialer_campaign_statistics(campaign_id, dateFrom, dateTo, includeDurations)

Get the statistics of one dialer campaign, all time or for a date window (give both dateFrom and dateTo). GET /dialer/campaigns/{campaignId}/statistics.

輸入結構描述

{
  "type": "object",
  "properties": {
    "campaign_id": {
      "type": "string",
      "minLength": 1,
      "description": "The campaign id (from cloudtalk_list_dialer_campaigns)."
    },
    "dateFrom": {
      "description": "Inclusive start, RFC 3339. Needs dateTo.",
      "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "dateTo": {
      "description": "Exclusive end, RFC 3339. Needs dateFrom.",
      "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "includeDurations": {
      "description": "Include call duration figures on an all-time read.",
      "type": "boolean"
    }
  },
  "required": [
    "campaign_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本21 個工具