Use this file to discover all available pages before exploring further.
The login endpoint verifies the credentials of an existing user account and returns a fresh Sanctum plain-text bearer token that can be used to authenticate requests to all protected endpoints.
422 Unprocessable Content — Returned when the email does not match any registered account or the password is incorrect.
{ "message": "The provided credentials are incorrect.", "errors": { "email": ["The provided credentials are incorrect."] }}
Each call to this endpoint issues a new token without invalidating any previously issued tokens. A logout() method exists in the controller (currentAccessToken()->delete()) but is not yet exposed via a route — there is currently no registered logout endpoint in the API.