Menu
Open source
List Slack Channels
curl "{{API_URL}}/api/v1/slack_channels/" \
--request GET \
--header "Authorization: meowmeowmeow" \
--header "Content-Type: application/json"
The above command returns JSON structured in the following way:
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"name": "meow_channel",
"slack_id": "MEOW_SLACK_ID"
}
]
}
The following available filter parameter should be provided as a GET
argument:
channel_name
HTTP Request
GET {{API_URL}}/api/v1/slack_channels/
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles: