Chat icon

Chat

Interact with the Chat API

Actions253

Message Template → Analytics

AI-generated

Summary

Retrieve analytics for a message template

Inputs

  • accountId (required) — Select the account to use.
  • analyticsOptions — Configure analytics options such as the number of days and optional inbox filter.

Output shape

an object containing analytics metrics for the selected message template

may include pagination; some fields optional; errors are returned in the standard error envelope

Examples

Example 1: Get recent analytics for a message template

accountId = 12345; analyticsOptions.days = 30

Example 2: Filter analytics by inbox

accountId = 12345; analyticsOptions.days = 14; analyticsOptions.inboxId = 67890

Links

Discussion