on 2023 Aug 17 10:46 AM
Hi Team,
How can we get Lite User information using UID?
Regards,
Eldhos Kurian
Request clarification before answering.
Hey eldhos,
you should be able to fetch the account info via accounts.search with a query like
SELECT * FROM emailAccounts WHERE UID = "<UID>"
Best,
Sebastian Schuck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi eldhos,
Just let you know that now CDC Supports Custom Identifiers.
Not sure if it works for your case(for lite accounts - please check), but it is a good feature that CDC Released, that gives a capability to call accounts.getAccountInfo not only with UID, but with email, username, etc... and with custom-created identifiers.
You can find it under the new findBy parameter.
You need to look up the email via the findBy parameter (JSON Object), e.g findBy= {"_email": "email@emaple.org"} 😉
Hi eldhos,
If the question is "Get Lite Account Details Using UID", the solution, that Sebastian provided is only the right one.
There is another option to get Lite Account Details, but using an email. You should call 2 subsequent APIs:
- accounts.getLiteToken - This method will return a regToken, that can be used for getAccountInfo for a lite user.
- accounts.getAccountInfo
In the second option API call rates are much higher, but not meet your requirement to Get Lite Account Detauls using UID.
User | Count |
---|---|
9 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.