Check out the latest enhancements to the Console and Shift Pages - View the Updates

Don’t miss the improvements to Risk Signals, Agent Insights, Navigation, and Role Customization - See What’s New

How to find the Slack Workspace ID's?

Modified on Thu, 3 Apr at 4:17 AM

Enterprise Grid admins can locate the "T" identifiers for individual workspaces using the following methods:

1. Admin Dashboard (Slack Enterprise Grid Admin Center)

  1. Go to the Slack Admin Center.
  2. Click on Workspaces in the left-hand menu.
  3. Select a specific workspace from the list.
  4. The "T" workspace identifier is often visible in the URL of the workspace settings page:
    https://admin.slack.com/workspaces/TXXXXXXXXX

2. API Method (Recommended)

If the admin has API access, they can retrieve all workspace IDs programmatically using the Slack API.

Steps:

  1. Use the Enterprise Grid API endpoint.
  2. Call the enterprise.grid.workspaces.list API method.

Example Request:

curl -X POST -H "Authorization: Bearer xoxp-XXXXXXXXXXXX" \
     -H "Content-Type: application/json" \
     https://slack.com/api/enterprise.grid.workspaces.list

This API response will return a list of workspaces under the Enterprise Grid, including their "T" identifiers.

3. Browser Developer Tools (Quick Manual Method)

  1. Open Slack in a web browser.
  2. Navigate to a workspace settings page.
  3. Open Developer Tools:
    • Press F12 or Ctrl + Shift + I (Windows/Linux)
    • Press Cmd + Option + I (Mac)
  4. Go to the Network tab and look for API requests.
  5. Find responses that include the team_id (formatted as TXXXXXXXXX).

Using these methods, admins can efficiently retrieve workspace identifiers for management and API integrations.





Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article