Skip to main content
POST
Set the default footer
Set your team’s new default footer. New campaign and workflow emails use the default footer. Use existingEmails to choose which existing emails switch to it. With none, only new emails use it.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

The ID of the footer.

Example:

"clf0o1t2e3r4i5d6a7b8c9d0"

Body

application/json
existingEmails
enum<string>
required

Which existing campaign and workflow emails switch to this footer: the ones that use the previous default footer (previousDefault), all of them (all), or none (none). With none, existing emails keep their footer and only new emails use this footer.

Available options:
previousDefault,
all,
none

Response

Successful.

id
string
required

The ID of the footer.

Example:

"clf0o1t2e3r4i5d6a7b8c9d0"

name
string
required

The name of the footer.

Example:

"Main footer"

isDefault
boolean
required

Whether this is the team's default footer. New campaign and workflow emails use the default footer.

placement
enum<string>
required

Whether the footer is rendered inside the email body (inside) or below it (below).

Available options:
inside,
below
createdAt
string<date-time>
required

ISO 8601 timestamp for when the footer was created.

updatedAt
string<date-time>
required

ISO 8601 timestamp for when the footer's own fields last changed, such as its name or placement. Not changed when a variant is updated.

variants
object[]
required

The footer's content variants. A footer has at most one variant. A footer created before variants has none.

updatedEmailCount
number
required

How many existing emails switched to this footer.