GET
/
stable
/
open
/
whatsapp
/
get-template-detail
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"
    }
  ]
}

Authorizations

X-Myalice-Api-Key
string
headerrequired

Query Parameters

platform_id
integer
required

The Id of the WhatsApp Platform, can be found in MyAlice Dashboard or with API

template_id
integer
required

The Template Id of the Template, can be found in MyAlice Dashboard or with API

Response

200 - application/json
id
integer
required
name
string
required
body
string
required
header
object
required
footer
string
required
buttons
object[]
required
attributes
object[]
required