Create Profile
POST https://{{axpAPIDomain}}/api/admin/user/v1/accounts/:accountId/profiles
This API requires the Account Administrator role.
Creates a profile. Profiles can be created with single or multiple features.
The following fields must be unique otherwise a HTTP 409 Conflcit
will be returned:
* profileName
Changes to the fields:
* features
Will trigger asynchronous updates, the status of which should be monitored via /profiles:listStatuses
.
Request Body
{"profileName"=>"Advanced", "description"=>"A profile with all the features", "uxProfileId"=>"6f482dcd-54a9-445f-ba6d-8ca5ebd5261a", "roles"=>["Agent"], "memberOfGroups"=>["c8c2909d-75e9-484a-94c0-b7e8d29771fe"], "features"=>{"matching"=>{"attributes"=>["Language.English", "Language.French"], "queues"=>[{"queueId"=>"620bbb28-7112-433a-af59-17ee0f15a247", "proficiency"=>10}, {"queueId"=>"07d2c0a3-f05c-47e7-a86e-51148d3d4fd4", "proficiency"=>6}]}, "chat"=>{"autoAnswer"=>false, "multiplicity"=>5, "afterContactWork"=>false}, "messaging"=>{"autoAnswer"=>false, "multiplicity"=>5, "afterContactWork"=>false}, "email"=>{"autoAnswer"=>false, "multiplicity"=>5, "afterContactWork"=>false}, "voice"=>{"autoAnswer"=>false, "afterContactWork"=>false}, "cmvoice"=>{"autoAssignExtension"=>false}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
appkey | string | ||
Content-Type | string | ||
Accept | string |