Sending DTMF tone to caller device

We are implementing some IVR logic and we would like to send DTMF using PureCloud API, can we use this api to send?

https://api.mypurecloud.com/api/v2/conversations/{conversationId}/participants/{participantId}/digits'

I understand this api needs code authorization i.e. client /user need to authorize.

Is there tutorial available to test it out postman to make it work?

when I create client id and secret - it provide below authorization url and postman goes "genesys cloud" page and showing "sorry that page does not exist" after login. so must be something wrong with url.

https://apps.usw2.pure.cloud/admin/#/admin/oauth/authorizations/[clientid]

Do we need enable code authorization in our environment so that postman can work with code authorization.

I am able to get code authorization worked but when i tried to call post digits to call then i am getting below error. interesting documentation {message} template but the developer forget to fill the template.
{
"message": "An error has occurred. Please contact support. Message: {message}",
"code": "internal.server.error",
"status": 500,
"messageWithParams": "An error has occurred. Please contact support. Message: {message}",
"messageParams": {
"message": "null"
},
"contextId": "57d17736-9426-4b46-9eae-2372046f6dfd",
"details": [],
"errors": []
}

Hi Manish,

With a 500 error being returned, you are going to need to open a ticket with our Care team. From our logs I am seeing a NullPointer exception being thrown. Once you open ticket with Care, they will route it to the appropriate dev team who can then help identify the issue.

Thanks,
John Carnell
Manager, Developer Engagement

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