admin
Create an Identity
This endpoint creates an identity. It is NOT possible to set an identity's credentials (password, ...) using this method! A way to achieve that will be introduced in the future.
Learn how identities work in Ory Kratos' User And Identity Model Documentation.
post/identities
Request body
Example request
{
"traits": "{}",
"schema_id": "schema_id"
}Response
A single identity.
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"
}