GET/v1/emails/templates/{templateId}/versions

Authorization

Bearer token

Authorizationrequiredheader

Send your API key as Bearer YOUR_API_KEY.

Permissionemail.full_access

Path parameters

templateIdrequiredstring

The template ID.

Query parameters

limitoptionalinteger

Versions per response, from 1 to 100; default 50.

beforeVersionoptionalinteger

Return only versions numbered below this one. Pass the last version_number of the previous response to read older versions.

Versions are returned newest first. Continue with beforeVersion until a response has fewer than limit versions.

Response

application/json200 OK

Each version has the same fields as published_version in Retrieve a template. status is draft for the version being edited, published for the version sends use, and saved for earlier versions.

Nexiom Connect
Open dashboard