Create a new session
POST/api/sessions
Create a new session bettween a user and an agent.
The session will be associated with the provided agent and optionally with a user. If no user is provided, a guest user will be created.
Request
Responses
- 201
- 422
Session created successfully, Returns the created session along with its generated ID.
Validation error in request parameters