Legacy Dev Forum Posts

 View Only

Sign Up

How to delete outboud callbacks?

  • 1.  How to delete outboud callbacks?

    Posted 06-05-2025 18:05

    Lukasz_Zwierko | 2018-09-11 13:42:12 UTC | #1

    Hi, I'd like to remove all contacts from a campaign, but even if I delete (with API) all contact's from contact list, any callback already created is still delivered to agent just with some errors that the contact was not found. How can I remove all callbacks from the campaign / queue? thx, Lukasz


    Lukasz_Zwierko | 2018-09-11 14:43:30 UTC | #2

    Ok to answer myself: you need to know conversation id associated with the callback and than disonnect this conversation. To get all active conversations perform:

    await analyticsApi.PostAnalyticsConversationsDetailsQueryAsync(new ConversationQuery( Interval: "2018-09-10T18:00:00Z/2018-09-10T22:00:00Z", ConversationFilters: new List<AnalyticsQueryFilter> { new AnalyticsQueryFilter( Type: AnalyticsQueryFilter.TypeEnum.And, Predicates: new List<AnalyticsQueryPredicate> { new AnalyticsQueryPredicate(Type: AnalyticsQueryPredicate.TypeEnum.Property,AnalyticsQueryPredicate.DimensionEnum. } } Order: ConversationQuery.OrderEnum.Asc, OrderBy: ConversationQuery.OrderByEnum.Conversationstart, Paging: new PagingSpec(100) ));

    later to disconnect conversation call:

    await outboundApi.DeleteOutboundContactlistContactAsync("91ed17a7-2bac-41b6-97bf-1cda1c3dfe1d", "2bef1f01c5aaed06f0e72e5f87bcaa12");


    system | 2018-10-12 14:43:30 UTC | #3

    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: 3529