List channels

Channels connected to eDesk: marketplaces, webstores and email.

GET https://cotlet.dev/api/v1/edesk/channels

read

Lists the channels from Settings > Mailbox > Channels with channel_id, name and marketplace. Use channel_id as a filter in list_tickets and list_orders.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/edesk/channels \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("edesk", "list_channels")
Node.js
const result = await cotlet.call('edesk', 'list_channels');
CLI
cotlet call edesk list_channels

Example response

JSON

{
  "channels": [
    {
      "channel_id": 14,
      "name": "Amazon UK - Brightside Home",
      "marketplace": "Amazon"
    },
    {
      "channel_id": 15,
      "name": "eBay UK - Brightside Home",
      "marketplace": "eBay"
    },
    {
      "channel_id": 21,
      "name": "Support email",
      "marketplace": "Email"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.