Skip to content

List Email Templates

Lists every email template in the store — the data behind the admin Marketing → Communications → Email Templates datagrid.

TIP

New here? Read the Email Templates overview for what a template does and how its fields behave.

Endpoint

EndpointMethod
/api/admin/marketing/templatesGET

Response envelope

Admin collections return a { data, meta } body envelope:

  • data — the template rows for this page.
  • metacurrentPage, perPage, lastPage, total, from, to.

Each row carries the full template fields, including the content HTML body.

Query parameters

ParameterDescription
page, per_pagePagination (per_page default 10, max 50)
nameName — partial match
statusactive, inactive, or draft
sort, orderSort field (id, name) + asc / desc (default id desc)

Filters compose with logical AND — more filters narrow the result.

Every /api/admin/* request requires an admin Bearer token.

Released under the MIT License.