Skip to main content

Interaction Channels

Deployment Channels define the communication channel through which a deployment is accessible. Each Deployment Configuration has exactly one channel (1:1 relationship). Multi-channel deployments require separate Deployment Configurations.

Source: src/core/service-configuration/interaction-channels.schema.ts


DeploymentChannel​

Base deployment channel schema.

Schema: DeploymentChannelSchema

Attributes​

AttributeTypeRequiredDefaultDescription
idstring——Unique identifier for the channel
deploymentTypeenumYes—Type of channel. One of CALLS, SMS, WEB, or MOBILE.
channelNamestringNo—Human-readable name for administration
recordingEnabledbooleanNotrueWhether interactions should be recorded
channelIdentifierstringYes—Channel-specific identifier
configurationobjectYes—Channel-specific configuration
createdAtnumber——Unix timestamp when created
updatedAtnumber——Unix timestamp when last updated

Channel Types​

Call Channel​

Voice telephony channel for phone calls.

AttributeTypeDescription
channelIdentifierstringPhone number in E.164 format
configuration.phoneConfigurationIdstringReference to PhoneConfiguration

SMS Channel​

Text messaging channel.

AttributeTypeDescription
channelIdentifierstringPhone number in E.164 format
configuration.phoneConfigurationIdstringReference to PhoneConfiguration

Web Channel​

Browser-based chat widget.

AttributeTypeDescription
channelIdentifierstringWebsite URL
configuration.communicationTypeenumCommunication protocol. One of UNIFIED.
configuration.widgetConfigurationobjectWidget appearance settings

Mobile App Channel​

Native mobile application integration.

AttributeTypeDescription
channelIdentifierstringApp bundle ID or package name
configuration.packageNamestringPackage identifier
configuration.platformenumPlatform type. One of IOS or ANDROID.

Example​

Call Channel​

{
"id": "chan_abc123",
"deploymentType": "CALLS",
"channelName": "Customer Support Line",
"recordingEnabled": true,
"channelIdentifier": "+12125551234",
"configuration": {
"phoneConfigurationId": "phone_xyz789"
},
"createdAt": 1709856000000,
"updatedAt": 1709856000000
}

Web Channel​

{
"id": "chan_def456",
"deploymentType": "WEB",
"channelName": "Website Chat",
"recordingEnabled": true,
"channelIdentifier": "https://example.com",
"configuration": {
"communicationType": "UNIFIED",
"widgetConfiguration": {
"position": "right",
"customTheme": {
"primaryColor": "#007bff"
}
}
},
"createdAt": 1709856000000,
"updatedAt": 1709856000000
}

Create / Update Schemas​

SchemaDescription
DeploymentChannelRequestSchemaFor creating channels with type validation
DeploymentChannelUpdateRequestSchemaFor partial channel updates
ChannelSetupRequestSchemaComplete deployment setup request