Content

Update content template

Changed on

Update a content template.

put/api/content/templates/{template_id}

Request

Request body

created_atstring date-time

The date-time when this template was created.

descriptionstring

The description of the template.

external_idstring

An optional ID for referencing this template in future API calls. Must be unique within your project.

idstring uuid

The unique ID assigned to the template. Used to retrieve or reference the template in other endpoints.

modified_atstring date-time

The date-time when this template was last modified.

namestring required

The human-readable name of the template.

type'email' | 'sms' | 'open' | 'app' | 'web' | 'message_center' required

The type of message.

Response

Returned if the template has been successfully updated.

okboolean required

If true, the operation completed successfully and returns an expected response.

operation_idstring uuid

A unique string identifying the operation, useful for reporting and troubleshooting.

Example response

{
  "operation_id": "ef625038-70a3-41f1-826f-57bc11dd625a"
}

Changes