> For the complete documentation index, see [llms.txt](https://doc.opentact.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.opentact.org/webhook-event/test-webhook-with-opentact.md).

# Test Webhook with Opentact

Inbound texts are delivered via a webhook to your server. The webhook will be an HTTP `POST` request that includes a payload with information about the inbound SMS or MMS. To receive the message, you’ll need to create a minimal web application that will accept the webhook request.

### Receive an SMS or MMS with Opentact <a href="#receive-an-sms-or-mms-with-telnyx" id="receive-an-sms-or-mms-with-telnyx"></a>

First, you’ll need to setup a Webhook interface.  For testing, you can obtain a test Webhook interface from <https://webhook.site/>

Once you go to this site, you automatically obtain a Unique URL:

![Example of how webhook.site look](https://2121537857-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MKZg_vajESgcKUZrStK%2F-MWudj0NVEXKnXhO4E4t%2F-MWupj-nJrYi8tue4JGk%2Fimage.png?alt=media\&token=d1acf70e-669f-4537-8a23-dfb4efb7a4bd)

In your Messaging Profile, you can enter your Webhook URL as shown belows:

![Setup Webhook URL to Messaging Profile](https://2121537857-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MKZg_vajESgcKUZrStK%2F-MWudj0NVEXKnXhO4E4t%2F-MWuq7glcrvi4fKlolz_%2Fimage.png?alt=media\&token=6178ae9f-87a5-4d14-9584-843dc49e74cf)

Now that your Messaging Profile is configured, you're ready to receive an SMS or MMS.

Once you receive SMS or MMS, you can click on the green box in the left side to open it and check out the content.&#x20;

![](https://2121537857-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MKZg_vajESgcKUZrStK%2F-MWudj0NVEXKnXhO4E4t%2F-MWuqZCpOcGTofzpKyvK%2Fimage.png?alt=media\&token=67154253-caff-499f-9a32-80af59bf2f02)

>
