通话明细列表
GET /apiv2/voice/histories.json
Query参数
| Name | Required | Type | Comment | 
|---|---|---|---|
| created_start | 否 | string | 按创建时间筛选,开始时间 | 
| created_end | 否 | string | 按创建时间筛选,结束时间 | 
| page | 否 | number | 页码,默认为 1 | 
| per_page | 否 | number | 分页尺寸,默认为 100 | 
| 备注:按创建和更新时间进行筛选的参数 created_start、created_end、updated_start、updated_end,支持日期格式(如 2016-01-01 00:00:00)和时间戳(秒级别的整型)。 | |||
调用权限
admin
curl 示例
curl https://{subdomain}.kf5.com/apiv2/voice/histories.json \
  -v -u {email_address}:{password}返回示例
Status: 200 OK{
  "calls": [
    {
      "id": 17,
      "type": "inbound",
      ...    },
    {
      "id": 1,
      "type": "inbound",
      ...    },
  ],
  "count": 37,
  "next_page": "https://{subdomain}/apiv2/voice/histories.json?per_page=30&page=2",
  "previous_page": null
}