Zoom API
  1. Phone
Zoom API
  • Accounts
    • List sub accounts
    • Create a sub account
    • Disassociate a sub account
    • Get sub account details
    • Get locked settings
    • Update locked settings
    • Get managed domains
    • Update options
    • Update the account owner
    • Get settings
    • Update settings
    • Delete virtual background files
    • Upload virtual background files
    • Get trusted domains
  • Billing
    • Get billing information
    • Update billing information
    • List billing invoices
    • Get invoice details
    • Get plan Information
    • Subscribe plans
    • Subscribe additional plan
    • Update an additional plan
    • Cancel additional plans
    • Update a base plan
    • Cancel a base plan
    • Get plan usage
    • Download an invoice file
  • Phone
    • Update BYOC settings
      PATCH
    • Set up a Zoom Phone account
      POST
    • Assign SIP trunks
      POST
    • Update SIP trunk details
      PATCH
    • Add BYOC phone numbers
      POST
    • Get account's call logs
      GET
    • List calling plans
      GET
    • Change main company number
      PUT
    • List phone numbers
      GET
    • Get phone number details
      GET
    • Update phone number details
      PATCH
    • Get call recordings
      GET
    • List setting templates
      GET
    • Add a setting template
      POST
    • Get setting template details
      GET
    • Update a setting template
      PATCH
    • List BYOC SIP trunks
      GET
    • List phone users
      GET
    • Get user's profile
      GET
    • Update user's profile
      PATCH
    • Get user's call logs
      GET
    • Delete a user's call log
      DELETE
    • Assign calling plan to a user
      POST
    • Unassign user's calling plan
      DELETE
    • Assign phone number to user
      POST
    • Unassign phone number
      DELETE
    • Get user's recordings
      GET
    • Get user's settings
      GET
    • Remove shared access
      DELETE
    • Update shared access
      PATCH
    • Set up shared access
      POST
    • Get user's voicemails
      GET
    • Delete a voicemail
      DELETE
  • Cloud Recording
    • List recordings of an account
    • List archived files
    • Delete meeting recordings
    • Get meeting recordings
    • List recording registrants
    • Create a recording registrant
    • Get registration questions
    • Update registration questions
    • Update registrant's status
    • Get meeting recording settings
    • Update meeting recording settings
    • Recover meeting recordings
    • Delete a meeting recording file
    • Recover a single recording
    • List all recordings
  • SIP Connected Audio
    • List internal call-out countries
    • Add internal call-out countries
    • Delete internal call-out country
    • List internal numbers
    • Add internal numbers
    • Delete an internal number
    • Delete all numbers
    • Assign numbers
    • Assign SIP trunk configuration
    • List SIP trunks
    • Assign SIP trunks
    • Delete a SIP trunk
    • List SIP trunk numbers
  • Users
    • Switch a user's account
    • List users
    • Create users
    • Check a user email
    • Get user's ZAK
    • Check a user's PM room
    • Delete a user
    • Get a user
    • Update a user
    • Delete user assistants
    • List user assistants
    • Add assistants
    • Delete a user assistant
    • Update a user's email
    • Update a user's password
    • Get user permissions
    • Upload a user's profile picture
    • Update a user's presence status
    • Delete user schedulers
    • List user schedulers
    • Delete a scheduler
    • Get user settings
    • Update user settings
    • Delete virtual background files
    • Upload virtual background files
    • Update user status
    • Revoke a user's SSO token
    • Get a user token
  • Chat Channels
    • Delete a channel
    • Get a channel
    • Update a channel
    • Leave a channel
    • Join a channel
    • Remove a member
    • List user's channels
    • Create a channel
  • Contacts
    • List user's contacts
    • Get user's contact details
    • Search company contacts
  • Chat Channels (Account-level)
    • Delete a channel
    • Get a channel
    • Update a channel
    • List channel members
    • Invite channel members
    • Remove a member
  • Chat Messages
    • List user's chat messages
    • Send a chat message
    • Delete a message
    • Update a message
  • Groups
    • List groups
    • Create a group
    • Delete a group
    • Get a group
    • Update a group
    • Get locked settings
    • Update locked settings
    • List group members
    • Add group members
    • Delete a group member
    • Update a group member
    • Get a group's settings
    • Update a group's settings
    • Delete virtual background files
    • Upload virtual background files
  • Devices
    • List H.323/SIP devices
    • Create a H.323/SIP device
    • Delete a H.323/SIP device
    • Update a H.323/SIP device
  • Chatbot Messages
    • Send chatbot messages
    • Delete a chatbot message
    • Edit a chatbot message
  • IM Chat
    • Get IM chat sessions
    • Get IM chat messages
    • Send IM messages
    • Get user’s IM messages
  • IM Groups
    • List IM directory groups
    • Create an IM directory group
    • Delete an IM directory group
    • Retrieve an IM directory group
    • Update an IM directory group
    • List IM directory group members
    • Add IM directory group members
    • Delete an IM directory group member
  • Meetings
    • Use in-Meeting recording controls
    • Delete a meeting
    • Get a meeting
    • Update a meeting
    • Perform batch poll creation
    • Get meeting invitation
    • Get live stream details
    • Update a live stream
    • Update Live Stream Status
    • List meeting polls
    • Create a meeting poll
    • Delete a meeting poll
    • Get a meeting poll
    • Update a meeting poll
    • List meeting registrants
    • Add meeting registrant
    • List registration questions
    • Update registration questions
    • Update registrant's status
    • Delete a meeting registrant
    • Update meeting status
    • List ended meeting instances
    • List past meeting's poll results
    • Get past meeting details
    • Get past meeting participants
    • List meeting templates
    • List meetings
    • Create a meeting
  • Dashboards
    • List Zoom meetings client feedback
    • Get zoom meetings client feedback
    • List client meeting satisfaction
    • Get CRC port usage
    • Get IM metrics
    • Get top 25 Zoom Rooms with issues
    • Get issues of Zoom Rooms
    • List meetings
    • Get meeting details
    • List meeting participants
    • List meeting participants QoS
    • Get post meeting feedback
    • Get sharing/recording details
    • Get meeting participant QoS
    • List webinars
    • Get webinar details
    • Get webinar participants
    • List webinar participant QoS
    • Get post webinar feedback
    • Get sharing/recording details
    • Get webinar participant QoS
    • List Zoom Rooms
    • Get top 25 issues of Zoom Rooms
    • Get Zoom Rooms details
    • List call logs
    • Get call QoS
    • Get call details from call log
  • Deprecated API Endpoints
    • List past meeting's files
    • List past webinar files
  • Webinars
    • Get webinar absentees
    • List past webinar instances
    • List webinar participants
    • List past webinar poll results
    • List Q&A of past webinar
    • List webinar templates
    • List webinars
    • Create a webinar
    • Delete a webinar
    • Get a webinar
    • Update a webinar
    • Perform batch registration
    • Remove panelists
    • List panelists
    • Add panelists
    • Remove a panelist
    • List a webinar's polls
    • Create a webinar's poll
    • Delete a webinar poll
    • Get a webinar poll
    • Update a webinar poll
    • List webinar registrants
    • Add a webinar registrant
    • List registration questions
    • Update registration questions
    • Update registrant's status
    • Delete a webinar registrant
    • Get a webinar registrant
    • Update webinar status
    • Get webinar tracking sources
  • Phone Auto Receptionists
    • Add an auto receptionist
    • Update auto receptionist details
    • Unassign all phone numbers
    • Assign phone numbers
    • Unassign a phone number
  • Phone Blocked List
    • List blocked lists
    • Create a blocked list
    • Delete a blocked list
    • Get blocked list details
    • Update a blocked list
  • Phone Call Queues
    • List call queues
    • Create a call queue
    • Delete a call queue
    • Get call queue details
    • Update call queue details
    • Change call queue manager
    • Unassign all members
    • Add members to a call queue
    • Unassign a member
    • Unassign all phone numbers
    • Assign numbers to a call queue
    • Unassign a phone number
    • Get call queue recordings
  • Common Area Phones
    • List common area phones
    • Add a common area phone
    • Delete a common area phone
    • Get common area phone details
    • Update common area phone
  • Phone Devices
    • List devices
    • Add a device
    • Delete a device
    • Get device details
    • Update a device
  • Phone Reports
    • Get operation logs report
  • Phone Shared Line Groups
    • List shared line groups
    • Create a shared line group
    • Delete a shared line group
    • Get a shared line group
    • Update a shared line group
    • Unassign members of a shared line group
    • Add members to a shared line group
    • Unassign a member from a shared line group
    • Assign phone numbers
    • Unassign a phone number
  • Phone Site
    • List phone sites
    • Create a phone site
    • Delete a phone site
    • Get phone site details
    • Update phone site details
  • Reports
    • Get sign In / sign out activity report
    • Get cloud recording usage report
    • Get daily usage report
    • Get meeting detail reports
    • Get meeting participant reports
    • Get meeting poll reports
    • Get operation logs report
    • Get telephone reports
    • Get active/inactive host reports
    • Get meeting reports
    • Get webinar detail reports
    • Get webinar participant reports
    • Get webinar poll reports
    • Get webinar Q&A report
  • Roles
    • List roles
    • Create a role
    • Delete a role
    • Get role information
    • Update role information
    • List members in a role
    • Assign a role
    • Unassign a role
  • Rooms
    • List Zoom Rooms
    • Add a Zoom Room
    • List digital signage contents
    • Update E911 digital signage
    • Check-in or check-out of a Zoom Room
    • Delete a Zoom Room
    • Get Zoom Room profile
    • Update a Zoom Room profile
    • List Zoom Room devices
    • Change a Zoom Room's location
    • Get Zoom Room settings
    • Update Zoom Room settings
  • Rooms Account
    • Get Zoom Room account profile
    • Update Zoom Room account profile
    • Get Zoom Room account settings
    • Update Zoom Room account settings
  • Rooms Location
    • List Zoom Room locations
    • Add a location
    • Get Zoom Room location structure
    • Update Zoom Rooms location structure
    • Get Zoom Room location profile
    • Update Zoom Room location profile
    • Change the assigned parent location
    • Get location settings
    • Update location settings
  • Rooms Devices
    • Change Zoom Rooms' app version
  • SIP Phone
    • List SIP phones
    • Enable SIP phone
    • Delete SIP phone
    • Update SIP phone
  • TrackingField
    • List tracking fields
    • Create a tracking field
    • Delete a tracking field
    • Get a tracking field
    • Update a tracking field
  • TSP
    • Get account's TSP information
    • Update account's TSP information
    • List user's TSP accounts
    • Add a user's TSP account
    • Set global dial-in URL for a TSP user
    • Delete a user's TSP account
    • Get a user's TSP account
    • Update a TSP account
  • PAC
    • List a user's PAC accounts
  • Data Compliance
  • Webhooks
  • master account APIs
  1. Phone

Get account's call logs

GET
/phone/call_logs
Phone
Retrieve call logs for an account.
Scopes: phone:read:admin
Rate Limit Label: Heavy
Prerequisite:
1.
Business or Enterprise account
2.
A Zoom Phone license
3.
Account Owner and a role with Zoom Phone Management
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://api.zoom.us/v2/phone/call_logs'
响应示例响应示例
200 - response
{
  "call_logs": [
    {
      "call_type": "voip",
      "callee_name": "somename",
      "callee_number": "34567889",
      "callee_number_type": "2",
      "caller_name": "ullamconame",
      "caller_number": "12345678",
      "caller_number_type": "1",
      "date_time": "2019-05-19T20:00:00Z",
      "direction": "inbound",
      "duration": 18677470,
      "id": "sjbkfdsbfsdf",
      "owner": {
        "extension_number": 1009,
        "id": "29QVgYBGRmOM5VlC0DmLgg",
        "name": "Not_Delete_CallQueue_Recording",
        "type": "callQueue"
      },
      "result": "no_answer"
    }
  ],
  "from": "2019-05-19",
  "page_count": 0,
  "page_number": 1,
  "page_size": 30,
  "to": "2019-05-20",
  "total_records": 0
}

请求参数

Query 参数
page_size
integer 
可选
The number of records returned within a single API call.
<= 300
默认值:
30
from
string 
可选
Start date from which you would like to get the call logs. The start date should be within past six months.
The API only returns data pertaining to a month. Thus, the date range(defined using "from" and "to" fields) for which the call logs are to be returned must not exceed a month.
to
string 
可选
The end date upto which you would like to get the call logs for. The end date should be within past six months.
type
string 
可选
The type of the call logs. The value can be either "all" or "missed".
next_page_token
string 
可选
The next page token is used to paginate through large result sets. A next page token will be returned whenever the set of available results exceeds the current page size. The expiration period for this token is 15 minutes.
path
string 
可选
Filter the API response by path of the call. The value of this field can be one of the following: voiceMail, message, forward, extension, callQueue, ivrMenu, companyDirectory, autoReceptionist, contactCenter, disconnected, commonAreaPhone,
pstn, transfer, sharedLines, sharedLineGroup, tollFreeBilling, meetingService, parkPickup,
parkTimeout, monitor, takeover, sipGroup
time_type
enum<string> 
可选
Enables you to sort call logs by start or end time. Choose the sort time value. Values include startTime or endTime.
枚举值:
startTimeendTime
默认值:
startTime
site_id
string 
可选
Unique identifier of the site. Use this query parameter if you have enabled multiple sites and would like to filter the response of this API call by call logs of a specific phone site.

返回响应

🟢200**HTTP Status Code:** `200`<br> Account's call logs returned.
application/json
Body
Account Call Logs
call_logs
array [object {24}] 
Call Log
可选
answer_start_time
string <date-time>
可选
GMT date and time at which the inbound call was answered. The value of this field is in yyyy-MM-dd'T'HH:mm:ss'Z' format.
call_id
string 
可选
Unique identifier of the phone call.
call_type
enum<string> 
可选
The type of call:
*voip (Voice over IP)
*pstn (Public Switched Telephone Network)
*tollfree
*international
*contactCenter
枚举值:
voippstntollfreeinternationalcontactCenter
callee_name
string 
可选
Contact name of callee
callee_number
string 
可选
Number of callee
callee_number_type
string 
可选
Type of callee's number. 1 - internal | 2 - external
caller_name
string 
可选
Contact name of caller
caller_number
string 
可选
Number of caller
caller_number_type
string 
可选
Type of caller's number. 1 - internal | 2 - external
charge
string 
可选
Billing charge for the call.
client_code
string 
可选
Client code.
date_time
string 
可选
Start time of the call
direction
string 
可选
Direction of the call. "inbound" | "outbound"
duration
integer 
可选
Duration of the call in seconds.
id
string 
可选
Call Log ID
owner
object 
可选
path
string 
可选
Path of the call.
rate
string 
可选
Billing rate for the call.
recording_id
string 
可选
Unique identifier of the call recording.
recording_type
enum<string> 
可选
Type of call recording:
1 OnDemand
2 Automatic
枚举值:
12
result
string 
可选
Result of the call. "call_connected" | "recorded" | "no_answer"
site
object 
可选
user_id
string 
可选
User ID of the call log owner.
waiting_time
string 
可选
Duration that a call queue member takes to answer a call from the time it started ringing. The value of the duration is in seconds.
from
string 
可选
Date from which you would like to view the logs.
next_page_token
string 
可选
The next page token is used to paginate through large result sets. A next page token will be returned whenever the set of available results exceeds the current page size. The expiration period for this token is 15 minutes.
page_count
integer 
可选
Total number of pages
page_size
integer 
可选
The number of records returned within a single API call for each page.
to
string 
可选
Date up to which you would like to view the phone log.
total_records
integer 
可选
The total number of records returned.
🟠404**HTTP Status Code:** `404`<br> **Error Code:** `3001`<br> Error retrieving call logs.

【Zoom】API开发者 微信交流群

用微信扫右侧二维码,加入【Zoom】API开发者 交流群,互助沟通

扫码加入交流群
上一页
Add BYOC phone numbers
下一页
List calling plans
Built with