# Make data send to the deploy webhook URL available as deploy script variable

**Project:** Sites | **Board:** Live | **Votes:** 4
**URL:** https://roadmap.ploi.io/projects/2-site-level-requests/items/1009-make-data-send-to-the-deploy-webhook-url-available-as-deploy-script-variable

---

When viewing a site in the Ploi application and opening the "Repository" tab, there is a block with the title "Deploy webhook URL". The description says that the URL can be used to trigger deployments by doing a POST or OPTIONS request to the URL.

As far as I know, the data sent with the request is ignored, but it would be great to make this data available in the deploy script.

For example: When I send { "foo": "bar" } as body of the request, I would expect a variable like {WEBHOOK_VARIABLE_FOO}. Using this in the deploy script will replace the variable with "bar".

---

## Comments

**Dennis** (2024-08-07T06:56:20+00:00):
Now available!

https://ploi.io/documentation/deployment/how-to-use-the-deploy-webhook-url

**SMIT.net** (2024-08-07T08:24:01+00:00):
I love this!

**Anoesj Sadraee** (2024-08-07T12:25:40+00:00):
Amazing, thank you!

