api candidate