Channels

The Channels API provides operations for creating, listing, updating, pausing, restoring, deleting, purging, and configuring communication channels.

Channel operations are workspace-authenticated unless explicitly marked as public bootstrap or validation operations.

Endpoints

MethodPathPurpose
POST/channelsCreate Channel
POST/channels/ensureEnsure Channel exists
GET/channelsList Channels
GET/channels/allList all Channels
GET/channels/deletedList deleted Channels
GET/channels/:idGet Channel
POST/channels/initCreate Channel with settings
POST/channels/:id/pausePause Channel
POST/channels/:id/restoreRestore Channel
DELETE/channels/:idMove Channel to trash
DELETE/channels/:id/purgePermanently purge Channel
GET/channels/:channelId/settingsGet Channel settings
POST/channels/:channelId/settingsCreate Channel settings
PATCH/channels/:channelId/settingsUpdate Channel settings
DELETE/channels/:channelId/settingsDelete Channel settings
GET/api/public/channels/:channelId/settingsGet public Channel settings
POST/api/public/channel-token/validateValidate Channel token
POST/api/public/shopify/validateValidate Shopify token
POST/api/public/wordpress/validateValidate WordPress token

Channel Types

The audit identifies:

WEB

WHATSAPP

MOBILE

WORDPRESS

SHOPIFY

Channel states include:

ACTIVE

PAUSED

TRASH

PURGED

Channel Token Security

Channel tokens are used by Channel bootstrap and validation flows.

Do not publish real Channel Tokens in examples or screenshots.

Need Help?

Email: support@ysdesk.com

Documentation: https://docs.ysplugins.com/ys-desk

Next