Use this API to configure workflows for conversations between participants (Customer/Agent/Bot applications). New Account API process flow: Authenticiation > Client Application > Participant > Channel > Orchestration > Account
Client application must have 'app.conversation.conversationmgr.manage' scope assigned.
Security
oAuthClient(Required scopes:
https://api.egain.cloud/auth/.de...
)POST
- With Bot
- Without Bot
curl -i -X POST \
https://api.egain.cloud/conversation/conversationmgr/v3/orchestrations \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "default_orchestration",
"description": "Created for Custom channel",
"active": true,
"applications": {
"botConfiguration": {
"forwardTranscript": true,
"bots": [
{
"id": "a09dddd6-394b-4039-86bc-a5dd89ee5e8d",
"participant": {
"id": "a09dddd6-394b-4039-86bc-a5dd89ee5e8d"
},
"onEscalation": {
"agent": {
"id": "c09dddd6-394b-4039-86bc-a5dd89ee5e8d"
}
}
}
]
},
"customerConfiguration": {
"customer": {
"id": "b09dddd6-394b-4039-86bc-a5dd89ee5e8d"
}
}
}
}'Response
{ "id": "45a095f4-d0ee-4220-a689-22b541c58f67" }