Learn how to find any Slack member's user ID, including your own, through the Slack app or the Slack API.
- Any Slack workspace member can find their own member ID, and the ID of anyone else in a shared workspace or channel.
Every Slack member has a unique member ID (sometimes called a user ID), a string like U06S3JJUU92 that identifies them regardless of name or email changes. Apps, bots, and integrations use this ID instead of a display name because names can change while the ID never does.
Find a user’s ID from their profile
- Open the person’s profile
Click their name or avatar anywhere in Slack, a message, an@mention, the member list, or search results. Their profile opens in a panel on the right-hand side of the window.
-
Open the “More” menu
Under their name is a row of buttons: Message, Huddle, and so on. Click the More button, the vertical three dots (⋮) at the end of that row. -
Copy the member ID
Click Copy member ID. The ID is now on your clipboard, ready to paste anywhere.
Hovering over someone’s avatar shows a small hover card instead, with their name, pronouns, and local time. It has no Copy member ID option, so click through to open the full profile panel.
Find your own user ID
The steps are nearly identical, you just start somewhere different:
- Click your avatar at the bottom of the narrow icon rail on the far-left edge of Slack.
- Click Profile. Your own profile opens in the right-hand panel.
- Click More (⋮), then Copy member ID.
Find a user’s ID with the Slack API
If you’re building an integration and need to look up IDs programmatically, Slack’s Web API offers two relevant methods.
List all members
users.list returns every member of a workspace, including their IDs. Useful when you need to match names to IDs in bulk.
curl -X GET "https://slack.com/api/users.list" \
-H "Authorization: Bearer YOUR_BOT_TOKEN"
This requires a bot token with the users:read scope.
Look up a user by email
If you already know someone’s email address, users.lookupByEmail returns their profile, including their member ID, in a single call.
curl -X GET "https://slack.com/api/users.lookupByEmail?email=jane@example.com" \
-H "Authorization: Bearer YOUR_BOT_TOKEN"
This requires a bot token with the users:read.email scope.
Understanding ID prefixes
Slack IDs are prefixed by type, which is a quick way to tell what kind of ID you’re looking at:
U…: a regular user accountW…: an older-style user ID format, still valid on some legacy workspacesB…: a bot user, such as an installed app