Skip to main content
GET
Get template analytics totals

Authorizations

apiKey
string
header
required

API key from Settings → API keys.

apiSecret
string
header
required

Secret shown once when the API key is created.

Path Parameters

accountId
string
required

Your Gallabox account ID. Must be the API key's own account. A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

Query Parameters

channelId
string
required

The WhatsApp channel to report on. A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

fromDate
string
required

First day of the period, for example 2026-11-01. At most 6 months ago.

Minimum string length: 1
toDate
string
required

Last day of the period, for example 2026-11-30.

Minimum string length: 1
templateIds
string

Only these templates, by ID. Repeat the parameter for more than one.

categories
string

Only templates in these categories: marketing, utility or authentication. Repeat the parameter for more than one.

sources
string

Only messages sent from these places, for example api, broadcast, bot or inbox. Repeat the parameter for more than one.

Response

The summary.

status
enum<string>
required
Available options:
SUCCESS
data
object
required

Totals for template messages in the chosen period.