Legacy Dev Forum Posts

 View Only

Sign Up

Query last call result of ended conversation

  • 1.  Query last call result of ended conversation

    Posted 06-05-2025 19:06

    Maloy.Karmakar | 2020-10-22 11:34:41 UTC | #1

    Hi,

    I need to query for the last inbound call and check weather the last call was connected or abandoned. I am using the below mentioned Call Data Action, from which I am able to get some response back but unable to process it to provide the call result (Abandoned or Answered) as output.

    Am I doing it in right way/Is there any other best approach to achieve that. Please help in obtaining the call result of last ended call so that the the response can be used to make some decisions.

    Request URL: /api/v2/analytics/conversations/details/query

    Body: { "interval": "2020-09-30T18:30:00.000Z/2020-10-21T18:30:00.000Z", "order": "desc", "orderBy": "conversationStart", "paging": { "pageSize": "1", "pageNumber": 1 }, "segmentFilters": [ { "type": "and", "predicates": [ { "type": "dimension", "dimension": "ani", "operator": "matches", "value": "tel:+xxxxxxxxxx" } ] } ], "conversationFilters": [ { "type": "or", "predicates": [ { "type": "dimension", "dimension": "conversationEnd", "operator": "exists", "value": null } ] } ] }


    system | 2020-11-21 11:34:13 UTC | #2

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 9146