Discussions

Ask a Question

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.
ANSWERED

Search endpoint retuning HTML

Hello, anyone else seeing the search endpoint retuning a 404 and html?
ANSWERED

HTTP Integration not displaying, and not populating data

Hello, I am one of the developers for Checkout Champ, an eCommerce CRM. Some of our clients use Gorgias as their help desk, and we have developed an integration with Gorgias so that our clients can make changes to their CRM customers right from Gorgias. Late last week, some of our clients reached out regarding the same issue - one of the buttons in our integration linked back to our CRM, and we passed the customerId to the link; the entire link was something like "<https://crm.checkoutchamp.com/customers/?customerId={{customerId}}">. Since we developed the integration in 2022, that link has worked perfectly, and we have not changed the code in over a year, but it does not work anymore. When I tried to test our Gorgias integration by creating a new instance of it, I created a Gorgias helpdesk (<https://kkgorgiastest1.gorgias.com/app>), and created a new integration, only to find that the integration no longer displays in the first place, after no change on our end. Why could this be? Please help me troubleshoot this and figure out what is going wrong. Could there have been a change to your JavaScript in the past week? Thanks for any help you can give, Cameron

Get messages that used a macro

I see the macros have a usage count, but I'm trying to get the actual ticket messages that used a specific macro. I'm not finding that relationship in the API, so I'm hoping it's just buried. Can someone point me in the right direction?

Create a Draft Message

Is there any way to create a draft message on a Gorgias ticket?
ANSWERED

Help center endpoints

I am going through the documentation and not seeing anything help center related. Are there any endpoints I can use to change articles? If not, do you plan to add them soon?

disable chat via api

Can I programmatically schedule chat to disable/enable at particular time of the day by sending scheduled API requests? If so how do I do that?

How can I send SMS reply using Gorgias API?

How do I send the reply in the ticket that was opened by SMS? I want to use API. Do I need to have the number in Gorgias?

List tickets by update time range.

In the endpoint of List tickets(<https://your-domain.gorgias.com/api/tickets)(https://developers.gorgias.com/reference/get_api-tickets)>, can you add a query parameter and query it according to the range of update time. Because I need to synchronize the data of gorgias to our database for analysis, I will have a scheduled job to synchronize the data, Then I hope that every time I go to query, I will query the last execution time to this execution time, all tickets with updated tickets and tickets created during this period of time This is really important to us and I hope we can adopt it

Satisfaction surveys

What would be the best way to build a script that is pulling the tickets from the previous week that received a CSAT score? Do I need to fetch all the tickets from previous week and use those ticket IDs to get the surveys? Or there is another easier way to gather these? TIA