cURL
curl --request GET \ --url https://api.myalice.ai/stable/open/whatsapp/get-template-detail \ --header 'X-Myalice-Api-Key: <api-key>'
{ "id": 123, "name": "submit_feedback", "body": "Hi {{1}}, please submit your feedback for our service", "header": { "type": "text", "value": "Submit Feedback" }, "footer": "Powered by MyAlice", "buttons": [ { "id": 123, "type": "url", "title": "Submit Feedback", "value": "Submit Feedback" } ], "attributes": [ { "attribute": "1" } ] }
Get the list of whatsapp templates associated with a platform
The Id of the WhatsApp Platform, can be found in MyAlice Dashboard or with API
The Template Id of the Template, can be found in MyAlice Dashboard or with API
Successful operation
"submit_feedback"
"Hi {{1}}, please submit your feedback for our service"
Show child attributes
text
image
video
document
"Submit Feedback"
"Powered by MyAlice"
url
sequence
"1"