09-04-2022 11:00 AM - edited 09-04-2022 11:03 AM
Hello,
I am using webex webhooks to collect meeting participation joined/left events.
I find "sometimes" the participant-left webhook payload doesn't contain the participant Id (at path ".data.data.id"). This field is a must have. Without this there is no way to identify the user. This is happening in a real/paid webex account, not on a SandBox (which I find to have a lot of weird quirks).
Following is an example of such an incomplete webhook callback payload. Note that the id field at path ".data.data.id" is missing.
{
"message":"webex meeting event hook triggered",
"data":{
"status":"active",
"data":{
"displayName":"SomeName",
"meetingId":"f18b8a58266746eb93198b925d39de97_I_237607385244279949",
"state":"left",
"siteUrl":"<siteUrl>",
"hostPersonId":"Y2lzY29zcGFyazovL3VzL1BFT1BMRS9lNWMwN2I3OC01NjA5LTQzNzgtODhlMS02ZjQwYTEzMzdlOTg",
"devices":[
{
"correlationId":"6e16fb02-cbc5-4afb-ba2e-7bbdbec32005",
"joinedTime":null,
"leftTime":"2022-09-04T16:36:19Z",
"deviceType":"GCC_OS_BrowserClient"
}
],
"orgId":"6c0531ce-0b88-4e3c-b14c-a4b9f1496c88",
"hostEmail":"<hostEmail>"
},
"orgId":"Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi82YzA1MzFjZS0wYjg4LTRlM2MtYjE0Yy1hNGI5ZjE0OTZjODg",
"name":"Webhook: meetingParticipants left",
"created":"2022-05-17T19:17:46.920Z",
"createdBy":"Y2lzY29zcGFyazovL3VzL1BFT1BMRS9lNWMwN2I3OC01NjA5LTQzNzgtODhlMS02ZjQwYTEzMzdlOTg",
"ownedBy":"org",
"event":"left",
"resource":"meetingParticipants",
"appId":"Y2lzY29zcGFyazovL3VzL0FQUExJQ0FUSU9OL0NkZTRkYzgyNTYzZDRmZjA0OTkxZWY5NTJlNDYxMmM0NWM2ZDlkMThmNWMzMmMwMmI5Nzk2ZmJjNmIzYjUwYzkx",
"id":"Y2lzY29zcGFyazovL3VybjpURUFNOmV1LWNlbnRyYWwtMV9rL1dFQkhPT0svNjEyMzUzZTItMmE4ZC00ZjQyLWEzNjctMTZlM2YxNTM0NWJm",
"targetUrl":"<appUrl>/triggers-webex-meetingParticipants-left"
}
}
Following is an example of a correct payload received (on the same webex site for a meeting involving the same users). Note that this has the id field at path ".data.data.id" .
{
"message":"webex meeting event hook triggered",
"data":{
"created":"2022-05-17T19:17:46.920Z",
"status":"active",
"appId":"Y2lzY29zcGFyazovL3VzL0FQUExJQ0FUSU9OL0NkZTRkYzgyNTYzZDRmZjA0OTkxZWY5NTJlNDYxMmM0NWM2ZDlkMThmNWMzMmMwMmI5Nzk2ZmJjNmIzYjUwYzkx",
"resource":"meetingParticipants",
"ownedBy":"org",
"id":"Y2lzY29zcGFyazovL3VybjpURUFNOmV1LWNlbnRyYWwtMV9rL1dFQkhPT0svNjEyMzUzZTItMmE4ZC00ZjQyLWEzNjctMTZlM2YxNTM0NWJm",
"createdBy":"Y2lzY29zcGFyazovL3VzL1BFT1BMRS9lNWMwN2I3OC01NjA5LTQzNzgtODhlMS02ZjQwYTEzMzdlOTg",
"targetUrl":"<appUrl>/triggers-webex-meetingParticipants-left",
"event":"left",
"name":"Webhook: meetingParticipants left",
"data":{
"hostEmail":"<hostEmail>",
"devices":[
{
"joinedTime":null,
"correlationId":"98ed25aa-7dae-49f7-b765-b4a431ff11d2",
"deviceType":"GCC_OS_BrowserClient",
"leftTime":"2022-09-04T16:27:34Z"
}
],
"siteUrl":"<siteUrl>",
"displayName":"SomeName",
"state":"left",
"hostPersonId":"Y2lzY29zcGFyazovL3VzL1BFT1BMRS9lNWMwN2I3OC01NjA5LTQzNzgtODhlMS02ZjQwYTEzMzdlOTg",
"id":"f18b8a58266746eb93198b925d39de97_I_237606949549418258_13f4015e-a197-303d-8291-d2820c916af4",
"orgId":"6c0531ce-0b88-4e3c-b14c-a4b9f1496c88",
"meetingId":"f18b8a58266746eb93198b925d39de97_I_237606949549418258"
},
"orgId":"Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi82YzA1MzFjZS0wYjg4LTRlM2MtYjE0Yy1hNGI5ZjE0OTZjODg"
}
}
(Above outputs are real ones and none of Ids are changed, so that you can use them for any internal traces if needed.)
09-05-2022 02:24 AM
Hi, can you please create a ticket for this by emailing devsupport@webex.com?
Please also provide the user who created the webhook and if you have trackingId's for these responses, please provide those too.
I can see the issue you're facing here, we can investigate further through a ticket. And involve engineering if needed to.
09-05-2022 03:11 AM
Thank you for the reply. I've emailed a link to this post.
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