Olympus Docs
ReferenceAPIsOry Identities APIidentity

Get an Identity

Return an [identity](https://www.ory.com/docs/kratos/concepts/identity-user-model) by its ID. You can optionally

GET /admin/identities/{id}

Return an identity by its ID. You can optionally include credentials (e.g. social sign in connections) in the response by using the include_credential query parameter.

Operation ID: getIdentity    Tag: identity

Path parameters

NameTypeRequiredDescription
idstringyesID must be set to the ID of identity you want to get

Query parameters

NameTypeRequiredDescription
include_credentialarray of enum: password, oidc, totp, lookup_secret, webauthn, code, passkey, profile, saml, deviceauthn, identifier_first, link_recovery, code_recoverynoInclude Credentials in Response Include any credential, for example password or oidc, in the response. When set to oidc, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token, and the OpenID Connect ID Token if available.

Responses

StatusDescriptionBody
200identityapplication/json, object
404errorGenericapplication/json, object
defaulterrorGenericapplication/json, object

Security

  • oryAccessToken

Generated from /tmp/kratos-api.json at build time.

On this page