Skip to main content
POST
Create template

Authorizations

X-API-Key
string
header
required

API key for service-to-service authentication

Body

application/json
name
string
required

Template name

Example:

"Company Registration Verification"

description
string
required

Template description

Example:

"Template for extracting company registration data"

schema
object
required

Data extraction schema definition

Example:
custom_id
string | null

Custom identifier for the template

Example:

"comp-reg-v1"

instruction
string | null

Special instructions for template processing

Example:

"Focus on extracting company name and registration number accurately"

config
object

Template configuration settings

type
enum<string>
default:CUSTOM

Template type. Users can only create CUSTOM templates. PREBUILT templates are managed by AnyCheck admin (defaults to CUSTOM)

Available options:
CUSTOM,
PREBUILT

Response

Template created 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