List All Templates
Retrieve all approved templates. You may optionally specify an account ID if multiple channels are connected, filter templates by whether they include a header, or include pending and rejected templates with includeAll.
Required token scopes: View template messages
All status values, type enums and the ID cheat sheet: Enums & Common Fields.
הרשאות
API token generated in Texter: gear icon → Developers → API Tokens. When creating a token, assign it the scopes required by the endpoints you plan to call - each endpoint lists its required scopes.
פרמטרי שאילתה
When true, returns only templates that include a header. When false, excludes all templates that contain a header
true, false Filters results to templates belonging to the specified account
When true, returns all templates including pending and rejected
true, false When true, triggers a real-time synchronization with the WhatsApp API before returning the list. Requires accountId to be set (to prevent performance overhead)
true, false תגובה
An array of the matching template objects. Field-by-field reference: The Template object
Unique identifier of the template in Texter
"6891bb93481ccea320113a91"
Internal template name (also used as the template ID in API calls)
"bulk_marketing_272"
Human-readable title shown in Texter's UI
How this template is intended to be sent: inbox (1-to-1) or bulk (broadcast)
inbox, bulk Status the chat moves to after the recipient replies to this template
0, 1, 2, 3, 4 When the template was created (epoch ms)
Department IDs allowed to use this template. Can be empty
Whether this is the default template for the account. Only one template can be default
Bot node to trigger after reply, if chatStatus routes to bot
Specific bot to run after reply, if chatStatus routes to bot
Text automatically sent when the recipient replies to the template
Agent (email) the chat is assigned to after the recipient replies
Department ID the chat is assigned to after the recipient replies
File automatically sent when the recipient replies, when configured
Channel adapter that owns this template (relevant when multiple WhatsApp account types are connected)
The channel account this template belongs to
The template as registered with WhatsApp
Default send values by language code, prefilled when sending the template if the caller does not provide overrides
Map of language code to draft localization (created but not yet submitted/approved)