---
title: "Process and upload a template in single step"
method: POST
path: "/templates/single-step"
tags: ["Template"]
---

# Process and upload a template in single step

`POST /templates/single-step`

Uploads a new template file with metadata for processing

## Headers

- `tenant-id` string, required

## Response `200`

Template processed successfully

- SingleStepTemplateFlowResponse
  - `fields` Field[]
    - `name` string
    - `mappedKey` string
    - `mappedEntity` string
    - `entityGroup` string
    - `isRequired` boolean
    - `isStaticField` boolean
    - `isSingleSelect` boolean
    - `validationRegex` string
    - `description` string
    - `enum` string[]
    - `singleSelect` boolean
  - `status` string
  - `templateId` string
  - `templateUrl` string
  - `schemaUrl` string

## Other responses

- `400` — Invalid input or request
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - Insufficient permissions
- `500` — Internal server error

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/revisions/3d27e9019c7b/schema)
