Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

kingcoen's avatar

How to access the webhook from Typeform?

Hi there,

I try to access the raw body request from the Typeform Webhook. But im stuck. According to the Typeform documentation i have set it to right application URL and route is set to Route::Any.

In my controller i have set : public function webhook(Request $request){ $payload = $request->getContent(); }

But this doesn't work, im not able to catch the JSON body who is send from typeform to my application. Can anyone help me? Thanks!

0 likes
5 replies
aurawindsurfing's avatar

The socond thing would be that you are on the local mahcine and therefore can not receive webhooks until you configure your enviroment properly.

aurawindsurfing's avatar

Heh just realised that if you use valet then you actually have that functionality build in ;-) I'm using docker for my local dev therefore I was looking to solve problem that no one has that uses valet ;-)

Please or to participate in this conversation.