API to register new Client Applications that can integrate with the Conversation Hub. Client applications are used to send and receive messages. 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
curl -i -X POST \
https://api.egain.cloud/conversation/conversationmgr/v3/clientapplications \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "custom_bot_client_application_1",
"description": "Client app for Eva bot",
"active": true,
"roles": [
{
"name": "custom_bot",
"version": "v3",
"callback": "https://example.support.com/messaging/customBot",
"notificationEmail": "client_app_admin@example.com",
"headers": [
{
"name": "X-custom-header",
"value": "xyz"
}
],
"authentication": {
"id": "34fbb53f-ed7f-48d4-b545-e26cc95e075d"
}
}
]
}'Response
{ "id": "9e1d7993-cc82-4d5f-a193-0d6b0d48a959" }