# Gorgias

### Setup

Within Gorgias, there is http integration which allow Gorgias to call any api endpoint and get information about it and display in Gorgias

Please following the Gorgias http integration to set it up

{% embed url="<https://docs.gorgias.com/en-US/http-integrations-81822>" %}

Within the integration, it will ask for a endpoint - this is the endpoint of the app api that will provide information about the email/customer in Gorgias

### Obtain the endpoint from the app

The endpoint for Gorgias from the app is at

<https://api.productcares.com/api/gorgias/users?email={{ticket.customer.email}}>

The above endpoint will need authroization token (api key for the app) in the header as mentioned in the Gorgias HTTP Integration, the authorization token can be obtain in the App admin > App settings > General > API access token


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.productcares.com/integrations/gorgias.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
