The server intends to close the connection soon.


Works with

	"type": "goodbye"

The goodbye event may be sent by a server that expects it will close the connection after an unspecified amount of time. A well formed client should reconnect to avoid data loss.

Other scenarios where you might encounter the goodbye event are:

  • reaching the maximum duration of a RTM web socket connection (8 hours)
  • your workspace has been inactive for over two minutes

When an event occurs, we will send an HTTP POST request to your Request URL. The outer payload is uniform across all Events API methods, and contains fields like team_id and event. Learn more