Legacy Dev Forum Posts

 View Only

Sign Up

Access of canned response usu age in the interactions

  • 1.  Access of canned response usu age in the interactions

    Posted 06-05-2025 19:06

    chandini | 2019-03-22 16:17:01 UTC | #1

    Hi,

    This is a two part question. Any advice on how to build this would be appreciated

    Would it be possible to check which type of canned response is used in the interactions (chat and email) through the response management api and conversation details end points?

    While accessing the using clientid, clientsecret_id gives a 403 error , what kind of permissions would be required for this ? https://api.mypurecloud.com/api/v2/responsemanagement/responses/{responseId}

    Thanks


    tim.smith | 2019-03-22 19:59:51 UTC | #2

    Canned responses aren't sent, they're just pasted into the editor window. There's no way to track that unless you download and parse all of the email recordings.

    Permissions for each API are in the documentation: https://developer.mypurecloud.com/api/rest/v2/responsemanagement/. However, that particular API doesn't document requiring any permissions. The response body of a 403 usually notes the permission required. Can you provide a context ID from the response?


    anon39326996 | 2019-03-25 00:23:50 UTC | #3

    This would also be a good enhancement request to keep track of. You can submit a request via the ideas portal here: https://purecloud.ideas.aha.io/ideas


    chandini | 2019-03-25 16:07:06 UTC | #4

    Hi,

    Thanks for getting back. I am not sure what it means by the responses are copied to editor window, is there way to check which response ids are clicked when certain interaction(chat or email) is live?

    Here is the response body while accessing the a particular responseid

    {'status': 403, 'code': 'forbidden', 'message': "Permission is forbidden on domain, 'responses', entity 'response`, with action set '[view]'", 'contextId': '3130da30-21a4-4235-94d1-9a2a641bc77c', 'details': [], 'errors': []}

    Thanks


    anon39326996 | 2019-03-25 16:12:24 UTC | #5

    Have you tried granting yourself the responses>response>view permission?


    chandini | 2019-03-25 16:14:11 UTC | #6

    I am not sure if i need to have the access, i am using client id , secret id authentication method for accessing the api end points


    anon39326996 | 2019-03-25 16:27:44 UTC | #7

    Client IDs don't automatically have access to everything. You need to make sure to give your client ID the correct permissions first. That said, I'm not sure that API works with client credentials but worth trying.


    chandini | 2019-03-25 16:29:26 UTC | #8

    Thanks I will try and check


    chandini | 2019-03-29 22:07:09 UTC | #9

    Thanks I was able access the response management end points by adding the cannedresponses permissions for clientid. Is there is any feature connecting the conversations and canned response id like sipResponseCodes, q850ResponseCodes. Please help on how to proceed further?


    system | 2019-04-29 22:07:10 UTC | #10

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