Hi,
I have a website from which I want to be able to call out from PureCloud to the user.
The user will not have a PureCloud login.
Can you tell me how I can manage this?
Note that I can get an outdial with /api/v2/conversations/calls, but it only works when I use Implicit authorisation (which won't work in this case as the authentication needs to be automatic).
If I use Client Credentials I get the error
"status":400,"code":"not.a.user","message":"This request requires a user context. Client credentials cannot be used for requests to this resource."
The Client Credentials role has permission of conversation:conference:add which is what the API documentation suggests is needed.
It's not currently possible to use PureCloud in that manner. To have PureCloud place outbound calls that are not originating from a person, you must use the Outbound features and APIs.
Thanks for that Tim.
How would I do that exactly?
Would I need to create a campaign for each outdial that I want to do, or could I use a single campaign for all calls of this type (and just add the extra people to the contacts list)?
Here's some resources to help get you started with outbound:
As long as all of the calls should have the same behavior, one campaign should be fine.
I have the API working now so it adds an entry to the contact list and turns the campaign on if it is off - this now triggers calls out as a result.
The only problem is that each time I turn the campaign on it calls all of the contacts (even those that have been called already).
Should the contacts be somehow flagged so as not to be rerun, or are they meant to be deleted from the list somehow?
OK I got this working - ended up adding a Call Rule to disable each contact when they wrap up.
Yep, you must wrap the call or PureCloud doesn't know it shouldn't be dialed again.