What does you api.php routes look like?
when I do not send the API key
Sounds like they are in the auth:api route group then?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am new to Spark and working to write a few API endpoints.
I am doing some tests with Postman and when I do not send the API key it returns the Login Page and not a 401 Error.
I am trying to locate where to fix this in the app structure.
Please or to participate in this conversation.