Skip to main content
PUT
Update template

Authorizations

X-API-Key
string
header
required

API key for service-to-service authentication

Path Parameters

id
string<uuid>
required

Resource UUID

Body

application/json
name
string

Updated template name

Example:

"Updated Company Registration Verification"

description
string

Updated template description

Example:

"Updated template for extracting company registration data"

custom_id
string | null

Updated custom identifier

Example:

"comp-reg-v2"

instruction
string | null

Updated special instructions

Example:

"Focus on extracting company name, registration number, and founding date accurately"

schema
object

Updated data extraction schema

Example:
config
object

Updated template configuration settings

Response

Template updated successfully

id
string<uuid>

Unique template identifier

name
string

Template name

Example:

"KTP Verification"

description
string

Template description

Example:

"Template for KTP document verification and data extraction"

custom_id
string | null

Custom identifier for the template

instruction
string | null

Special instructions for template processing

schema
object

Data extraction schema definition

Example:
config
object

Template configuration settings

type
enum<string>

Template type - custom or prebuilt

Available options:
CUSTOM,
PREBUILT
Example:

"CUSTOM"

created_at
string<date-time>

Template creation timestamp

updated_at
string<date-time> | null

Last update timestamp