> For the complete documentation index, see [llms.txt](https://docs.powens.com/api-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powens.com/api-reference/products/data-aggregation/identities-obsolete.md).

# Identities (obsolete)

{% hint style="warning" %}
This feature is obsolete. Please refere to [Account Ownerships](/api-reference/products/data-aggregation/account-ownerships.md).
{% endhint %}

## API endpoints

{% hint style="success" %}
Authentication: endpoints listed in this page *require* [header authentication](/api-reference/overview/authentication.md) with a *user token*.
{% endhint %}

## List identities

<mark style="color:blue;">`GET`</mark> `https://{domain}.biapi.pro/2.0/users/{userId}/identities`

#### Path Parameters

| Name                                     | Type            | Description             |
| ---------------------------------------- | --------------- | ----------------------- |
| userId<mark style="color:red;">\*</mark> | Integer or "me" | ID of the related user. |

{% tabs %}
{% tab title="200: OK List of identities" %}
Response body: [#identitieslist-object](#identitieslist-object "mention")
{% endtab %}
{% endtabs %}

## Get identity

<mark style="color:blue;">`GET`</mark> `https://{domain}.biapi.pro/2.0/users/{userId}/identities/{identityId}`

Get a single identity by ID.

#### Path Parameters

| Name                                         | Type            | Description             |
| -------------------------------------------- | --------------- | ----------------------- |
| userId<mark style="color:red;">\*</mark>     | Integer or "me" | ID of the related user. |
| identityId<mark style="color:red;">\*</mark> | Integer         | ID of the identity.     |

{% tabs %}
{% tab title="200: OK Identity details" %}
Response body: [#identity-object](#identity-object "mention")
{% endtab %}
{% endtabs %}

## Data model

### *IdentitiesList* object

| Property     | Type                                           | Description         |
| ------------ | ---------------------------------------------- | ------------------- |
| `identities` | Array of [*Identity*](#identity-object) object | List of identities. |

### *Identity* object

<table><thead><tr><th width="183">Property</th><th width="165.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>id</code></td><td>Integer</td><td>ID of the identity.</td></tr><tr><td><code>id_connection</code></td><td>Integer</td><td>ID of the connection the identity was fetched from.</td></tr><tr><td><code>id_user</code></td><td>Integer</td><td>ID of the user.</td></tr><tr><td><code>id_source</code></td><td>Integer</td><td>ID of the source the identity was fetched from.</td></tr><tr><td><code>first_name</code></td><td>String or null</td><td>First name of the user, <code>null</code> if not returned by the institution.</td></tr><tr><td><code>last_name</code></td><td>String or null</td><td>Last name of the user, <code>null</code> if not returned by the institution.</td></tr><tr><td><code>full_name</code></td><td>String or null</td><td>Full name of the user has it is returned by the institution, <code>null</code> if not returned by the institution.</td></tr><tr><td><code>last_update</code></td><td>DateTime</td><td>Date and time when the identity was last updated.</td></tr><tr><td><code>ibans</code></td><td>Array of strings</td><td>List of IBANs returned by the connection.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.powens.com/api-reference/products/data-aggregation/identities-obsolete.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
