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

appIdstring required
templateIdstring required

Headers

Authorizationstring

Request body application/x-www-form-urlencoded

elementNamestring
languageCodestring
categorystring
isMasterboolean
activeboolean
statusstring
namespacestring
externalIdinteger
isGlobalboolean
appIdstring
verticalstring
templateTypestring
metastring
contentstring
buttonsstring

Example request

{
  "elementName": "ticket_check_url_345456",
  "languageCode": "en_US",
  "category": "TICKET_UPDATE",
  "status": "APPROVED",
  "namespace": "4baa9054_9e0b_9569_3dac_6d3b01aa0bbb",
  "appId": "9e97650d-add3-4557-9535-4cdf47c3fa68",
  "vertical": "BUTTON_CHECK",
  "templateType": "TEXT",
  "meta": "{\"example\":\"your ticket has been confirmed for {{1}} persons on date {{2}}\"}",
  "content": "your ticket has been confirmed for {{1}} persons on date {{2}}.",
  "buttons": "[{\"type\":\"PHONE_NUMBER\",\"text\":\"connect here\",\"phone_number\":\"+918286836492\"},{\"type\":\"URL\",\"text\":\"check \",\"url\":\"https://www.speedtest.net/{{1}}\"}]"
}

Response

Successful response

Changes

No recorded changes to this operation across all 2 revisions of this API.