Outbounded messages for Whatsapp are ACCEPTED but not SENT

I have been trying to send a proactive(first time message using a template) to whatsapp number. the post request[1] is being made but request status[2] is shown as ACCEPTED not as SENT and because of that only msg are not being sent.

my body for sending msg looks like following.

    {
    "from": {
        "phone_number": "+9199999999999"
    },
    "provider": "whatsapp",
    "to": [
        {
            "phone_number": "+919999999999"
        }
    ],
    "data": {
        "message_template": {
            "storage":"conversation",
            "template_name": "template_name",
            "namespace": "xxxxxx-xxxxx-xxxxxx-xxxxxxxxx-xxxxxx",
            "language": {
                "policy": "deterministic",
                "code": ""
            },
                "body": {
                    "params": [
                        {
                            "data": "XYZ"
                        },
                        {
                            "data": "122"
                        },
                        {
                            "data": "123"
                        }
                        

                    ]
                }
            }
        }
    }

[1] - https://api.freshchat.com/v2/outbound-messages/whatsapp
[2] - http://api.freshchat.com/v2/outbound-messages?request_id=xxxxxx-xxxxxx

1 Like

Hi @Shivank_Gautam,

The body structure looks accurate as described in the :freshchat: documentation. Unfortunately, on this forum, we are short of help from the Freshchat team. I request you to raise a ticket with support@freshchat.com for accurate updates if the API doesn’t work as expected.

Meanwhile, I will leave this topic open for any freshchat developers to chime in if they can.

We encourage you to create topics in the future, as we look forward to teaming up with the Freshchat team to help developers here on forum.

1 Like