API server for Segreto clients