查询WhatsApp模板统计数据

返回单个WhatsApp模板的每日YCloud消息指标,以及可用时的Meta Template Insights。
使用X-API-Key进行身份验证。
analyticsStatus仅表示Meta Template Insights状态,不表示YCloud指标状态。
日期按WABA时区解释,起止日期均包含在内,查询范围必须为1至90个自然日。

所选模板必须当前存在于请求的WABA下。REST会先解析并校验模板,再查询任何统计数据。
模板不存在返回404,模板属于其他WABA返回403,模板查询技术失败返回500
这些错误都不会返回部分统计数据。

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

必须且只能指定一种模板选择方式:仅提供officialTemplateId,或同时提供templateName和language。
officialTemplateId不能与templateName或language同时使用。

string
required
string | null

现有模板REST API对外提供的WhatsApp/Meta官方模板ID。

string | null

精确模板名称。未提供officialTemplateId时,必须与language一起提供。

string | null

模板语言代码。未提供officialTemplateId时,必须与templateName一起提供。

date
required

按WABA时区解释的起始日期,包含当天。

date
required

按WABA时区解释的结束日期,包含当天。查询范围不得超过90个自然日。

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json