Create a template
Creates a reusable template from an existing completed document. The document’s field layout is copied to the template.
POST
/templatesAuthorization
AuthorizationBearer token · headerrequiredPass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.
Request body
requiredapplication/jsondocument_idstringrequiredSource document ID to create the template from
namestringrequireddescriptionstringResponses
200
Template created
idstring401
Missing or invalid API key
typestringrequiredMachine-readable error code
statusintegerrequiredHTTP status code
titlestringrequiredHuman-readable error message
detailsobjectField-level validation errors