WixBookings - How to create a session with a specific staff

Hello, i want to expose one api that create a session with a specific staff member how can i do this?
how the session are linked with staff members?