Skip to content

Get Channel

Request

Overview

Use this API to Get channel detail information in the Conversation Manager.

Scope

Client application must have 'app.conversation.conversationmgr.manage' or 'app.conversation.conversationmgr.read' scope assigned.

Security
oAuthClient(Required scopes:
https://api.egain.cloud/auth/.default
)
Path
idstring, = 36 charactersrequired

id of object

Example:7b6c5fff-036e-4a40-b68a-a67c592fc079
curl -i -X GET \
  https://api.egain.cloud/conversation/conversationmgr/v3/channels/7b6c5fff-036e-4a40-b68a-a67c592fc079 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
idstring, = 36 characters
createdstring, (date-time)

Last modified time in GMT

modifiedstring, (date-time)

Last modified time in GMT

typestring, [ 1 .. 255 ] characters

Unique channel type. Do not prefix with 'custom.' for channels supported by eGain.

Example:"custom.teams"
displayNamestring, [ 1 .. 255 ] characters
Example:"Teams"
iconstring, [ 1 .. 512000 ] characters

base64 encoded image. This icon is used in eGain Chat Advisor desktop for activities of this channel. If eGain Chat is used for live agents then use icon file in ‘png’ format with pixel dimensions 32 X 32.

descriptionstring, [ 1 .. 1023 ] characters
activeboolean
Default:true
restrictionsobject(Restrictions)

Channel restriction on inbound(from customer) and outbound( to customer) messages.

l10nPropertiesArray of objects, [ 1 .. 25 ] items(L10nProperties)
Response
{ "id": "6121306b-59c2-4a2c-afee-1e025a84b0d9", "type": "custom_channel", "icon": "<base64>", "displayName": "Custom Channel", "description": "Custom Channel", "active": true, "created": "2021-06-11T21:14:41.836Z", "modified": "2021-06-11T23:14:41.836Z", "restrictions": { "inbound": { … }, "outbound": { … } }, "l10nProperties": [ { … } ] }