Skip to main content

when i try to send message to WhatsApp even user contacted me a few  minuets ago i got error 

i need best way for subscribed use so i don't have additional charges thanks

what i’m doing wrong here ? 

{

  "subscriber_id": "#####",

  "data": {

    "type": "whatsapp", // "whatsapp" and "telegram" are also supported

    "version": "v2",

    "template_name": "test",



    "content": {

      "messages": [

        {

          "type": "text",

          "text": "مرحبا 👋 هذا اختبار إرسال من Postman عبر ManyChat!"

        }

      ]

    }

  }

}



{

    "status": "error",

    "message": "Content can’t be sent to the subscriber without a message tag. Subscriber’s last interaction was over 0h ago (more than 24 hours ago)",

    "code": 3011

}

 

Hey ​@Kareimovich 

It seems that you’re using the wrong request. (/sendContent)
To send templates using Manychat API, you’ll need to create a flow, add the template you want to send and then use the /sendFlow endpoint.

Or you can create an external request and send it via Meta’s API. → https://developers.facebook.com/docs/whatsapp/message-templates/creation