APIs have become pervasive and extremely valuable targets for bad actors.