# How to Call HTTP endpoint with SMS

Using [Flow Builder](https://dashboard.messagebird.com/en/flow-builder), you can easily trigger a GET or POST request for your own server when your flow receives an incoming SMS. Go to Flow Builder in the Dashboard, and create a new flow or use the template ‘Call HTTP endpoint with SMS’.

1. Select the phone number you’d like to attach flow to.
2. Click on the ‘Forward to URL’ Step, and set up the attributes. In ‘Method’ choose between GET or POST request; you also need to type down the URL of your webhook. Click on save when ready.
3. When you are done building your flow, click on either ‘Save draft’ or ‘Publish’ on the right top of the screen.&#x20;

**What’s next?**

Congrats! Now you know how to build an IVR menu with Flow Builder. You may want to learn more about how to use other templates:

* [How to build an IVR menu.](/connectivity-platform/how-to-guides/how-to-build-an-ivr-menu.md)
* [How to forward incoming SMS to an email.](/connectivity-platform/how-to-guides/how-to-forward-incoming-sms-to-an-email.md)
* [How to set up opt in/opt out automatic SMS subscriptions.](https://support.messagebird.com/hc/en-us/articles/360000358457-How-to-set-up-opt-in-opt-out-automatic-SMS-subscriptions)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bird.com/connectivity-platform/how-to-guides/how-to-call-http-endpoint-with-sms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
