Ivandt logo

Create template

Create template

Creates a new template with a schema that defines the structure and validation rules for data imports.

What is a template:

  • Defines the expected columns (fields) for your imports
  • Specifies validation rules for each field
  • Configures data transformations
  • Can be reused across multiple imports
POST
/templates
schemaITemplateSchema

Empty Object

Response Body

curl -X POST "https://api.ivandt.com/v1/templates" \  -H "Content-Type: application/json" \  -d '{    "schema": {      "property1": null,      "property2": null    }  }'
{
  "id": "string",
  "key": "string",
  "clientId": "string",
  "schema": {
    "property1": null,
    "property2": null
  },
  "source": "studio",
  "metadata": {
    "property1": null,
    "property2": null
  },
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}