OMNIDESK API
Кастомные каналы
Получение списка кастомных каналов

GET  |  https://[domain].omnidesk.ru/api/custom_channels.json
Просмотр всех кастомных каналов.
Ответ

{
    "0": {
        "custom_channel": {
            "channel_id": 1,
            "channel_api_key": "cch1",
            "title": "Custom Channel",
            "channel_type": "async",
            "icon": "fa-question-circle",
            "webhook_url": "http://example.ru/wh/omni_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.ru/wh/omni_wh_chat/",
            "active": true
        }
    },
    "total_count": 2
}
Пример кода

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