Read complete per-campaign statistics for an exact template ID in a bounded date window. Omitting dates uses the trailing 90 days ending now, or as_of when supplied and date_to is omitted. Supplied bounds constrain scheduled time. The lower bound is inclusive unless date_from_exclusive is true. The response contains all selected campaigns or an error. A request scans at most 100,000 template candidates. The operation is read-only and can be retried.
Permissions
For API access tokens and OIDC tokens, use api or wati_integration:read or campaignsv3:read. API access tokens can satisfy a listed scope through the configured hierarchy. OIDC tokens are checked against their scope claims. Authentication, the endpoint’s role allowlist and workspace access rules still apply.
Legacy JWTs skip endpoint scope evaluation. Authentication and authorization failures can have an empty response body.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400Invalid template ID or date bounds.
401Authentication is required.
403Check the credential, scope, role and workspace access.
413The query exceeded 100,000 template candidates. Narrow the window.
504The query timed out. Narrow the window before retrying.

