Get Import Template
Get Import Template
Retrieve template metadata including column definitions and validation rules
GET
Get Import Template
Get Import Template
Retrieve the metadata for a backend import template, including its column definitions, validation rules, and required context fields. Templates define the expected structure of an import file.Templates are static configuration — not organization-specific. Any authenticated caller can fetch any template.
Request
Headers
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefPath Parameters
string
required
Template identifierExamples:
logistics_requests, purchases, wastes, invoices_electricity, transport_routesResponse
string
Template identifier
string | null
Human-readable description of the template
array[object]
Column definitions for this template
array[string]
Context fields that must be provided at session creation (e.g.
["facility_id"] for wastes)array[string]
Context fields that can be provided at submit time
array[string]
Columns included in the submitted output
object
Global default values applied across all columns
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization404 Not Found
Cause: Template does not existRelated Endpoints
Create Session
Use the template_id when creating an import session
Get Options Source
Resolve dynamic option values for category columns