Adrian_Santamaria | 2019-11-11 11:58:45 UTC | #1
Hello
I would like to know what API call would be the best for disconnect an interaction given its id using a Data Action.
We have seen that this one : POST /api/v2/conversations/{conversationId}/disconnect is not supposed to be used unless there is an error with the interaction.
Also, I have tried to use this one: PATCH /api/v2/conversations/calls/{conversationId}. When it is called using a Data Action, it returns an error which says that "Client credentials cannot be used for requests to this resource". However, the interaction disconnection works. I was wondering if this is a bug and it won't work in the future, or if we can use it.
Thanks
tim.smith | 2019-11-13 17:41:35 UTC | #2
Adrian_Santamaria, post:1, topic:6456
We have seen that this one : POST /api/v2/conversations/{conversationId}/disconnect is not supposed to be used unless there is an error with the interaction.
That's correct. Using that API resource can have unexpected consequences on the conversation data.
Adrian_Santamaria, post:1, topic:6456
I would like to know what API call would be the best for disconnect an interaction given its id using a Data Action.
You can't disconnect conversations using a data action because PATCH /api/v2/conversations/{conversationId}/participants/{participantId} requires user credentials. You can request new features, like the ability to use client credentials with this API, at https://purecloud.ideas.aha.io/ideas.
system | 2019-12-14 17:41:38 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: 6456