WhatsApp

Get WhatsApp templates

List the WhatsApp message templates associated with a channel.

get/stable/open/whatsapp/get-template-list

Request

  • Base URL: https://api.myalice.ai
  • URL: https://api.myalice.ai/stable/open/whatsapp/get-template-list
  • Auth: API key in header X-Myalice-Api-Key

Query parameters

platform_idinteger required

The ID of the WhatsApp channel (platform).

Response

An array of template objects.

idinteger
namestring
bodystring
footerstring
attributesobject[]

Example response

[
  {
    "name": "submit_feedback",
    "body": "Hi {{1}}, please submit your feedback",
    "buttons": [
      {
        "type": "url"
      }
    ]
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.