API Reference (2.0)Authentication

Get CSRF cookie

GET/sanctum/csrf-cookie

Initializes the Laravel Sanctum CSRF cookie required before browser-session authentication requests.

Response Body

curl -X GET "https://example.com/sanctum/csrf-cookie"
Empty