XML API Tips: Listing Users’ Telephony Profiles
As an Administrator, often times you may want to view other users’ telephony profiles in order to troubleshoot issues or administer additional profiles, etc. From the UI, there is no way easy way to get at other users’ audio profiles. From the API perspective, there is one method that often goes unlooked (although it is documented).
The ‘telephony-profile-list‘ API will only show the caller’s telephony profiles unless you actually specify a principal-id in the call. If you specify the additional ‘principal-id=XXXXXXXX‘ parameter, you will get the list of all that users’ telephony profiles. You can then obtain the profile-id of a specific profile, and continue to fetch additional information by using the ‘telephony-profile-info’ API call to get all the fields and values you are looking for, for that specific profile.
Here is an example of how to fetch the list of other users’ telephony profiles on the system:
First, log in as an Administrator.
Then find the users’ principal-id you want to search on.
Lastly, run this call to get the list of that users’ telephony profiles: