---
title: "Create Template"
method: POST
path: "/v1/templates"
tags: ["Templates"]
---

# Create Template

`POST /v1/templates`

## Request

- Base URL: `https://api.oviond.com`
- URL: `https://api.oviond.com/v1/templates`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Create a new template, optionally copying pages and widgets from a report.

## Request body

- CreateTemplateRequest
  - `name` string, required
  - `report_id` string, required: Copy pages/widgets from this report
  - `type` 'REPORT' | 'DASHBOARD': Defaults to the source report's type when omitted
  - `description` string
  - `thumbnail` string
  - `ranking` number

## Response `201`

Template created

- CreateTemplateResponse
  - `success` true, required
  - `data` object, required
    - `id` string, required

## Other responses

- `404`: Source report not found

---

[API](https://skmtc.dev/oviond/apis/oviond-backend-api.md) · [All operations](https://skmtc.dev/oviond/apis/oviond-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/oviond/apis/oviond-backend-api/revisions/4cb0a07daf41?raw)
