Invoke with API (LWS)