# Using the Ory Kratos Public API (:4433) without a session token
# returns an HTTP 403 error.
$ curl -s -X GET \
    -H "Accept: application/json" \
    http://127.0.0.1:4433/self-service/settings/api | jq

{
  "error": {
    "code": 403,
    "status": "Forbidden",
    "reason": "This endpoint can only be accessed with a valid session. Please log in and try again.",
    "message": "The requested action was forbidden"
  }
}
