Create Session
Opens a new chat session for a customer with the specified agent. Any existing active session for the same customer + agent is closed first, so there is at most one active session per customer per agent. If you send channel, only the active session on that channel is closed, and there is at most one active session per customer per agent per channel.
Returns the full session object, including its id — use that id for the support and inject-context endpoints. Sending messages, however, does not require the session id: the Send Message endpoint resolves the active session automatically.
Authorizations
Body
Optional. Which of your own channels this conversation is on. A customer can have one active session per channel with the same agent, so their WhatsApp chat and their app chat stay open side by side. Creating a session closes only the active session of the same channel. Omit it and the session has no channel, as before. The channel is a label: replies always come back through this API, and Osvi does not send on your WhatsApp or Instagram.
whatsapp, instagram, web, app "whatsapp"
