List_templates
  • 16 Oct 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

List_templates

  • Dark
    Light
  • PDF

Article summary

Get
Deprecated
/api/v3/messages/whatsapp/templates

Retrieve approved message templates and their UUIDs.

Query parameters
key
stringRequired
Examplecontact_center_api_key
Responses
200

Success

object
uuid
string (uuid)

WhatsApp Template ID. Use this value to populate the template_uuid field when sending messages.

Example3fa85f64-5717-4562-b3fc-2c963f66afa6
name
string

Template name

Examplemy_whatsapp_template
category
string

Template type

ExampleMARKETING
language
string

Language used in the template

Exampleen
number
string

The phone number associated with the template

Example18885658889
body
string

The message text of the template

ExampleHello, this is {{1}} from Voiso! Do you want to enjoy the benefits of sending branded, professional messages directly to your customers through WhatsApp? That helps to grow business and retain customers!
400

Bad Request

object
errors
Array of string (whatsapp_templates_error_messages)
string
Valid values[ "WhatsApp Outbound Messaging is disabled for your contact center", "The API key specified is invalid" ]

Was this article helpful?

What's Next