control from api