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

🔐

A token is REQUIRED to establish a WebSocket connection.

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