githubEdit

Update Templates

Only certain fields can be updated:

List of all fields that can be updated

Name
Type

description

string

namespace

string

enabled

boolean

tags

object (head & body)

triangle-exclamation

Important Notes About Updating Templates

  • Only certain fields can be updated (mentioned in the table above).

  • The template structure cannot be changed components such as header, body, footer, and buttons are fixed after creation.

  • You only need to send the fields you want to update; all other fields remain unchanged.

  • Updates only affect new campaigns. Any campaign that was already created will continue using the original template version.

Update Template

PUT https://www.channel360.co.za/v1.1/templates/{{templateId}}

{
  "tags": {
    "head": [
      {
        "index": 1,
        "type": "document",
        "url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
      }
    ],
    "body": [],
    "buttons": []
  },
  "description": "Updated template description",
  "enabled": true
}

Update Template (CSV)

Last updated

Was this helpful?