Olympus Docs
ReferenceAPIsOry Identities APIidentity

Get an Identity by its External ID

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

GET /admin/identities/by/external/{externalID}

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

Operation ID: getIdentityByExternalID    Tag: identity

Path parameters

NameTypeRequiredDescription
externalIDstringyesExternalID 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