User_uttered with extra parse data

Hello, I created a socket.io channel and I am sending from my front side socket.emit( user_uttered,{ access_token: token, message: newMessage, session_id:'sender_id_io, }) I want to get the value of data[‘access_token’] in my custom action. What modifications and imports should I add ? Thanks.