Message templates

API Docs by APIMATIC

Message templates
#

  • REST
  • Java

Message templates
#

List WhatsApp templates
#

The List templates API is part of Voiso's WhatsApp Digital Messages APIs. The API description is here.

Purpose
#

To obtain a list of all your contact center WhatsApp message template names and details.

Prerequisites
#

Making requests
#

The Listtemplates API requires the base URL (cluster_id) and the contact center API key (client_api_key). It uses the following parameters to initiate a call:

The key parameter is the API key of the contact center. Voiso responds with the list of WhatsApp message templates and their details.

For example:

GET https://cluster1.voiso.com/api/v3/messages/whatsapp/templates
    ?key=cc7c76b8...b89b00ab6c3

Troubleshooting
#

The following issues are sometimes encountered:

The API key specified is invalid
#

The Listtemplates API requires the contact center API key to validate the request. If you see this error, "error": "The API key specified is invalid", check that you are using the correct contact center API key. For more information about API keys, refer to Authentication.