cURL
curl --request POST \ --url https://api.agentixx.io/api/templates \ --header 'Content-Type: application/json' \ --header 'x-tenant-id: <api-key>' \ --cookie better-auth.session_token= \ --data ' { "name": "order_update", "category": "UTILITY", "language": "en", "components": [ { "type": "BODY", "text": "Your order {{1}} is ready." } ] } '
{}
Create a WhatsApp message template (submits to Meta for approval). Admin only.
Session cookie set by Better Auth on sign-in.
Tenant/workspace UUID. Required on all /api/* endpoints.
Create a WhatsApp message template (submits to Meta for approval)
1
Template created (pending approval)