Installer.com Docs
API ReferenceWorkflow templates
GET
/api/routers/{routerId}/document-templates

Path Parameters

routerId*string
Formatuuid

Query Parameters

page?|
Default0
Range0 <= value
pageSize?number
Default25
Range1 <= value <= 500
searchString?string

Response Body

application/json

curl -X GET "http://localhost:8000/api/routers/497f6eca-6276-4993-bfeb-53cbbbba6f08/document-templates"
{
  "values": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "content": {
        "type": "doc",
        "content": [
          {
            "type": "paragraph",
            "content": [
              {
                "type": "text",
                "text": "Hello world",
                "marks": [
                  {
                    "type": "bold"
                  }
                ]
              }
            ]
          }
        ]
      },
      "type": "content",
      "fileId": "string",
      "fieldMappings": "string",
      "routerId": "c3d4372d-3cfa-4618-a60e-50a4c920823d",
      "public": true,
      "description": "string",
      "updatedAt": "2019-08-24",
      "createdAt": "2019-08-24",
      "deletedAt": "2019-08-24"
    }
  ],
  "count": 0
}