Conversation APIs
/- Conversation Manager
- V3
- Create Participant
Get Participants
Get Participant
Update Participant
Delete Participant
Create Participant
This API allow you to register participant 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...
)Create participant
Type of participant. eGain Bot participants are created automatically when bot is created in eGain VA application.
Enum:"custom_bot""egain_bot"
POST
- Participants with Intent
- Participants without Intent
curl -i -X POST \
https://api.egain.cloud/conversation/conversationmgr/v3/participants \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "custom_bot_participant",
"type": "custom_bot",
"active": true,
"application": {
"id": "9d091084-3ca8-4afc-97e1-8b0ad52fc38f"
},
"intents": {
"intent": [
{
"value": "order_complaints",
"displayValue": "Order Complaints"
},
{
"value": "sales_enquiries",
"displayValue": "Sales Enquiries"
}
]
}
}'Response
{ "id": "45a095f4-d0ee-4220-a689-22b541c58f61" }