---
title: "App | Edit template"
method: PUT
path: "/partner/app/{appId}/templates/{templateId}"
tags: ["App"]
---

# App | Edit template

`PUT /partner/app/{appId}/templates/{templateId}`

## Request

- Base URL: `https://partner.gupshup.io`
- URL: `https://partner.gupshup.io/partner/app/{appId}/templates/{templateId}`
- Auth: none declared

## Path parameters

- `appId` string, required
- `templateId` string, required

## Headers

- `Authorization` string

## Request body `application/x-www-form-urlencoded`

- object
  - `elementName` string
  - `languageCode` string
  - `category` string
  - `isMaster` boolean
  - `active` boolean
  - `status` string
  - `namespace` string
  - `externalId` integer
  - `isGlobal` boolean
  - `appId` string
  - `vertical` string
  - `templateType` string
  - `meta` string
  - `content` string
  - `buttons` string

## Response `200`

Successful response

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `500`: Internal server error

---

[API](https://skmtc.dev/gupshup/apis/partner-portal-public-apis.md) - [All operations](https://skmtc.dev/gupshup/apis/partner-portal-public-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/gupshup/apis/partner-portal-public-apis/revisions/f0e74168189c?raw)
