Menu
Create Custom Field
Create a custom field
POST
/api/custom-fieldsUse it in a workflow
- Add a step and choose the Gorgias connector.
- Pick the Create Custom Field action (under Custom Fields).
- Fill in the fields below, then reference the result from later steps as
{{createCustomField.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"object_type": "Ticket",
"label": "string",
"definition": null,
"external_id": "string",
"description": "string",
"priority": 0,
"required": false,
"managed_type": null,
"deactivated_datetime": "2025-01-01T00:00:00Z"
}
Response
Returns 201 with an object. Read it in later steps with {{createCustomField.response.data.<field>}}.
{
"id": 0,
"object_type": "Ticket",
"label": "string",
"priority": 0,
"required": false,
"definition": null,
"created_datetime": "2025-01-01T00:00:00Z",
"updated_datetime": "2025-01-01T00:00:00Z",
"external_id": "string",
"description": "string",
"managed_type": null,
"deactivated_datetime": "2025-01-01T00:00:00Z"
}
Need more? See the Gorgias guide for connection setup and behaviour shared by every action.
Was this page helpful?