// Javascript example. var ws = new WebSocket("wss://ws.kite.trade?api_key=xxx&access_token=xxxx"); // Subscribe to quotes for INFY (408065) and TATAMOTORS (884737) var message = {"a": "subscribe", "v": [408065, 884737]}; ws.send(JSON.stringify(message))
Instead of KiteTicket, it should be WebSocket.You can have look to this document.
It's given in above link.