sent-templates
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSent Templates
Sent模板
Operate existing template records with , , , and .
templates.listtemplates.gettemplates.get_by_nametemplates.delete通过、、和操作现有的模板记录。
templates.listtemplates.gettemplates.get_by_nametemplates.deleteEstablish connection and scope
建立连接与范围
Use client-managed OAuth 2.1/PKCE and never request or expose credentials. Surface the active organization and Sender Profile before deletion; use if the connection context does not expose both. Reauthorize in the client to change scope.
sent-account-readinessAvoid repeating template body text or sample data unnecessarily. Prefer template identifiers, names, languages, channels, categories, and statuses in summaries.
使用客户端管理的OAuth 2.1/PKCE,切勿请求或暴露凭证。在删除前显示当前组织和发送者配置文件;如果连接上下文未同时暴露两者,请使用。在客户端重新授权以更改范围。
sent-account-readiness避免不必要地重复模板正文文本或示例数据。在摘要中优先使用模板标识符、名称、语言、渠道、类别和状态。
Find and inspect templates
查找与检查模板
- Use for filtered discovery and pagination.
templates.list - Use for an exact template identifier.
templates.get - Use when the user supplies a name. If a name can match more than one language, channel, or scope, present the candidates and resolve one exact record before continuing.
templates.get_by_name
These tools inspect existing records. For authoring or classification, hand off to ; for a tenant-facing creation experience, hand off to .
waba-template-authortemplate-builder-ui- 使用进行筛选发现和分页。
templates.list - 使用获取精确的模板标识符对应的模板。
templates.get - 当用户提供名称时,使用。如果一个名称可能匹配多种语言、渠道或范围,请展示候选模板并先确定一个精确记录后再继续操作。
templates.get_by_name
这些工具用于检查现有记录。如需创作或分类,请移交至;如需面向租户的创建体验,请移交至。
waba-template-authortemplate-builder-uiDelete a template
删除模板
- Resolve the request to one exact template.
- Fetch that target first with or
templates.get. Never delete from a guessed identifier, broad filter, or stale list result.templates.get_by_name - Show a delete preview with the selected organization, Sender Profile, exact template identifier, name, language, channel, category, and status. State that deletion is destructive; do not repeat its body.
- Ask for explicit confirmation to delete this exact target. Earlier or general approval is not sufficient.
- Call immediately after confirmation. A change to target, scope, or record invalidates confirmation.
templates.delete
Never call without fetching the target and obtaining explicit confirmation immediately before the call. Treat every retry as a new mutation: refetch the target, show a fresh preview, and obtain new explicit confirmation.
templates.deleteIf the result is ambiguous, re-read the target when possible. Report uncertainty and do not retry automatically.
- 将请求解析为一个精确的模板。
- 先通过或
templates.get获取目标模板。切勿从猜测的标识符、宽泛的筛选条件或过期的列表结果中执行删除操作。templates.get_by_name - 显示删除预览,包含所选组织、发送者配置文件、精确模板标识符、名称、语言、渠道、类别和状态。说明删除操作具有破坏性;请勿重复其正文内容。
- 请求明确确认以删除此精确目标模板。早期或一般性的批准并不足够。
- 确认后立即调用。目标、范围或记录的任何更改都会使确认失效。
templates.delete
在未获取目标模板并在调用前立即获得明确确认的情况下,切勿调用。将每次重试视为新的变更操作:重新获取目标模板、显示新的预览并获取新的明确确认。
templates.delete如果结果不明确,尽可能重新读取目标模板。报告不确定性,不要自动重试。