Menu
Create View
Create a view
POST
/api/viewsUse it in a workflow
- Add a step and choose the Gorgias connector.
- Pick the Create View action (under Views).
- Fill in the fields below, then reference the result from later steps as
{{createView.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"slug": "string",
"decoration": {
"emoji": "string"
},
"fields": [],
"filters": "string",
"name": "",
"order_by": "updated_datetime",
"order_dir": "desc",
"shared_with_teams": [],
"shared_with_users": [],
"type": "ticket-list",
"visibility": "public"
}
Response
Returns 201 with an object. Read it in later steps with {{createView.response.data.<field>}}.
{
"id": 0,
"uri": "string",
"category": "user",
"created_datetime": "2025-01-01T00:00:00Z",
"deactivated_datetime": "2025-01-01T00:00:00Z",
"decoration": {
"emoji": "string"
},
"fields": [
"id"
],
"filters": "string",
"name": "",
"order_by": "updated_datetime",
"order_dir": "desc",
"search": "string"
}
Need more? See the Gorgias guide for connection setup and behaviour shared by every action.
Was this page helpful?