List Available Email Templates
GET https://{{instance_url}}/templates/email/list?modified_after=2020-01-01T01:01:01.000000&modified_before=2020-02-01T01:01:01.000000&limit=1&offset=0
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.
Successful Response Properties
{
"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),
"tags": (array of strings) tags appended to the template
}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
modified_after | string | (Optional) String in ISO 8601 |
Retrieve only templates updated at or after the given time. |
| modified_before
| string | | (Optional) String in ISO 8601
Retrieve only templates updated at or before the given time |
| limit
| number | | (Optional) Positive Number
Maximum number of templates to retrieve, default to 100 if not provided, maximum acceptable value is 1000. |
| offset
| number | | (Optional) Positive Number
Number of templates to skip before returning rest of the templates that fit the search criteria. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |