how to get listenkey in websocket

Hi guys i have api key and secreat key ,how can have listenkey for work with websocket ?anyone have a step by step guide for have the key ?? thanks

Depends on the exchange API. Have a look at the documentation, listen key endpoints are included in the user data sections.

https://binance-docs.github.io/apidocs/spot/en/#user-data-streams

thanks but how call it ??i tryed in this mode but return error
curl -X ‘POST’ https://api.binance.com/api/v3/userDataStream&subAccountApiKey=MY-APIKEY

{“code”:-2014,“msg”:“API-key format invalid.”}

thanks so much @tantialex i find a solution with this
curl -H “X-MBX-APIKEY: MY-APIKEY” -X ‘POST’ ‘https://api.binance.com/api/v3/userDataStream
thanks so much