GET CallFlowTemplates
GET https://{API URL}/api/integrations/templates
* = Required
| Key | Description |
|---|---|
| clientId* | DM ID for the client you wish to get the templates for |
[
{
"id": 1234,
"name": "Example 1",
"previewHtml": "<!DOCTYPE html>\r\n<html>\r\n<head>\r\n <style>\r\n ul.tree, ul.tree ul {\r\n list-style: none;\r\n margin: 0;\r\n padding: 0;\r\n }\r\n\r\n ul.tree ul {\r\n margin-left: 10px;\r\n }\r\n\r\n ul.tree li {\r\n margin: 0;\r\n padding: 0 7px;\r\n line-height: 20px;\r\n color: #369;\r\n font-weight: bold;\r\n border-left:1px solid rgb(100,100,100);\r\n\r\n }\r\n\r\n ul.tree li:last-child {\r\n border-left:none;\r\n }\r\n\r\n ul.tree li:before {\r\n position:relative;\r\n top:-0.3em;\r\n height:1em;\r\n width:12px;\r\n color:white;\r\n border-bottom:1px solid rgb(100,100,100);\r\n content:\"\";\r\n display:inline-block;\r\n left:-7px;\r\n }\r\n\r\n ul.tree li:last-child:before {\r\n border-left:1px solid rgb(100,100,100); \r\n }\r\n\r\n </style>\r\n</head>\r\n<body>\r\n\r\n<ul class=\"tree\"><li>Initial message</li></ul>\r\n\r\n</body>\r\n</html>\r\n"
},
{
"id": 4567,
"name": "Example 2",
"previewHtml": "<!DOCTYPE html>\r\n<html>\r\n<head>\r\n <style>\r\n ul.tree, ul.tree ul {\r\n list-style: none;\r\n margin: 0;\r\n padding: 0;\r\n }\r\n\r\n ul.tree ul {\r\n margin-left: 10px;\r\n }\r\n\r\n ul.tree li {\r\n margin: 0;\r\n padding: 0 7px;\r\n line-height: 20px;\r\n color: #369;\r\n font-weight: bold;\r\n border-left:1px solid rgb(100,100,100);\r\n\r\n }\r\n\r\n ul.tree li:last-child {\r\n border-left:none;\r\n }\r\n\r\n ul.tree li:before {\r\n position:relative;\r\n top:-0.3em;\r\n height:1em;\r\n width:12px;\r\n color:white;\r\n border-bottom:1px solid rgb(100,100,100);\r\n content:\"\";\r\n display:inline-block;\r\n left:-7px;\r\n }\r\n\r\n ul.tree li:last-child:before {\r\n border-left:1px solid rgb(100,100,100); \r\n }\r\n\r\n </style>\r\n</head>\r\n<body>\r\n\r\n<ul class=\"tree\"><li>Initial message</li></ul>\r\n\r\n</body>\r\n</html>\r\n"
}
]