Skip to content

API reference

List templates

workspace.ListTemplatesReadAPI key

List shared templates and the caller's own templates. A null owner_account_id identifies a shared template.

POST/v1/operations/workspace.ListTemplates
On this page

Access & visibility

Allow workspace.ListTemplates on your API key.

Workspace access by default. Private member data requires approved member delegation through Brigg-Act-As; the key supplies permissions while private ownership and project boundaries remain enforced.

Set up authentication · Choose permissions

Request

No parameters. Send an empty JSON object ({}).

Response

Returns 200 OK with a JSON body.

This operation has no continuation cursor. An empty items array means no matching visible results were returned.

Use template_id as the template identity. owner_account_id is null for a shared template and names the owner for a personal template. category and signable do not prove that a template contains an original Word file; Word filling requires a template prepared from a .docx in Brigg.

itemsarray of Document templateRequired

Document templates available to the acting member. This operation has no cursor pagination.

Item fields
template_idstringRequired

Template identifier.

labelstringRequired

Human-readable template name.

catalog_idnull or stringRequired

Source template's catalog identifier, or null for a template without a catalog source.

installed_atnumberRequired

Time the template was installed, in Unix milliseconds.

owner_account_idnull or stringRequired

Owner of a private template, or null for a workspace template.

categorystringRequired

Product category used to organize this template in Brigg.

signablebooleanRequired

Whether documents made from this template support the signing workflow.

Allowed: false, true.

Errors & retries

This operation reads data. It needs no idempotency key and can be retried after a transient failure.

For rate limits, follow the server’s retry guidance and back off. See HTTP errors and safe retries and limits.

HTTP status Code What to do
400 invalid_json Send a JSON object with Content-Type: application/json.
400 invalid_input Check the request fields and types.
401 invalid_key The workspace API key is missing, invalid or revoked.
403 forbidden Check the key’s operation and resource grants. If Brigg-Act-As is supplied, the key must be authorized to delegate to that member.
404 not_found The requested operation or resource is not available to this credential.
429 rate_limited Wait for Retry-After before retrying.

Next steps

Download OpenAPI · Versioning & retirement

JSON schemas

Use the complete schemas for validation or client generation.

Full request JSON schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "examples": [
    {}
  ]
}
Full response JSON schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "title": "Document template",
        "type": "object",
        "properties": {
          "template_id": {
            "type": "string",
            "description": "Template identifier.",
            "examples": [
              "template_consulting"
            ]
          },
          "label": {
            "type": "string",
            "description": "Human-readable template name.",
            "examples": [
              "Consulting agreement"
            ]
          },
          "catalog_id": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "string"
              }
            ],
            "description": "Source template's catalog identifier, or null for a template without a catalog source.",
            "examples": [
              null
            ]
          },
          "installed_at": {
            "type": "number",
            "description": "Time the template was installed, in Unix milliseconds.",
            "examples": [
              1794301200000
            ]
          },
          "owner_account_id": {
            "anyOf": [
              {
                "type": "null"
              },
              {
                "type": "string"
              }
            ],
            "description": "Owner of a private template, or null for a workspace template.",
            "examples": [
              null
            ]
          },
          "category": {
            "type": "string",
            "description": "Product category used to organize this template in Brigg.",
            "examples": [
              "documents"
            ]
          },
          "signable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ],
            "description": "Whether documents made from this template support the signing workflow.",
            "examples": [
              true
            ]
          }
        },
        "required": [
          "template_id",
          "label",
          "catalog_id",
          "installed_at",
          "owner_account_id",
          "category",
          "signable"
        ],
        "additionalProperties": false
      },
      "description": "Document templates available to the acting member. This operation has no cursor pagination."
    }
  },
  "required": [
    "items"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "items": [
        {
          "template_id": "template_consulting",
          "label": "Consulting agreement",
          "catalog_id": null,
          "installed_at": 1794301200000,
          "owner_account_id": null,
          "category": "documents",
          "signable": true
        }
      ]
    }
  ]
}

Search by operation name or what you want to build.

Use arrow keys to browse. Enter opens a result.