Installer.com Docs
API ReferenceWorkflow templates
GET
/api/routers/{routerId}/workflow-templates/{workflowTemplateId}/custom-fields

List custom fields for workflow template

Path Parameters

routerId*string
Formatuuid
workflowTemplateId*string
Formatuuid

Query Parameters

page?|
Default0
Range0 <= value
pageSize?number
Default25
Range1 <= value <= 500
q?string
phrase?string
direction?string
Default"desc"
Value in"asc" | "desc"
showUnused?string

Response Body

application/json

curl -X GET "http://localhost:8000/api/routers/497f6eca-6276-4993-bfeb-53cbbbba6f08/workflow-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08/custom-fields"
{
  "values": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "customId": "string",
      "name": "string",
      "type": "TEXT",
      "isSensitive": true,
      "fileUrl": "string",
      "regex": "string",
      "validationMessage": "string",
      "value": "string",
      "values": [
        {
          "value": "string",
          "fileUrl": "string",
          "fileName": "string"
        }
      ],
      "orderTemplateId": "5c71a80f-4fe5-4de3-b799-936b8cf62953",
      "visibleInOrderCreation": true,
      "usedCount": 0,
      "questions": [
        {
          "type": "string",
          "id": "string",
          "title": "string",
          "alternatives": [
            null
          ]
        }
      ]
    }
  ],
  "count": 0
}