<@U04UQ68083H> Can I check whether a particular em...
# ory-copilot
l
@chilly-king-10285 Can I check whether a particular email address exists in the kratos or not?
c
A message from kapa.ai
Hmm, I don't know enough to give you a confident answer yet. The provided extracts do not contain information on how to check if a particular email address exists in Ory Kratos. However, Ory Kratos does provide various features related to email addresses, such as email verification and account recovery. You may find more information in the [Ory Kratos documentation](https://www.ory.sh/docs/kratos/).
m
You can use the listIdentity API @limited-city-59768 @chilly-king-10285 https://www.ory.sh/docs/reference/api#tag/identity/operation/listIdentities
c
A message from kapa.ai
Yes, you can use the
listIdentities
API to retrieve all identities in the system. This API is part of the "identity" group in the Ory Kratos API. Here is the endpoint for the
listIdentities
API:
Copy code
GET /admin/identities
This API lists all identities in the system. You can then iterate over the returned list to check if a particular email address exists. Please note that to perform this operation, you must be authenticated by means of the
oryAccessToken
method. For more details, you can refer to the [Ory Kratos API documentation](https://www.ory.sh/docs/kratos/reference/api).