Zoom Phone - User login API Call | Community
Skip to main content
Newcomer
January 23, 2023
Question

Zoom Phone - User login API Call

  • January 23, 2023
  • 5 replies
  • 2 views

I would like to know if there is an API call to get Phone users list and last logged in to assess if users are using their phone account/license. 

    5 replies

    FORE-Craig
    Specialist
    Specialist
    January 23, 2023

    Hi @ejeanch02 

     

    The last login is in the Get List User query:

     

    https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/users

     

    It is not specifically for Phone Users, since the login to Zoom is at the application level.

     

    I hope that help!

     

    ejeanch02Author
    Newcomer
    January 23, 2023

    Is there a way to differentiate between users who have zoom phone and those who do not?  I was also not sure of it would capture users who may solely use a physical phone and not the applicaton. 

    Contributor I
    January 23, 2023

    For using Zoom phone, probably want to look at the call log per person as one can use the Zoom app w/o using the Zoom Phone license.... 

    But then one has to decide what indicates someone is using their license - only making calls as anyone can receive a spam call perhaps?

    Community Super Champion | Partner
    January 23, 2023

    hi ejeanch02,

     

    if you have a business or education account, take a look at

    Viewing the Zoom Phone usage and adoption dashboard – Zoom Support

     

    thanks,  eliot

    ejeanch02Author
    Newcomer
    January 23, 2023

    I have seen the dashboard but it is very limited. I want something more granular. How can I get a list of users who have made zero calls in the last 3 month ? 

    Contributor I
    January 23, 2023

    No, you would have to do a call to get a list of all zoom phone users, and then see who isn't in the call log

    Contributor I
    January 23, 2023

    The call log would have all zoom phone users whether using physical or zoom app for calls.

    I'm sure there is some API call to get the zoom phone licensed users, though perhaps have to get all users and look at each to see what license they have? And then for each of the Zoom phone users, get their extension to cross check against the call log.

    I've been doing this by exporting the zoom user list and the call logs and using a simple shell script to cross check as haven't gotten around to learning the API yet.

    ejeanch02Author
    Newcomer
    January 24, 2023

    there is not as much API for zoom phone yet. would you be open to sharing your shell script and what are you using as a reference to diff? 

     

    when you export the csv file the format for the users list and call log list differ. 

    Contributor I
    January 24, 2023

    LoL, as an old time unix user, I just write these things on the fly usually.

    Basically export the Zoom Phone user list (and Zoom Phone Common Area Phone list?) as then the call logs for the period you are investigating. Probably only want the call log to show outbound calls since no control over inbound calls?

    In a script or manually, use cut or csvcut to pull out the list of extensions from the user/cap phone list. Or use a spreadsheet for that matter!

    Then write a script that grep's for each extension in the call log and counts the number of lines matched. 

    Alternatively, could use cut/csvcut to pull out the extensions from the call log and pipe it through uniq -c to get the counts per extension, then cross match it with the list of all extensions.