Skip to main content
POST
Publish document template

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

productId
string<uuid>
requerido

Owning loan product identifier.

templateId
string<uuid>
requerido

Template version identifier to publish.

Respuesta

OK

active
boolean
requerido

Whether this is the currently active published version.

createdAt
string
requerido

Creation timestamp (RFC3339, UTC).

id
string
requerido

Template version identifier (uuid).

kind
string
requerido

Document kind.

requiredFields
string[] | null
requerido

Declared placeholder field names.

scopeId
string
requerido

Owner identifier (uuid): the loan product or the assignment fund.

scopeKind
string
requerido

Owner kind this template hangs off (loan_product|assignment_fund).

sections
object[] | null
requerido

Ordered clauses.

signatureBlock
string
requerido

Signature block text.

status
string
requerido

Lifecycle status (draft|published).

title
string
requerido

Template title.

updatedAt
string
requerido

Last-update timestamp (RFC3339, UTC).

versionNumber
integer<int64>
requerido

Sequential version number within (tenant, product, kind).

loanProductId
string

Owning loan product identifier (uuid); absent on a fund-scoped template.

publishedAt
string

Publication timestamp (RFC3339, UTC); absent while draft.