admin

Get an Identity

Learn how identities work in Ory Kratos' User And Identity Model Documentation.

get/identities/{id}

Path parameters

idstring required

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

Response

A single identity.

idstring uuid4 required
schema_idstring required

SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.

schema_urlstring required

SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from.

format: url

traitsobject required

Example response

{
  "recovery_addresses": [
    {
      "id": "id",
      "value": "value",
      "via": "via"
    },
    {
      "id": "id",
      "value": "value",
      "via": "via"
    }
  ],
  "traits": "{}",
  "verifiable_addresses": [
    {
      "verified_at": "2000-01-23T04:56:07.000+00:00",
      "verified": true,
      "id": "id",
      "value": "value",
      "status": "status",
      "via": "via"
    },
    {
      "verified_at": "2000-01-23T04:56:07.000+00:00",
      "verified": true,
      "id": "id",
      "value": "value",
      "status": "status",
      "via": "via"
    }
  ],
  "schema_id": "schema_id",
  "schema_url": "schema_url",
  "id": "id"
}

Changes