Go to Slack

team_domain_change event

The workspace domain has changed

Compatibility: RTM Events API

Expected scopes:

{
    "type": "team_domain_change",
    "url": "https://my.slack.com",
    "domain": "my"
}

The team_domain_change event is sent to all connections for a workspace when the workspace domain changes.

Since the existing domain will continue to work (causing a redirect) until it is claimed by another workspace, clients don't need to do anything special with this event. It is sent for the benefit of our web client, which needs to reload when the domain changes.

Events API compatibility

Subscribe to this event via the Events API.

Events of this type will be wrapped in metadata when sent via the Events API.