WebSocket connection token can be generated using this REST endpoint as shown below.

🔐

A token is REQUIRED to establish a WebSocket connection. Token is valid for 8 hours

Language
Click Try It! to start a request and see the response here!