Skip to main content
GET
Get a WhatsApp template

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"

templateId
string
required

ID of the template.

Query Parameters

populatePaths
string

Comma-separated names of related records to include in the response, for example contactOwner.

Response

The template.

A WhatsApp message template. Main fields only.

id
string

A 24-character hexadecimal ID.

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

"6650a1b2c3d4e5f6a7b8c9d0"

accountId
string

A 24-character hexadecimal ID.

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

"6650a1b2c3d4e5f6a7b8c9d0"

channelId
string

A 24-character hexadecimal ID.

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

"6650a1b2c3d4e5f6a7b8c9d0"

name
string
language
string
category
string
status
enum<string>
Available options:
created,
approved,
rejected,
pending,
submitted,
error,
in_appeal,
pending_deletion,
paused,
disabled,
limit_exceeded
rejected_reason
string
quality_score
object
parameter_format
enum<string>
Available options:
positional,
named
components
object[]
whatsappTemplateId
string

Meta's template ID.

maxPrice
object

Maximum price per message for marketing templates, when set.

createdAt
string<date-time>
updatedAt
string<date-time>