Set template as default for document types
Sets this template as the default for its document types (or specific types from the body). Any existing default template for those types will be unset. Only active, non-deleted templates can be set as default.
Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.
In: header
Path Parameters
Template UUID to set as default
Header Parameters
Business ID for multi-tenant access
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/templates/string/set-default" \ -H "x-business-id: string" \ -H "Content-Type: application/json" \ -d '{}'
