List email delivery failure alerts

GET {{baseUrl}}/api/v1/emailFailureAlerts?department=<String>

This API lists the email delivery failure alerts configured in a particular department.

OAuth Scope

  • Desk.tickets.READ

Request Params

KeyDatatypeRequiredDescription
departmentstringID of the department from which the email delivery failure alerts must be fetched. You can pass a specific department ID or allDepartment in the API request.
fromstringIndex number, starting from which the alerts must be listed
limitstringNumber of alerts to list

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;departmentName&quot;:&quot;Sales&quot;,&quot;threadId&quot;:&quot;4000002350527&quot;,&quot;ticketNumber&quot;:&quot;102&quot;,&quot;reason&quot;:&quot;452 4.3.1 Temporary System Error&quot;,&quot;subject&quot;:&quot;zPhone not working&quot;,&quot;departmentId&quot;:&quot;4000000019077&quot;,&quot;channel&quot;:&quot;EMAIL&quot;,&quot;errorMessage&quot;:&quot;Error while processing the request! Unable to send message;&quot;,&quot;assignee&quot;:{&quot;firstName&quot;:&quot;John&quot;,&quot;lastName&quot;:&quot;Carol&quot;,&quot;photoURL&quot;:&quot;https://desk.zoho.com/api/v1/agents/1892000000056007/photo&quot;,&quot;id&quot;:&quot;1892000000056007&quot;,&quot;email&quot;:&quot;carol@zylker.com&quot;},&quot;ticketId&quot;:&quot;4000000014345&quot;},{&quot;departmentName&quot;:&quot;Marketing&quot;,&quot;threadId&quot;:&quot;4000002353427&quot;,&quot;ticketNumber&quot;:&quot;102&quot;,&quot;reason&quot;:&quot;Email reply failed from being sent! Momentary issues with the mail server, Try resending this email again.&quot;,&quot;subject&quot;:&quot;zPhone not working&quot;,&quot;departmentId&quot;:&quot;4000000019067&quot;,&quot;channel&quot;:&quot;TWITTER&quot;,&quot;errorMessage&quot;:&quot;null&quot;,&quot;assignee&quot;:{&quot;firstName&quot;:&quot;John&quot;,&quot;lastName&quot;:&quot;Carol&quot;,&quot;photoURL&quot;:&quot;https://desk.zoho.com/api/v1/agents/1892000000056007/photo&quot;,&quot;id&quot;:&quot;1892000000056007&quot;,&quot;email&quot;:&quot;carol@zylker.com&quot;},&quot;ticketId&quot;:&quot;4000000014335&quot;}]}