Legacy Dev Forum Posts

 View Only

Sign Up

Retrieving all Callback converstations

  • 1.  Retrieving all Callback converstations

    Posted 06-05-2025 18:40

    RobertWC | 2017-10-19 18:25:35 UTC | #1

    Trying to create a bridge action that will search all callbacks for a phone number. When running the Get Conversations, it comes back with zero records. The real time shows 34 in queue. Is there an easier way to do this?


    Jason_Mathison | 2017-10-20 12:47:13 UTC | #2

    After digging into this behind the scenes it appears that the (GET /api/v2/conversations/callbacks) API that I assume you are using returns the callbacks that belong to you, not all of the callbacks in the system or in a queue. I will shoot a note to the development team that owns that API to clarify the documentation.

    Unfortunately I don't have a better solution for you yet, but I wanted to at least explain what you are experiencing.


    Jason_Mathison | 2017-10-20 13:44:11 UTC | #3

    There is a performance -> Scheduled Callbacks dashboard in the web client that collects the data that you are looking for. Taking a look at the page with chrome developer mode it gets the list of callbacks using the following analytics query:

    POST https://apps.inindca.com/platform/api/v2/analytics/conversations/details/query

    {"interval":"2017-10-06T13:36:43.370Z/2017-10-20T13:36:43.370Z","order":"desc","segmentFilters":[{"type":"and","predicates":[{"dimension":"mediaType","value":"CALLBACK"},{"dimension":"segmentType","value":"Scheduled"},{"dimension":"segmentEnd","operator":"notExists"}]}],"paging":{"pageNumber":1,"pageSize":25},"orderBy":"conversationStart"}

    Hopefully that gets you going in the right direction.


    system | 2017-11-20 13:44:29 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 1980