Menu
Get Widget
Retrieve a widget
GET
/api/widgets/{id}Use it in a workflow
- Add a step and choose the Gorgias connector.
- Pick the Get Widget action (under Widgets).
- Fill in the fields below, then reference the result from later steps as
{{getWidget.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getWidget.response.data.<field>}}.
{
"id": 123,
"context": "ticket",
"created_datetime": "2020-12-01T13:00:00.123456",
"deactivated_datetime": "2020-12-03T13:00:00.123456",
"integration_id": 0,
"app_id": "60b9f144096cf92533e0a14d",
"order": 3,
"template": {
"type": "wrapper",
"widgets": [
{
"path": "account_info",
"type": "card",
"title": "account info",
"widgets": [
{
"path": "account_id",
"type": "text",
"title": "account id"
}
]
}
]
},
"type": "http",
"updated_datetime": "2020-12-02T13:00:00.123456",
"uri": "string"
}
Need more? See the Gorgias guide for connection setup and behaviour shared by every action.
Was this page helpful?