03-16-2022 08:41 AM
I'm playing around with the Webex API in order to show a customer the possibilities of replacing an integration they have using Jabber with Webex.
To do this I need Call Events from the telephony_calls resource and a Webhook.
The goal is to be able to receive information about external inbound calls, and get the calling party ID to match to a CRM, and to get the times, dates, and durations of calls.
I can easily create a webhook for myself and start bringing in this data, however this is not scalable. So I'm looking at using an Integration in order to make the API call for me and create a Webhook for a user.
As far as I can see the API just responds with a 400, if I try to define the "owner" as "org", rather than "creator". I have yet to try using creator as the owner, but I suspect that will just end up with the Webhook attempting to return call data for the Integration.
The documentation for webhooks for telephony_calls is a bit light, especially on the proper use of filters (I found that using the personId filter didn't give me calls for one user but seemed to only care about calls from that user).
Has anyone managed to use the API to create Webhooks on behalf of users, or to successfully use it to create Webhooks as the Integration but limited to a user?
Solved! Go to Solution.
03-16-2022 08:45 PM
Hi James,
ownedBy
string
Specified when creating an org/admin level webhook. Supported formeetings
,recordings
andmeetingParticipants
resources for now.
03-16-2022 08:45 PM
Hi James,
ownedBy
string
Specified when creating an org/admin level webhook. Supported formeetings
,recordings
andmeetingParticipants
resources for now.
03-24-2022 03:00 AM
Okay, playing around I cannot use anything that subscribes on behalf of a user.
Ideally we need the ability to create webhooks on behalf of users, so that we can as the administrator of our own instance, dynamically create Webex Calling webhooks.
So whilst I accept that the answer as it stands is correct, it's not very helpful.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide