Discussions

Ask a Question
Back to All

Creating a chat ticket via API

I have a chat widget with an AI. I'd like to create a ticket in Gorgias and relay messages between my widget and the Gorgias API.

However, right now, when I create a ticket, I cannot get the agent interface to allow a "chat reply". It defaults to an "email reply" even though the channel/via are API (where possible - it tells me I cannot create channel: chat via API).

I don't need the message to actually deliver into a chat conversation, since I will read the message via webhook (HTTP integration) and then display the message in my widget.

So it's just about getting the agent UI to allow the agent to reply with a "chat" instead of an "email".

How can I do that? I saw that this appears possible based on the video shown on this page: https://certainly.io/gorgias-integration/ At around 40 seconds left in the video, it is shown creating a ticket (presumably via API) and having an agent doing a "chat reply" on that ticket.