Skip to main content
GET
Get email template performance

Authorizations

Authorization
string
header
required

A Demand IQ API key or service token, passed in the Authorization: Bearer header.

Query Parameters

since
string<date-time>

Organization-wide view only. Ignored when you pass deckId. Start of the window for the first send (inclusive), as an RFC 3339 timestamp. Timezone offsets are accepted. Provide with until, or omit both for the last 30 days.

until
string<date-time>

Organization-wide view only. Ignored when you pass deckId. End of the window for the first send (exclusive), as an RFC 3339 timestamp. Must be after since. Provide with since, or omit both for the last 30 days.

deckId
string<uuid>

Return this template's all-time version list instead of the organization-wide view. An empty value is treated as absent.

Response

The template's version list when you pass deckId, otherwise email performance per template version for your organization

Every version of a template's email copy, with all-time counts.

deckId
string<uuid>
required
Example:

"8b2e4f10-3c6a-4d9e-a1f7-62c0b5d9e384"

minimumDelivered
integer
required

The smallest number of delivered first sends at which a version's rates are reportable.

Example:

10

versions
object[]
required

Every version the template has had, all-time, with removed versions left out. The active version comes first, then the newest by firstSavedAt or else firstSentAt. The unknown version row, if present, is last. The active version is always present. Its templateVersionId is null when its copy was never saved or sent.