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

Authorization

Bearer token

Authorizationrequiredheader

Send your API key as Bearer YOUR_API_KEY.

Permissionemail.full_access

Path parameters

templateIdrequiredstring

The template ID.

Response

application/json200 OK

Variables are ordered by key. See Variables for what each field means.

This lists the variables of the draft when the template has one, otherwise of the published version. Sends always use the published version: to see exactly what a send needs while a draft exists, read published_version.variables from Retrieve a template.

Nexiom Connect
Open dashboard