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 

  • 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

2 Replies

  • YuriK's avatar
    YuriK
    Khoros Expert
    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

  • yes YuriK,
    We used the same approach and it worked.
    Just wanted to confirm that is there any direct approach for this using REST api.