
How would i get a user by their email?
I am integrating Paddle and their webhooks include a customer id (this is a customer id they created). I take the customer id and do a look up in their system for the user's email. Now that i have the email i dont know how to find the user in appwrite.
TL;DR
To get a user by email in Appwrite, you can use the following code snippet:
```js
users.list([
Query.equal(“email”, USER_EMAIL_ADDRESS)
])
```
This code will allow you to find a user based on their email address.
I haven’t tested it, but this should work
TypeScript
users.list([
Query.equal(“email”, USER_EMAIL_ADDRESS)
])
Recommended threads
- Appwrite Fra Cloud Custom Domains Issue
I’m trying to configure my custom domain appwrite.qnarweb.com (CNAME pointing to fra.cloud.appwrite.io with Cloudflare proxy disabled) but encountering a TLS ce...
- Appwrite service :: getCurrentUser :: Us...
Getting this error while creating a react app can someone please help me solve the error
- Storage & Database is not allowing.
Storage & Database is not allowing to CRUD after i have logged in ? Using web SDK with next.js without any SSR or node-sdk.
