lasator | 2017-01-24 19:11:00 UTC | #1
I’m trying to configure an OAuth application for a headless windows service that will be utilizing the new multimedia submission APIs to submit third-party chats and emails for routing by PureCloud. We will be using the Client Credentials authorization type, however I don’t know which roles need to be configured to allow access to the new POST methods.
tim.smith | 2017-01-24 19:27:27 UTC | #2
Which resources are you referring to specifically?
lasator | 2017-01-24 19:31:05 UTC | #3
There are two new API methods in Limited Availability that allow creation of chat and email interactions sourced from third-party systems: POST /api/v2/conversations/chats/ POST /api/v2/conversations/emails/
tim.smith | 2017-01-24 19:38:22 UTC | #4
lasator, post:3, topic:833
POST /api/v2/conversations/chats/
Requires conversation:webchat:create
lasator, post:3, topic:833
POST /api/v2/conversations/emails/
Requires conversation:email:create
lasator | 2017-01-24 19:40:02 UTC | #5
So in the Roles field of the OAuth application those strings should be comma delimited?
tim.smith | 2017-01-24 19:42:40 UTC | #6
No, the roles field in the oauth client config is for assigning roles. You need to assign the permissions above to a role that you give to the oauth client.
<img src="//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/90c29f86a3cd693cb644cd774f7ebab04c8c3536.png" width="668" height="351">
lasator | 2017-01-24 20:02:31 UTC | #7
Thanks! I'll post back if I run into any issues.
system | 2017-08-28 19:31:16 UTC | #8
This post was migrated from the old Developer Forum.
ref: 833