Discussions

Ask a Question

Where is the full schema for Widget entity?

I just need the full schema of the widget entity

Is there a plan to have an API for Articles?

Is there a plan to have an API for Articles?

Enable CORS

Hi, I want to create an app by which I can create tickets in Gorgias. Unfortunately, I am getting CORS error. The application is built using NodeJS. How can I make the request / what needs to be done in order to have a valid request? Awaiting response.

VoiceCallEvent Type How many types are there

VoiceCallEvent Type How many types are there

Can I force opening a ticket on one of the agents screen?

I'm planning to write my own integration. My idea is: - A customer calls to our VOIP server - One of my agents picks up the phone - At that time I see who the agent is who picks up the phone, I know the customer phone number, I directly create a ticket, something like this: curl --request POST --url <https://your-domain.gorgias.com/api/tickets> --header 'accept: application/json' --header 'content-type: application/json' --data ' { "assignee_team": { "id": 122 }, "assignee_user": { "id": 13 }, "customer": { "email": "[[email protected]](mailto:[email protected])" }, "status": "open", "channel": "phone", "from_agent": false, "language": "nl", "messages": \[ { "channel": "phone", "from_agent": true, "via": "phone", "attachments": [ { "public": true } ] } ], "via": "phone" } ‘ - I would now for my agent to preferably get this ticket opened on screen so they have the context of the caller in screen. Also possible would be an option where our agent can easily open the just created ticket because it's on top of some list Is this something Gorgias caters for?

Change messages body_text when updating a ticket

Is there any way to update ticket body message?

Nulls in opened_datetime column

Hi there, I noticed there are many nulls in the opened_datetime column where assignee_user. name is populated in tickets table from the API call. Is this expected ?

How do I incrementally sync customers?

I can't filter by updated_datetime, I have to full reload every time?

Bulk create tickets

I have tens of thousands of tickets to migrate, is it possible to create them in batches instead of individually?

Upload file in node.js app

Gorgias upload file has the following documentation: const sdk = require('api')('@gorgias-developers/v1.0#fgg25lq0zlwrl'); sdk.auth('email' 'api_key'); sdk.postApiUpload({ file: '51c1076a502ed528e6696c72b5fecfef.png' }, {type: 'attachment'}) .then(({ data }) => console.log(data)) .catch(err => console.error(err)); and it works in the documentation when you click in try it But how does it works in an node.js app? If i try to put into file property the path to my file, it always return "<p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p>\\n"