Documentation Index
Fetch the complete documentation index at: https://docs.ruach.ng/llms.txt
Use this file to discover all available pages before exploring further.
Update Template
Update the content or name of an existing message template.
curl -X PUT "https://accounts.netvox.ng/api/v2/Template?id=138" \
-H "Content-Type: application/json" \
-d '{
"TemplateName": "Updated Welcome Message",
"MessageTemplate": "Welcome to ##CompanyName##! Your account ID is ##AccountId##. We are excited to have you on board.",
"ApiKey": "YOUR_API_KEY",
"ClientId": "YOUR_CLIENT_ID"
}'
Parameters
ID of the template to update
Request Body
Updated name of the template
Updated template content with placeholders
Your API key for authentication
Your client identifier for authentication
Response
Error code (0 for success)
Description of the result
Success Response
{
"ErrorCode": 0,
"ErrorDescription": "Success",
"Data": "Template updated Successfully."
}
Use Cases
- Content updates: Modify template content for better messaging
- Brand changes: Update templates to reflect new branding
- Compliance: Update templates to meet new regulatory requirements
- A/B testing: Create variations of existing templates