Get Users
Once you have users connecting to your app through in-app wallets, you can fetch all users through our REST API:
https://in-app-wallet.thirdweb.com/api/v1/users
You need to include the following headers:
Content-Type
: Must be set toapplication/json
x-secret-key
: Your secret key for authenticationx-ecosystem-id
(optional): Your ecosystem IDx-ecosystem-partner-id
(optional): Your ecosystem partner ID
Here's an example curl command to pregenerate a thirdweb wallet for the user user@example.com
:
Limit defaults to 100 users per request.
Getting ecosystem users
For ecosystem wallets, the secret key have to be from the same account as the ecosystem owner.
A successful API call returns an array of user objects in the following format: