Sanctum's statefulApi() runs same-origin API requests through the web middleware stack, which enforces CSRF. Send X-CSRF-TOKEN from the meta tag and credentials: same-origin so cookies travel with the request. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>