Create an identity
Request body
The ID of the JSON Schema to validate the identity’s traits.
Identity traits validated against the schema. Typically includes email, name, username, etc.
Import credentials for the identity.
Identity state:
active or inactive.Metadata visible to the identity itself.
Metadata only accessible through admin APIs.
Optional external ID to link the identity to an external system. Must be unique.
Response
The identity’s unique identifier (UUID).
The JSON Schema ID used for this identity.
The identity’s traits.
The identity’s state (active/inactive).
Timestamp when the identity was created.
Error responses
- 400: Invalid request body or schema validation failed
- 409: Identity with duplicate credentials already exists
List identities
Query parameters
Number of items per page (max: 500).
Token for the next page of results.
Read consistency level:
strong or eventual.Retrieve specific identities by their UUIDs.
Filter by exact credential identifier (email, username).
Include credential details in response (e.g.,
password, oidc).Filter identities by organization.
Response
Returns an array of identity objects.Get an identity
Path parameters
The identity’s UUID.
Query parameters
Include credentials in response (e.g.,
oidc, password).Error responses
- 404: Identity not found
Update an identity
Path parameters
The identity’s UUID.
Request body
Same as create identity, but credentials are optional and will be imported if provided.Error responses
- 400: Invalid request body
- 404: Identity not found
- 409: Conflict with existing data
Patch an identity
id, stateChangedAt, and credentials fields cannot be updated.
Request body
Array of JSON Patch operations:Operation:
add, remove, replace, move, copy, or test.JSON Pointer to the field (e.g.,
/traits/email).New value for the field.
Delete an identity
Path parameters
The identity’s UUID.
Response
Returns 204 No Content on success.Error responses
- 404: Identity not found
Delete identity credentials
Path parameters
The identity’s UUID.
Credential type:
password, oidc, totp, lookup_secret, webauthn, saml.Query parameters
For OIDC/SAML credentials, specify which provider connection to delete.
List identity sessions
Path parameters
The identity’s UUID.
Query parameters
Number of items per page.
Token for pagination.
Filter by session state (true for active only).
Response
Returns an array of session objects.Delete identity sessions
Path parameters
The identity’s UUID.
Response
Returns 204 No Content on success.Get identity by external ID
Path parameters
The external ID of the identity.
Query parameters
Include credential details in response.
Error responses
- 404: Identity not found