Hello Team,
We have WhatsApp WABA account integration and trying to use data action to send whatsApp HSM message via agentless API through script data action but i found that Data Action is not supported the nested Object.However, with agentless API to send whatsapp template message nested object is required.
Below is the sample for working POSTMAN request but unable to replicate in Data action.
https://api.mypurecloud.de/api/v2/conversations/messages/agentless
{
"toAddressMessengerType": "whatsapp",
"fromAddress": "XXXXXXX",
"toAddress": "XXXXXX",
"messagingTemplate": {
"responseId": "XXX"
}
}
Any idea will be appreciated.