whatsapp
Get template
Retrieve a single message template by name.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
templateNamestring
Template name
Query Parameters
accountIdstring
WhatsApp social account ID
Response Body
application/json
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/whatsapp/templates/string?accountId=string"{
"success": true,
"template": {
"id": "string",
"name": "string",
"status": "string",
"category": "string",
"language": "string",
"components": [
{}
]
}
}Empty
{
"error": "Unauthorized"
}{
"error": "Not found"
}List contact groups GET
List all contact groups for a WhatsApp account with contact counts. Groups are derived from the groups field on contacts, not stored as separate documents.
List templates GET
List all message templates for the WhatsApp Business Account (WABA) associated with the given account. Templates are fetched directly from the WhatsApp Cloud API.