v1

latestOpenAPI 3.1.0proprietary2026-07-24156175241.3 KB
Templates

List templates

Returns a list of templates for the organization. Supports pagination via offset and count parameters.

get/v1/templates

Query parameters

offsetinteger

The number of items to skip before starting to collect the result set

countinteger

The numbers of items to return

Response

Successful response

Example response

{
  "templates": [
    {
      "name": "template_name",
      "template_key": "template_key",
      "columns": [
        {
          "label": "template_column_name",
          "key": "template_column_key"
        }
      ],
      "validation_hooks": [
        {
          "name": "validation_hook_name",
          "url": "https://example.com"
        }
      ],
      "hooks": {
        "preparsing": [
          {
            "key": "hook_key",
            "type": "code-postmapping"
          }
        ],
        "postupload": [
          {
            "key": "hook_key",
            "type": "code-postmapping"
          }
        ],
        "postmapping": [
          {
            "key": "hook_key",
            "type": "code-postmapping"
          }
        ],
        "validation": [
          {
            "key": "hook_key",
            "type": "code-postmapping"
          }
        ]
      }
    }
  ]
}