gabbeh | 2018-03-13 10:44:21 UTC | #1
Hi, I cannot for the life of me find the API for scheduled callbacks.
I need this in api format:
I can find /api/v2/conversations/callbacks on the api-explorer, but that doesn't return anything, even though it's a GET without params.
I can't find anything useful in analytics query either.
anon28066628 | 2018-03-13 13:18:27 UTC | #2
The /callbacks endpoint in conversations api only returns callbacks for the current logged in user (ie this is an endpoint that can't be used with client credentials - it requires user context).
The conversation details query generates this view. For many dashboards in PureCloud, the Network tab in Chrome dev tools will show the query that is executed.
https://i.imgur.com/eBpxEvX.png
Request URL:https://apps.mypurecloud.com/platform/api/v2/analytics/conversations/details/query Request Method:POST
{ "interval": "2018-02-27T14:14:29.427Z/2018-03-13T13:14:29.427Z", "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" }
system | 2018-04-13 13:18:47 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: 2604