Oauth Client credentials missing permissions


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":[]}

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.

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