Skip to main content
PATCH
Update the name and/or the form fields of an existing template. Both fields are optional; only supplied values are overwritten. Supplying form_fields replaces the entire list.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

template_id
string
required

Body

application/json

Body for updating an edit template. Only the supplied fields (name, form_fields) are changed.

name
string | null

New name for the template.

form_fields
FormField · object[] | null

Replacement list of form fields.

Response

Successful Response

A reusable edit template: an empty PDF and the form_fields defined on it.

id
string
required

Unique identifier of the template.

name
string
required

Name of the template.

file
FileRef · object
required

File information for the empty PDF template.

form_fields
FormField · object[] | null

Form fields attached to the template.

field_count
integer | null
default:0

Number of form fields in the template.

created_at
string<date-time> | null

Timestamp of creation.

updated_at
string<date-time> | null

Timestamp of last update.