whatsapp

Update a WhatsApp template

Changed on

Updates a WhatsApp message template's category and components. The components sent replace the template's existing components.

Permission: Access is managed by the WhatsApp service. No specific API token permission is checked.

Monitoring: No impact.

put/whatsapp/templates/{template_uuid}

Request

  • Base URL
    https://public-api.ringover.com/v2
  • URL
    https://public-api.ringover.com/v2/whatsapp/templates/{template_uuid}
  • Auth
    API key in header Authorization

Path parameters

template_uuidstring uuid required
Example:1eb09f33-348e-42e6-bfb3-361df133c82e

The template UUID

Request body

category'MARKETING' | 'UTILITY' | 'AUTHENTICATION' required

Meta template category. Defaults to MARKETING when omitted on creation.

Example request

{
  "category": "MARKETING",
  "components": [
    {
      "text": "Hello {{firstname_contact}}",
      "buttons": [
        {
          "text": "Visit us",
          "url": "https://ringover.com",
          "phone_number": "33612345678"
        }
      ],
      "variables": [
        {
          "variable_label": "firstname_contact",
          "example_value": "John"
        }
      ]
    }
  ]
}

Response

Successful operation — the template has been updated.

Changes