Andrii_Klubuk | 2022-10-20 08:21:37 UTC | #1
Assigned role Query: curl --location --request POST 'https://api.usw2.pure.cloud/api/v2/analytics/conversations/details/jobs' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer XXXX' \ --data-raw '{"interval": "2022-09-19T00:00:00/2022-09-30T00:00:00", "segmentFilters": [ { "type": "or", "predicates": [ { "dimension": "mediaType", "value": "chat" } ] } ] }'
Response: {"message":"Unable to perform the requested action. You are missing the following permission 'analytics:conversationDetail:view' in the provided division(s).","code":"missing.division.permission","status":403,"contextId":"yyyy","details":[],"errors":[]}
charlie.conneely | 2022-10-20 10:51:53 UTC | #2
Hello. The permission your missing, according to the error message, is analytics:conversationDetail:view and the one in the screenshot is analytics:agentConversationDetail:view. These are separate permissions.
system | 2022-11-20 10:52:08 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: 16799