Count the template sends of a period
Build a request to copy
This page never sends a request. Fill in the fields, then copy the request and run it from your server.
curl -X GET 'https://api.whatsable.app/v1/analytics/templates?from=string&to=string&time_zone=string'
Counts the messages sent with each template from from to to: sent, delivered, read and failed, with the read rate. The numbers are the ones the Analytics page of the dashboard shows.
A key on every number may leave out number_id and counts the whole organization. A key limited to some numbers must name one of them in number_id, otherwise 403 number_not_allowed_for_key.
bearerAuthAuthorizationBearer <nfy_live_<32 characters>>An API key from Settings > API keys, sent as Authorization: Bearer <key>.
from*stringThe first day, YYYY-MM-DD, in time_zone.
^\d{4}-\d{2}-\d{2}$to*stringThe last day, YYYY-MM-DD, in time_zone. At most 90 days after from, counting both.
^\d{4}-\d{2}-\d{2}$time_zone*stringThe IANA time zone the days are read in, such as America/Argentina/Buenos_Aires.
1 <= length <= 64number_id?stringOnly this number. A key limited to some numbers must name one of them; a key on every number may leave it out for the whole organization.
1 <= length <= 64The templates sent in the period.
application/json- response
Template sends for a period, per template. The same numbers as the Templates section of the dashboard's Analytics page.
object*stringfrom*stringThe first day, as requested.
to*stringThe last day, as requested.
time_zone*stringnumber_id*|The number counted, or null for every number of the organization.
templates*array<>Each template sent in the period, most sent first. A deleted template's messages are not counted.
curl -X GET 'https://api.whatsable.app/v1/analytics/templates?from=string&to=string&time_zone=string'{ "object": "template_analytics", "from": "2026-10-01", "to": "2026-10-02", "time_zone": "America/Argentina/Buenos_Aires", "number_id": null, "templates": [ { "template_id": "cm2v8t1a00001qz8h2b3c4d5e", "name": "order_shipped", "language": "en_US", "total_sent": 40, "sent": 39, "delivered": 38, "read": 30, "failed": 1, "read_rate": 0.7692 } ]}Count the messages of a period GET
Counts the messages sent, delivered, read, failed and received from `from` to `to`, by day or by week. The numbers are the ones the Analytics page of the dashboard shows.
Count the conversations of a period GET
Counts the conversations and contacts that started from `from` to `to`, and how fast the team or the bot answered the customer first. The numbers are the ones the Analytics page of the dashboard shows.