List email templates
Changed onLists templates sorted newest first by created_at desc, id desc. Optional filters match a case-insensitive literal name/subject query, stored body presence, and the strict_variables and autoescape settings. Filters intersect, remain scoped to the authenticated account, and apply before cursor pagination. Invalid filter names or values return 400.
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/email_templates
- Auth: HTTP bearer
Query parameters
Number of results to return. Defaults to 25; maximum is 100. Invalid values are clamped to the valid range.
Opaque URL-safe Base64 cursor returned by a previous list response.
Case-insensitive literal substring match over the template name or stored subject only; bodies are never searched. %, _, and \ are literal characters with no wildcard meaning. A blank value is treated as omitted.
Matches templates by stored body presence. html_and_text requires both an HTML and text body; html_only requires HTML and no text body; text_only requires text and no HTML body; no_body requires neither. null and exactly "" count as absent; whitespace-only strings count as content. An empty or unsupported value returns a 400 response.
Exact match on the template's strict_variables option. Only the exact query strings true and false are accepted; other values, including blank, return 400.
Exact match on the template's autoescape option. Only the exact query strings true and false are accepted; other values, including blank, return 400.
Response
Paginated list of templates.
Changes
- breaking
the
/response's property type changed fromobjectto no type for status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - info
added the new optional
queryrequest parameterfilter[autoescape] - info
added the new optional
queryrequest parameterfilter[content_type] - info
added the new optional
queryrequest parameterfilter[query] - info
added the new optional
queryrequest parameterfilter[strict_variables] - info
added the non-success response with the status
- info
added
subschema #2to the/response propertyallOflist for the response status
- breaking
- info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- info