# User Identities

## The user\_identity Object

* [Properties](#properties)
* [Errors](#errors)
* [Warnings](#warnings)
* [Endpoints](#endpoints)

Represents a [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account.

{% tabs %}
{% tab title="User Identity" %}
A user identity resource.

```json
{
  "created_at": "2025-06-16T16:54:17.946546Z",
  "display_name": "Jane Doe",
  "email_address": "jane@example.com",
  "errors": [],
  "full_name": "Jane Doe",
  "phone_number": "+1555551002",
  "user_identity_id": "43947360-cdc8-4db6-8b22-e079416d1d8b",
  "user_identity_key": "jane_doe",
  "acs_user_ids": ["0fc82df4-391b-4d00-a234-86378f1c3952"],
  "warnings": [],
  "workspace_id": "b7e0a4e0-1044-4319-9a0b-42b642b68c7f"
}
```

{% endtab %}
{% endtabs %}

***

## Properties

**`acs_user_ids`** *List* *of UUIDs*

Array of access system user IDs associated with the user identity.

***

**`created_at`** *Datetime*

Date and time at which the user identity was created.

***

**`display_name`** *String*

***

**`email_address`** *String*

Unique email address for the user identity.

***

[**`errors`**](#errors) *List* *of Objects*

Array of errors associated with the user identity. Each error object within the array contains fields like "error\_code" and "message." "error\_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.

The specific structure of each object in this list depends on the value of its `error_code` field.

Variants:

<details>

<summary><code>issue_with_acs_user</code></summary>

Indicates that there is an issue with an access system user associated with this user identity.

**`acs_system_id`** *UUID*

ID of the access system that the user identity is associated with.

***

**`acs_user_id`** *UUID*

ID of the access system user that has an issue.

***

**`created_at`** *Datetime*

Date and time at which Seam created the error.

***

**`error_code`** *Enum*

Unique identifier of the type of error. Enables quick recognition and categorization of the issue.

Enum values:

* `issue_with_acs_user`

***

**`message`** *String*

Detailed description of the error. Provides insights into the issue and potentially how to rectify it.

</details>

***

**`full_name`** *String*

***

**`phone_number`** *String*

Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).

***

**`user_identity_id`** *UUID*

ID of the user identity.

***

**`user_identity_key`** *String*

Unique key for the user identity.

***

[**`warnings`**](#warnings) *List* *of Objects*

Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning\_code" and "message." "warning\_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.

The specific structure of each object in this list depends on the value of its `warning_code` field.

Variants:

<details>

<summary><code>being_deleted</code></summary>

Indicates that the user identity is currently being deleted.

**`created_at`** *Datetime*

Date and time at which Seam created the warning.

***

**`message`** *String*

Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.

***

**`warning_code`** *Enum*

Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.

Enum values:

* `being_deleted`

</details>

<details>

<summary><code>acs_user_profile_does_not_match_user_identity</code></summary>

Indicates that the ACS user's profile does not match the user identity's profile

**`created_at`** *Datetime*

Date and time at which Seam created the warning.

***

**`message`** *String*

Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.

***

**`warning_code`** *Enum*

Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.

Enum values:

* `acs_user_profile_does_not_match_user_identity`

</details>

***

**`workspace_id`** *UUID*

ID of the [workspace](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/core-concepts/workspaces) that contains the user identity.

***

## Errors

**`issue_with_acs_user`**

Indicates that there is an issue with an access system user associated with this user identity.

***

## Warnings

**`acs_user_profile_does_not_match_user_identity`**

Indicates that the ACS user's profile does not match the user identity's profile

***

**`being_deleted`**

Indicates that the user identity is currently being deleted.

***

## Endpoints

[**`/user_identities/add_acs_user`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/add_acs_user)

Adds a specified [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).

[**`/user_identities/create`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/create)

Creates a new [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).

[**`/user_identities/delete`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/delete)

Deletes a specified [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This deletes the user identity and all associated resources, including any [credentials](https://docs.seam.co/latest/api/access-control-systems/credentials), [acs users](https://docs.seam.co/latest/api/access-control-systems/users) and [client sessions](https://docs.seam.co/latest/api/client_sessions).

[**`/user_identities/generate_instant_key`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/generate_instant_key)

Generates a new [instant key](https://docs.seam.co/latest/capability-guides/mobile-access/instant-keys) for a specified [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).

[**`/user_identities/get`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/get)

Returns a specified [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).

[**`/user_identities/grant_access_to_device`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/grant_access_to_device)

Grants a specified [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) access to a specified [device](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/core-concepts/devices).

[**`/user_identities/list`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/list)

Returns a list of all [user identities](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).

[**`/user_identities/list_accessible_devices`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/list_accessible_devices)

Returns a list of all [devices](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).

[**`/user_identities/list_acs_systems`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/list_acs_systems)

Returns a list of all [access systems](https://docs.seam.co/latest/capability-guides/access-systems) associated with a specified [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).

[**`/user_identities/list_acs_users`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/list_acs_users)

Returns a list of all [access system users](https://docs.seam.co/latest/capability-guides/access-systems/user-management) assigned to a specified [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).

[**`/user_identities/remove_acs_user`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/remove_acs_user)

Removes a specified [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) from a specified [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).

[**`/user_identities/revoke_access_to_device`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/revoke_access_to_device)

Revokes access to a specified [device](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/core-concepts/devices) from a specified [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).

[**`/user_identities/update`**](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/api/user_identities/update)

Updates a specified [user identity](https://docs.seam.co/latest/~/revisions/WnT0iExlRmVG3JXMNm4C/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
