Get campaign performance for a template

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.

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

400

Invalid template ID or date bounds.

401

Authentication is required.

403

Check the credential, scope, role and workspace access.

413

The query exceeded 100,000 template candidates. Narrow the window.

504

The query timed out. Narrow the window before retrying.

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