DESKIE API
Custom channels
Get a list of custom channels

GET  |  https://[domain].deskie.io/api/custom_channels.json
Get a list of all custom channels.
Response

{
    "0": {
        "custom_channel": {
            "channel_id": 1,
            "channel_api_key": "cch1",
            "title": "Custom Channel",
            "channel_type": "async",
            "icon": "fa-question-circle",
            "webhook_url": "http://example.com/wh/deskie_wh/",
            "active": true
        }
    },
    "1": {
        "custom_channel": {
            "channel_id": 3,
            "channel_api_key": "cch3",
            "title": "Custom Channel Chat",
            "channel_type": "sync",
            "icon": "fa-bullhorn",
            "webhook_url": "http://example.com/wh/deskie_wh_chat/",
            "active": true
        }
    },
    "total_count": 2
}
Sample code

curl -u [staff_email]:[api_key] -H "Content-Type: application/json" -X GET https://[domain].deskie.io/api/custom_channels.json