{ "ErrorCode": 123, "ErrorDescription": "<string>", "Data": [ {} ], "Data[].TemplateId": 123, "Data[].CompanyId": 123, "Data[].TemplateName": "<string>", "Data[].MessageTemplate": "<string>", "Data[].IsApproved": true, "Data[].IsActive": true, "Data[].CreatededDate": "<string>", "Data[].ApprovedDate": "<string>" }
Retrieve a list of message templates
curl -X GET "https://accounts.netvox.ng/api/v2/Template?ApiKey=YOUR_API_KEY&ClientId=YOUR_CLIENT_ID" \ -H "Content-Type: application/json"
{ "ErrorCode": 0, "ErrorDescription": "Success", "Data": [ { "TemplateId": 138, "CompanyId": 121, "TemplateName": "test", "MessageTemplate": "test ##Field##", "IsApproved": false, "IsActive": true, "CreatededDate": "Mar 19, 2018", "ApprovedDate": "Mar 19, 2018" } ] }
##Field##
Your OTP is ##OTP##. Valid for 5 minutes. Do not share with anyone.
Welcome to ##CompanyName##! Your account has been created successfully. Account ID: ##AccountId##
Reminder: Your appointment with ##DoctorName## is scheduled for ##Date## at ##Time##.