Event type

team_domain_change

The workspace domain has changed

Facts

Required scopes

Works with

RTMEvents API
{
	"type": "team_domain_change",
	"url": "https://my.slack.com",
	"domain": "my"
	"team_id": "T1234"
}

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.