cURL
curl --request GET \ --url http://localhost:8091/api/servers/{serverID}/channels/all \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "name": "<string>", "displayName": "<string>", "topic": "<string>", "isDm": true, "isPrivate": true, "archived": true, "createdBy": "<string>", "createdAt": "2023-11-07T05:31:56Z", "position": 123, "serverId": "<string>", "memberCount": 123, "groupId": "<string>" } ] }
Returns all channels in the server, including private channels the user may not be a member of. Intended for admin views.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
Server ID
List of all channels
Show child attributes