Additional validation while creating MessagingTemplate canned response

Description

Users were able to create a canned response of type MessagingTemplate without specifying a messagingTemplate object in the request. However, messagingTemplate is a required object for the MessagingTemplate canned response. Going forward, any MessagingTemplate canned responses will be validated to ensure that the messagingTemplate object is defined in the user's request.

Change Category

API

Change Context

The new validation prevents the creation of incomplete MessagingTemplate canned responses. Previously, the API allowed responses to be created without the mandatory messagingTemplate object, which could result in invalid configurations and potential message processing failures on whatsApp. This change enforces the required object structure, ensuring that all MessagingTemplate responses contain the necessary information required.

Change Impact

This change will only affect customers when creating MessagingTemplate canned responses. Customers will now receive a validation error if they attempt to create a MessagingTemplate canned response without including the required messagingTemplate object.

Date of Change

Apr 07, 2025

Impacted APIs

POST /api/v2/responsemanagement/responses

References

[RESPONSES-822]

  • How long is this issue present?

  • As per Change management policy this will be breaking change.How is the issue identified through Test suites or customer raising support cases?

  • What about existing messaging templates after this Change was deployed.