Skip to main content
Returns the templates in your account — the importable objects (Contacts, Companies, and so on), each with its columns and validation rules. Use the list to show your customer what they can import and let them choose, then pass the chosen slugs as templates when you create a migration. Templates are scoped to your account, not to a single source — the same object set is available to every source. List sources and templates separately and let your customer pick each.

Authentication

Requires an x-api-key header. See Authentication.

List all templates

200 OK. Each template carries its columns, so you can render a preview of exactly what each object holds.

Fetch one template

Returns a single active template by its slug. 404 if no active template has that slug.

Fields

string
The template’s stable public identifier — a snake_case form of its name (e.g. contacts). Pass it in templates when you create a migration, and use it to address the sheet on export.
string
The template’s display name — the object (e.g. “Contacts”). Becomes the sheet name on the migration’s workbook.
string | null
An optional human description of the object.
object[]
The object’s fields and validation rules, in order. Each column has:

Errors

Example

Next