Some user ID strings are changing
As Slack works to serve the needs of larger businesses by building an enterprise product offering, some aspects of our infrastructure and platform are evolving.
The following changes apply only to platform features and API requests used in conjunction with teams using Slack's upcoming Enterprise product.
Typically, user IDs encountered throughout the Slack platform begin with
U. From now on, you may also encounter team members with a user ID beginning with
W. Treat these user IDs just as you would those beginning with
If your application or integration is installed by an Enterprise-enabled team, you may notice user objects containing a new field called
enterprise_user. This field includes a hash of attributes describing that user's status as part of an enterprise organization.
At this time, there's not much for developers to do with this field. We'll provide more detail on the meaning of each attribute in the coming weeks.
Most developers need do nothing at all. If you don't inspect the first character of the user ID string, everything should be all right. You also probably won't see user IDs beginning with
W very often.
But please do make sure that your code, database, and other plumbing all support user IDs beginning with the letter
W, or any UTF-8 character.
Ideally, your code and business logic shouldn't contain any assumptions about the specific characters composing an ID.
If you're the developer of a library, we recommend reviewing your code and ensuring these minor changes are compatible.
We'll be sharing more detail on our Enterprise product and how to ready your apps and integrations to work with the larger businesses in the months to come.Review other recent updates