integration to new api