younifyd
Menu

Get Account

Retrieve your account

GET/api/account

Use it in a workflow

  1. Add a step and choose the Gorgias connector.
  2. Pick the Get Account action (under Account).
  3. Fill in the fields below, then reference the result from later steps as {{getAccount.response.data}}.

Fields

baseUrlstring

The API host this action calls. Override to point at a different environment.

Default "https://{domain}.gorgias.com"

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

Returns 200 with an object. Read it in later steps with {{getAccount.response.data.<field>}}.

created_datetimestring (date-time)

When the account was created.

deactivated_datetimestring | null

When the account was deactivated.

domainstring

Gorgias domain of the account.

settingsarray<object>

Account-wide settings. E.g: business hours, satisfaction survey, etc...

idinteger

ID of the setting.

dataany
typestringrequired
statusobject

The status of the account whether it is active or not and the reason.

json
{
  "created_datetime": "2017-11-23T15:59:41.966927",
  "deactivated_datetime": null,
  "domain": "company_name",
  "settings": [
    {
      "id": 987,
      "type": "business-hours",
      "data": {
        "timezone": "UTC",
        "business_hours": {
          "days": "1,2,3,4,5",
          "from_time": "09:00",
          "to_time": "22:00"
        }
      }
    }
  ],
  "status": {
    "status": "active"
  }
}

Need more? See the Gorgias guide for connection setup and behaviour shared by every action.