List Available Email Templates

get

/templates/email/list

Use this endpoint to get a list of available templates in your Braze account.

Use the Template REST APIs to programmatically manage the email templates that you have stored on the Braze dashboard, on the Templates & Media page. Braze provides two endpoints for creating and updating your email templates.

Request Parameters

Parameter Required Data Type Description
api_key Yes String Your App Group REST API Key.
modified_after No String in ISO 8601 Retrieve only templates updated at or after the given time.
modified_before No String in ISO 8601 Retrieve only templates updated at or before the given time.
limit No Positive Number Maximum number of templates to retrieve, default to 100 if not provided, maximum acceptable value is 1000.
offset No Positive Number Number of templates to skip before returning rest of the templates that fit the search criteria.

Example Request

1
https://rest.iad-01.braze.com/templates/email/list?api_key=123abc-def5-3729-owod-23f9f3j30

Successful Response Properties

1
2
3
4
5
6
7
8
9
10
GET https://YOUR_REST_API_URL/templates/email/list

{
  “count”: number of templates returned
  “templates”: [template with the following properties]:
    “email_template_id”: (string) your email template's API Identifier,
    “template_name”: (string) the name of your email template,
    “created_at”: (string, in ISO 8601),
    “updated_at”: (string, in ISO 8601)
}
WAS THIS PAGE HELPFUL?
New Stuff!