Integrate API operation with akka actors