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

JeanTinoco's avatar

Laravel 12 - Api route did not work

I have configured my api.php with the webhook route to access Hotmart service, but after the deploying of my website the route has not been created. The only way I found to create the route was adding it into the Web.php routes and configure the VerifyCsrfToken.php. Then route is available, but the token is still required even though the route is excluded in the verifycsrftoken. I tried many things already without success. Perhaps someone can help me! Many thanks in advanced.

0 likes
2 replies

Please or to participate in this conversation.