string
curl -X GET "https://app.famulor.de/api/user/whatsapp/senders/12/templates" \
-H "Authorization: Bearer YOUR_API_KEY"
curl -X GET "https://app.famulor.de/api/user/whatsapp/senders/12/templates?status=all" \
-H "Authorization: Bearer YOUR_API_KEY"
const senderId = 12;
const response = await fetch(
`https://app.famulor.de/api/user/whatsapp/senders/${senderId}/templates`,
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data.data); // Array of templates
import requests
sender_id = 12
response = requests.get(
f'https://app.famulor.de/api/user/whatsapp/senders/{sender_id}/templates',
headers={'Authorization': 'Bearer YOUR_API_KEY'}
)
templates = response.json()['data']
for template in templates:
print(f"{template['name']} ({template['language']}): {template['body_text']}")
{
"data": [
{
"id": 45,
"name": "appointment_reminder",
"language": "en",
"category": "utility",
"status": "approved",
"body_text": "Hi {{1}}, this is a reminder for your appointment on {{2}} at {{3}}. Reply YES to confirm or NO to reschedule.",
"variables": ["customer_name", "date", "time"],
"has_variables": true
},
{
"id": 46,
"name": "welcome_message",
"language": "en",
"category": "marketing",
"status": "approved",
"body_text": "Welcome to Acme Corp! We're excited to have you. How can we help you today?",
"variables": [],
"has_variables": false
}
]
}
{
"success": false,
"error": "Sender not found",
"error_code": "SENDER_NOT_FOUND"
}
WhatsApp
Get WhatsApp Templates
List WhatsApp message templates for a specific Famulor sender
GET
/
user
/
whatsapp
/
senders
/
{senderId}
/
templates
curl -X GET "https://app.famulor.de/api/user/whatsapp/senders/12/templates" \
-H "Authorization: Bearer YOUR_API_KEY"
curl -X GET "https://app.famulor.de/api/user/whatsapp/senders/12/templates?status=all" \
-H "Authorization: Bearer YOUR_API_KEY"
const senderId = 12;
const response = await fetch(
`https://app.famulor.de/api/user/whatsapp/senders/${senderId}/templates`,
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data.data); // Array of templates
import requests
sender_id = 12
response = requests.get(
f'https://app.famulor.de/api/user/whatsapp/senders/{sender_id}/templates',
headers={'Authorization': 'Bearer YOUR_API_KEY'}
)
templates = response.json()['data']
for template in templates:
print(f"{template['name']} ({template['language']}): {template['body_text']}")
{
"data": [
{
"id": 45,
"name": "appointment_reminder",
"language": "en",
"category": "utility",
"status": "approved",
"body_text": "Hi {{1}}, this is a reminder for your appointment on {{2}} at {{3}}. Reply YES to confirm or NO to reschedule.",
"variables": ["customer_name", "date", "time"],
"has_variables": true
},
{
"id": 46,
"name": "welcome_message",
"language": "en",
"category": "marketing",
"status": "approved",
"body_text": "Welcome to Acme Corp! We're excited to have you. How can we help you today?",
"variables": [],
"has_variables": false
}
]
}
{
"success": false,
"error": "Sender not found",
"error_code": "SENDER_NOT_FOUND"
}
Famulor 1.0 API (legacy). This page applies only to Famulor 1.0 (
app.famulor.de) and is retained for legacy compatibility. For the current platform, use the Famulor 2.0 API reference.Path Parameters
The ID of the WhatsApp sender (obtained from the Get Senders endpoint)
Query Parameters
Filter templates by approval status. Default:
approved. Use all to return all templates regardless of status.Response Fields
Show Template object properties
Show Template object properties
The template body text, with variable placeholders shown as
{{1}}, {{2}}, etc.Error Responses
curl -X GET "https://app.famulor.de/api/user/whatsapp/senders/12/templates" \
-H "Authorization: Bearer YOUR_API_KEY"
curl -X GET "https://app.famulor.de/api/user/whatsapp/senders/12/templates?status=all" \
-H "Authorization: Bearer YOUR_API_KEY"
const senderId = 12;
const response = await fetch(
`https://app.famulor.de/api/user/whatsapp/senders/${senderId}/templates`,
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data.data); // Array of templates
import requests
sender_id = 12
response = requests.get(
f'https://app.famulor.de/api/user/whatsapp/senders/{sender_id}/templates',
headers={'Authorization': 'Bearer YOUR_API_KEY'}
)
templates = response.json()['data']
for template in templates:
print(f"{template['name']} ({template['language']}): {template['body_text']}")
{
"data": [
{
"id": 45,
"name": "appointment_reminder",
"language": "en",
"category": "utility",
"status": "approved",
"body_text": "Hi {{1}}, this is a reminder for your appointment on {{2}} at {{3}}. Reply YES to confirm or NO to reschedule.",
"variables": ["customer_name", "date", "time"],
"has_variables": true
},
{
"id": 46,
"name": "welcome_message",
"language": "en",
"category": "marketing",
"status": "approved",
"body_text": "Welcome to Acme Corp! We're excited to have you. How can we help you today?",
"variables": [],
"has_variables": false
}
]
}
{
"success": false,
"error": "Sender not found",
"error_code": "SENDER_NOT_FOUND"
}
Notes
- Only
approvedtemplates are returned by default. Templates withpendingorrejectedstatus cannot be used to send messages. - Template approval status is synced with Meta every 4 hours automatically.
- Variables in
body_textare shown as{{1}},{{2}}, etc. Thevariablesarray provides human-readable names for each placeholder. - Templates are required when messaging a user for the first time or outside the 24-hour messaging window.