All codes are unique across the whole project. Voucherify won't allow to generate the same codes in any of your campaigns.
This is an asynchronous action, you can't read or modify a newly created campaign until the code generation is completed. See
creation_statusfield in the campaign object description.
Returns a campaign object with its settings but without the loyalty card codes.