---
title: "Push templates from one server to another"
method: PUT
path: "/templates/push"
tags: ["Templates API"]
---

# Push templates from one server to another

`PUT /templates/push`

## Headers

- `X-Postmark-Account-Token` string, required

## Request body

- TemplatesPushModel
  - `SourceServerId` integer
  - `DestinationServerId` integer
  - `PerformChanges` boolean

## Response `200`

ok

- TemplatesPushResponse
  - `TotalCount` integer
  - `Templates` object[]
    - `Action` string
    - `TemplateId` integer
    - `Alias` string
    - `Name` string

## Other responses

- `422` — An error was generated due to incorrect use of the API. See the Message associated with this response for more information.
- `500` — Indicates an internal server error occurred.

---

[API](https://skmtc.net/postmarkapp/apis/postmark-account-level-api.md) · [All operations](https://skmtc.net/postmarkapp/apis/postmark-account-level-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/postmarkapp/postmark-account-level-api/revisions/bbbcda943285/schema)
