I am using conversationAPI.PostConversationsChatParticipantReplaceAsync method which the documentation states (SDK Doc) requires only permission conversation:communication:blindTransfer
But I get an error back: 403 Forbidden. The rest of the error does not explicitly name a missing permission.
I am using the method to transfer the participant as an unattended transfer to a userId.
I follow that with a PatchConversationsChatAsync to then disconnect the call, which the SDK states only needs permission conversation:communication:disconnect
My Role has these permissions.
I assume there is a missing permission from the documentation as adding the whole permission "conversation > All permissions" works.
The SDK doc marries up with the API explorer permissions listed for the underlying API endpoints called from these methods.
Can you advise on method permissions so I can lock the role down to the least privilege permissions needed for the integration?
I would also like to ask, save another post, and as related to the integration...
why does the method PostConversationsChatAsync Attributes parameter appear to add a prefix context. to the participant attribute name I provide when the interaction is created?
I pass a dictionary<string,string> Attributes with single entry;
Attributes.Add("Reference", model.Reference)
but the attribute in the interaction view (and API explorer) has context.Reference