Get app's channels

Get list of app's channels

This method is in β and can be altered in the future.

URL

GET https://api.dashly.app/v1/apps/{id}/channels

Arguments

This method follows the general rules. Arguments are transmitted as GET or POST parameters.

Argument Description
auth_token Authorization token

Answer

{
  "meta": {
    "status": 200
  },
  "data": [
    {
        "id": 5,
        "name": "Test channel",
        "avatar": "",
        "droppable": true,
        "type": "manual",
        "operators": [
            {
                "id": 564,
                "name": "Support",
                "avatar": "https://files.dashly.app/avatars/default-v2.png",
                "type": "admin"
            }
        ],
        "not_assigned_count": 0,
        "not_read_count": 0,
        "read_permission": true
    },
    ...
  ]
}

The answer will contain an array of Channel objects.

Errors

This table contains errors that can be returned. However, in case of unforeseen situations (in case of the service's inoperability), other errors may occur. Always check meta.status parameter.

Error Description
MethodNotAllowed Invalid http method
AuthenticationFailed Invalid (or missing) auth token

Example

curl -X GET \
  'https://api.dashly.app/v1/apps/$self_app/channels?auth_token=XXX'