cURL
curl --request GET \ --url https://chat.zoko.io/v2/account/templates \ --header 'apikey: <api-key>'
[ { "channel": "whatsapp", "isRichTemplate": false, "templateType": "<string>", "templateId": "greeting_01", "templateLanguage": "en", "templateDesc": "Good morning {{1}}. How may I help you today?", "templateVariableCount": 1, "active": true } ]
Retrieve approved templates for the account
Authentication is done via apikey provided for your account
apikey
Include the following in your request header
apikey: "your_apikey_here"
Approved template list
The response is of type object[].
object[]