Moshlings are collected by gardening rather than by codes alone. You plant seeds in your Moshling Garden, and the specific combination you use determines which creature appears.
Each species has its own recipe, so experimenting is the intended way to learn them. Members get access to a wider seed range and more garden space, and the rarer Moshlings usually need something extra — a hidden code or a completed mission — on top of the right seeds.