Use this API to create a Conversation Account for the Conversation Manager. New Account API process flow: Authentication > 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...
)Register new account
POST
- Create account for BYOC channel
- Create account for Google Business Messaging channel
- Create account for Twilio SMS channel
- Create account for WhatsApp channel
curl -i -X POST \
https://api.egain.cloud/conversation/conversationmgr/v3/accounts \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "order_account",
"address": "123456789",
"channel": {
"id": "45a095f4-d0ee-4220-a689-22b541c58f67"
},
"chatConfigurations": {
"timeout": 30,
"defaultLanguage": "en-US",
"onAgentUnavailability": "off_hours",
"allowLogoutWithOpenChats": false,
"allowQueueTransferOnAgentUnavailability": false,
"orchestration": {
"id": "c37e975f-6b2f-490f-9cac-dfa05499f744"
},
"entryPoint": {
"id": "1001"
}
}
}'Response
{ "id": "45a095f4-d0ee-4220-a689-22b541c58f67" }