---
title: "Create template from campaign"
method: POST
path: "/1/newsletters/{domain}/campaigns/{campaign}/template/{template}"
tags: ["Templates"]
---

# Create template from campaign

`POST /1/newsletters/{domain}/campaigns/{campaign}/template/{template}`

Create a new template from an existing campaign.

## Path parameters

- `domain` integer, required
- `campaign` integer, required
- `template` union, required
  - integer
  - string

## Request body

- object
  - `*` string

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` string

## Other responses

- `404` — Not Found

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/revisions/f11860e74a00?raw)
