To import existing users, Privy allows you to create users with their linked accounts (wallet, email, etc.) in batches via REST API to simplify the migration process. To create users, pass in an array of user objects which each represent a new user. You can also create wallets with wallet pregeneration.
Once a user has been created, all of their accounts (wallet, email, etc.) will be included in their user object when they log in. If the user has an embedded wallet, that wallet will be available to the user upon sign in.
User creation endpoints have a rate limit of 240 users per minute. If you are being rate limited,
responses will have status code 429. We suggest you set up exponential back-offs starting at 1
second to seamlessly recover.