new api security