You must enable javascript in order to use the Slack API Documentation. You can do this in your browser settings.
Go to Slack

goodbye event

The server intends to close the connection soon.

Compatibility: RTM

    "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.