POST
/
settings
/
subchannel
curl --request POST \
  --url https://demo.enneo.ai/api/mind/settings/subchannel \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1,
  "channel": "email",
  "name": "Support",
  "interface": "internal",
  "enabled": true,
  "data": {}
}'
{
  "success": true,
  "id": 12345
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Body

application/json
The new Subchannel that should be created. The ID does not need to be included in the payload, as it will be generated automatically.

Subchannel object

id
integer
channel
enum<string>

Channel of ticket

Available options:
email,
portal,
phone,
letter,
system,
chat,
walkIn
name
string
interface
enum<string>

The underlying data source of this subchannel. Anything other than internal means that the primary data source for this subchannel is an external system

Available options:
internal,
Freshdesk,
webhook,
api
enabled
boolean
default:
true
data
object | null

Channel-specific properties of this subchannel, e.g. IMAP Username and password for emails

Response

200
application/json
Subchannel added successfully
success
boolean

Indicates if the operation was successful

id
integer

The ID of the added Subchannel