How do you point a lambda websocket event at the correct API?

I’m have an API with two websockets (one for ingest, one for monitoring). I have two sets of [connect, disconnect, message] lambdas. How do I specify on the websocket event on each lambda which websocket it should be hooked up to?

This is how: https://www.serverless.com/framework/docs/providers/aws/events/websocket/#event-definition/ You shouldn’t create the websockets yourself ahead of time, the Serverless Framework does all of that for you by using the event definition in the link above

How do you set up two websockets? This appears to only set up one. You can route to multiple functions but only by using the body.action param. I want to have two with different authentication, so different connect and disconnect handlers.