メインコンテンツまでスキップ

List the email templates.

GET/api/v1/email-templatesemail_templates:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Lists the templates that are not deleted and are not child templates, and the deleted ones too when include_deleted is true (their deleted_at is set; restore_email_template brings one back). body_html is omitted from list items.

スコープemail_templates:read
非同期いいえ
MCP ツールlist_email_templates
Portal の権限view_email_templates
ページングkeyset
既定の並び順email_template_id
並べ替えに使えるフィールドemail_template_id
フィルターinclude_deleted

パラメーター​

名前場所型必須説明
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
include_deletedqueryboolean の配列任意
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsEmailTemplateSummary の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

EmailTemplateSummary​

フィールド型必須説明
default_use_casestring または null必須
deleted_atstring (date-time) または null必須
email_template_group_idstring または null必須
email_template_idstring必須
is_defaultboolean必須Whether the template holds a default use case.
settingsobject または null必須
subjectstring または null必須
template_namestring または null必須