# Tutorial: send whatsapp template messages using mautic webhook without third party services

**URL:** <https://forum.mautic.org/t/tutorial-send-whatsapp-template-messages-using-mautic-webhook-without-third-party-services/26741>\
**Category:** Product Support\
**Created:** [January 13, 2023, 2:44pm UTC](https://forum.mautic.org/t/tutorial-send-whatsapp-template-messages-using-mautic-webhook-without-third-party-services/26741 "2023-01-13T14:44:06Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![jpgiron](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jpgiron/32/1751_2.png) [@jpgiron](https://forum.mautic.org/u/jpgiron)\
**Post date:** [November 10, 2024, 7:14pm UTC](https://forum.mautic.org/t/tutorial-send-whatsapp-template-messages-using-mautic-webhook-without-third-party-services/26741/8 "2024-11-10T19:14:32Z")

</div>

Hello there

I found the way to make send message template whatsapp directly to meta, without third party services and without any aditional script install.

Create a webhook in the campaing editor, create the webhook like the image, but in the template variable data put this.

> { “name”: “NAMEOFYOURTEMPLATE”, “language”: { “code”: “ES” }, “components”: [{ “type”: “body”, “parameters”: [ { “type”: “text”, “text”: “{contactfield=firstname}” }] } ] }

This work for a template that have one variable {{1}}. Remember change “{contactfield=firstname}” with the mautic variable you want, and remember change the language to your languages: “language”: { “code”: “ES” }.

The problem its that you need to put the token autorization in all webhook inside a campaing, and remember the URL with the phone number. There is an article to create a token that work Permanent and no only for 24 hours: [https://developers.facebook.com/blog/post/2022/12/05/auth-tokens/](https://developers.facebook.com/blog/post/2022/12/05/auth-tokens/)

Also i put the international number for PERU, but if your number is with international format do not need to add the 51 in the variable inside TO: 51{contactfield=mobile}.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/3/3bc72650a83c9d7b879641a79e32735be010c42f.png)

---

_[View the full topic](https://forum.mautic.org/t/tutorial-send-whatsapp-template-messages-using-mautic-webhook-without-third-party-services/26741)._
