How to Find a Slack Channel ID: Step-by-Step Guide
In this article
You can find a Slack channel ID in two reliable ways: open the channel in Slack and copy the ID from the channel details, or use the Slack API with a bot or user token. The channel ID is the short alphanumeric string that starts with C (for public and private channels) or G (for legacy private channels), and it is what the API and many integrations expect instead of the channel name. This guide walks through both methods, plus how to get an ID on mobile, in a browser, and what to do when the ID is not visible.
What You'll Need
- A Slack account with access to the channel whose ID you want. Private channels require membership.
- The Slack desktop app or a web browser logged into your workspace (recommended for copying IDs).
- For the API method: a Slack app with the right scopes and a token, or an existing bot token that can read channel information.
- Permission to view channel details. Guests and some restricted accounts may see a shortened details panel.
Step-by-Step
- Open the channel in Slack. In the desktop app or web client, click the channel name in the left sidebar. On mobile, tap the channel from the channel list. Make sure you are in the correct channel, because the ID is unique per channel and does not change if the channel is renamed.
- Open the channel details panel. On desktop, click the channel name at the top of the conversation, or click the channel name in the sidebar and choose the details option. In the current Slack layout, clicking the channel name at the top opens a panel with tabs such as About, Members, and Settings. Labels can differ slightly by version, device, and region.
- Find the channel ID in the About tab. In the About tab of the channel details panel, scroll to the bottom. Slack shows the channel ID there as a short string beginning with C or G. If you do not see it, the panel may be collapsed; look for a small chevron or a "Show more" style control near the bottom of the About section.
- Copy the ID. Select the ID text and copy it. On desktop you can right-click and copy, or use Ctrl+C (Windows) or Command+C (Mac). On mobile, long-press the ID and choose Copy. Paste it somewhere safe so you can confirm it matches the pattern: a C or G followed by eight or more uppercase letters and digits.
- Alternative: copy the channel link and read the ID from the URL. In the channel details panel or the channel's context menu, choose the option to copy the channel link. The link looks like https://yourworkspace.slack.com/archives/C0123456789. The segment after /archives/ is the channel ID. This method works in the desktop app and in a browser, and it is often faster than scrolling the About tab.
- Alternative: use the Slack API. If you need IDs for many channels or want to automate it, call the conversations.list method with a token that has the channels:read scope (and groups:read for private channels). The response includes each channel's id and name. For a single channel, call conversations.info with the channel ID or name. You can run these calls from Slack's API tester, a script, or any HTTP client. Never share your token or paste it into untrusted tools.
- Confirm the ID is correct. Use the ID in a test API call such as conversations.info, or paste it into the integration that needs it and check that it resolves to the right channel name. If the integration reports an unknown channel, the ID may belong to a different workspace or the channel may have been archived.
Common Mistakes
- Confusing the channel name with the ID. The name is human-readable (for example #general), while the ID is the C-prefixed string. Integrations that ask for an ID will not accept the name.
- Copying the workspace ID. Workspace IDs also start with a letter and look similar. Check that the value comes from the channel details panel or the /archives/ link, not from workspace settings.
- Using a user ID. User IDs start with U, bot IDs with B, and user group IDs with S. A channel ID starts with C (or G for legacy private channels).
- Assuming the ID changes when the channel is renamed. It does not. Renaming a channel keeps the same ID, so an old ID still works after a rename.
- Sharing tokens or IDs publicly. Channel IDs are not secret, but API tokens are. Do not paste tokens into public channels, screenshots, or third-party sites.
Tips
- The copy-link method is the quickest on desktop: open the channel menu, copy the link, and read the ID from the URL.
- On mobile, the channel details panel is reachable by tapping the channel name at the top of the conversation; the About tab holds the ID.
- If you manage many channels, the API method scales better than copying IDs one by one. Cache the results and refresh occasionally, since new channels appear over time.
- Private channels require membership to see details. If you are not a member, ask a channel owner to add you or to provide the ID.
- Archived channels still have IDs, but some API calls and integrations will reject them until the channel is unarchived.
Troubleshooting
If the channel ID is not visible in the About tab, first make sure you are looking at a channel and not a direct message; DMs have IDs too, but the details panel is laid out differently. Collapse and reopen the panel, or switch between the desktop app and the web client, since the panel layout can differ. If you still cannot see it, use the copy-link method and read the ID from the URL.
If the API returns a missing_scope error, your token lacks the channels:read or groups:read scope. Add the scope to your Slack app, reinstall it to the workspace, and use the new token. If the API returns channel_not_found, the ID may be wrong, the channel may be archived, or your token may not have access to a private channel. Check the ID against the copy-link method and confirm your bot is a member of the channel.
If an integration rejects a valid-looking ID, confirm it belongs to the same workspace as the integration. IDs are unique within a workspace, and a token from one workspace cannot resolve a channel in another. Finally, if nothing works, sign out and back in, update the Slack app, and check Slack's status page for service issues before trying again.
Frequently Asked Questions
Does a Slack channel ID ever change?
No. The ID stays the same when a channel is renamed, and it does not change when members are added or removed. Archived channels keep their ID as well.
What is the difference between a channel ID starting with C and one starting with G?
C-prefixed IDs are used for public and most private channels. G-prefixed IDs are legacy identifiers for private channels created under older Slack models. Both work in the API where a channel ID is expected.
Can I find a channel ID without being a member of the channel?
Not through the Slack client. You need access to the channel to see its details or copy its link. For private channels, ask an owner to add you or to share the ID.
Is the channel ID the same as the channel link?
No, but the link contains the ID. The part after /archives/ in a channel link is the channel ID.
Do I need a paid Slack plan to use the API to get channel IDs?
The conversations.list and conversations.info methods are available to apps on Slack's platform, but rate limits and some features vary by plan. Check Slack's API documentation for the current limits rather than assuming a specific plan is required.
Why does my integration ask for a channel ID instead of a name?
IDs are stable and unique, while names can be changed or duplicated in different contexts. Using the ID avoids ambiguity when an integration posts messages or reads channel history.