How to get email engagement details by API and WebHook

For the engagement in the Email queue, how can we retrieve the email body, email address, email subject, consumer email and variable info using the Zoom API get engagement by engagement id?

Hi @Alexander.LWZ
Thanks for reaching out to us. Can you point me to the endpoint you are using please?

Hi Elisa, now we are using “https:// api. zoom. us /v2/contact_center/engagements/eDDQkj3RSeanzVPVBrtfyw” to get engagement details.
(An error occurred: Sorry, you can’t include links in your posts.)

Hey @Alexander.LWZ
Thanks for clarifying that.
It looks like you can not get that information via API using the contact_center/engagements endpoint.
Let me ask internally if there is a way to do this programmatically

In the meantime, have you review this webhook?

Hi @elisa.zoom, thank you, The Webhooks event you mentioned is “/POSTcontact_center.inbox_message_opened”, but the problem we meet is can’t get email address/subject/comsumer/ and email body.
We are using this event “https:// developers. zoom .us/docs/api/contact-center/events/#tag/contact_center/POSTcontact_center.engagement_ended” to get engagement id, but still need previous API to get engagement data. So still can’t get the details for email.

Hi @Alexander.LWZ
As I keep looking into this for you, I found the List an account’s inbox messages, can you please take a look and let me know if this helps!

Hi @elisa.zoom , Thank you for youre reply.
I checked those API but seems list inbox is used for voicemail channel, but what I need is for email channel.
And any WebHook event which can get status update for email channel? So I can manually get email engagement when it is closed.
And any way to get email summary?

Also, the get engagement by ID API only got a display name for email engagement:
“consumers”: [
{
“consumer_display_name”: “lil Pablo”
}
],

But it also has consumer_number for voice channel. Can I get consumer’s email address in this api?

Sorry for the late reply here!
I am looking into this now @Alexander.LWZ