Skip to main content
POST
Get Template Diff

Authorizations

Authorization
string
header
required

Pass as Authorization: ServiceToken <token>. You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.

Path Parameters

workspace
string
required

Workspace slug.

template_slug
string
required

Template slug.

Response

The uncommitted changes. Empty properties and variants mean there's nothing to commit.

is_new
boolean

true if the template has never been committed. Every property is then listed as changed.

has_changes
boolean

true if the draft differs from the live version.

properties
object

Changed template properties, keyed by property name (name, description, tags, enabled_channels, mock_data). Unchanged properties are left out.

variants
object[]

Variants whose draft differs from the live version. Unchanged variants are left out.