Skip to main content

ory get identity

ory get identity

Get one or more identities by their ID(s)


This command gets all the details about an identity. To get an identity by some selector, e.g. the recovery email address, use the list command in combination with jq.

We have to admit, this is not easy if you don't speak jq fluently. What about opening an issue and telling us what predefined selectors you want to have?

ory get identity [id-1] [id-2] [id-n] [flags]


To get the identities with the recovery email address at the domain "", run:

ory get identity $(ory ls identities --format json | jq -r 'map(select(.recovery_addresses[].value | endswith(""))) | .[].id')


      --format string                     Set the output format. One of table, json, yaml, and json-pretty. (default "default")
-h, --help help for identity
-i, --include-credentials stringArray Include third party tokens (only "oidc" supported)
--project string The project to use

Options inherited from parent commands

  -c, --config string   Path to the Ory Cloud configuration file.
-q, --quiet Be quiet with output printing.
-y, --yes Confirm all dialogs with yes.