Forum Discussion

dhiraj_gophane's avatar
11 years ago

Rest Api to check if the message is escalated or not?

Hi all, Current we have API to fetch all recent messages and their count which are escalated. If we have message id then can we check if that message is excalted or not? Kindly help asap 
  • YuriK's avatar
    11 years ago

    Hey Dhiraj,

     

    If you know the id of the thread (or the id of the topic message), you can check if it's escalated using the following calls:

     

    1. Get the number of times thread was escalated {code}/threads/id/<id>/escalations/count{code}
    2. Get the escalations with details about each {code}/threads/id/<id>/escalations/escalations{code}

    Here is the documentation about the threads escalations API Thread Escalation

     

    Hope this helps,

     

    Yuri