Slack Channel User Extractor

Extract the names, emails and all other publicly available information of one of your Slack workspaces

Table of Contents

Extract every member info off a Slack workspace's channel

Slack is becoming more and more useful as a way to build communities. It's semi-private allows members to have interesting discussions. And since most of them often also use it within their companies, they answer pretty quickly.

Our Slack API lets you extract every public info out of every users of a Slack channel. If you're in a small Slack, just go for the #general channel, otherwise, pick the one that gathers best your target audience.

And yes, it does extract email addresses... if administrators let that data public.

What will you need? ⚙️

  • Your " Slack's Workspace URL": To find your Slack's workspace URL and cookie, you'll need to open it in your browser, not in-app.
  • "D Session Cookie": That's your authentification d session cookie. Note that on each workspace your cookie will be different.
  • "Channel Name": Specify one channel name such as #general. If you need multiple channel's names, head to Google Spreadsheet, write them all in a column and paste here that spreadsheet's public URL.

Which steps to follow?

1. Create an account on 💻

If you haven't already, create a FREE account on Phantombuster. Our service will browse the web for you. It’s an automation platform which runs in the cloud. Once done we'll follow up.

2. Use this API on your account.👌

Now that you're connected to Phantombuster, Click on the following button (it will open a new tab).

3. Click on Configure me!

You'll now see the 3 configuration dots blinking. Click on them.

4. Get your Slack Session cookie

The Session Cookie you'll need to make this API work is called "d",
Here's how you can get yours:

  • Using Chrome (not the Slack app), go to your workspace and open the inspector.
    → Right-click anywhere on the page and select “Inspect”
    CMD+OPT+i on macOS
    F12 or CTRL+MAJ+i on Windows

  • Locate the “Application” tab

  • Select “Cookies” > “” on the left menu.

  • Locate the “d” session cookie.

  • Copy what’s under “Value” (Double click on it then Ctrl+C) and paste it into your script Argument)

// How to access your cookies with Edge, Firefox and Safari//

5. Input your Slack workspace's URL.

The second argument is "Slack Workspace URL". We need it to know which Slack users you want to target.
This URL should look something like

6. Input the channel(s) you want to extract users from.

Finally, the third argument field is "Spreadsheet URL or channel name". Use it to specify which users your interested in either one: #team for instance.
If you want to scrape all users, use the #general channel (names might change depending on your target Slack).
If you wish to scrape multiple channels, write those down in a Google Spreadsheet (one per row), in the first column. Make sure to make this spreadsheet public and paste the link in this field.

Click on Launch & Enjoy!

It’s done! All that is left to do is to click on "launch" to try your script!

More bots like this one will be added to Phantombuster,

stay tuned & check our API store!💗


This API will output CSV and/or JSON containing the following fields:

  • id
  • firstName
  • lastName
  • fullName
  • pictureUrl
  • displayName
  • title
  • phone
  • email
  • skype
  • timezone
  • lastUpdate
  • query
  • channel
  • workspaceUrl
  • admin

Share this API

Your friends & colleagues need to know about this!