> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.aventure.vc/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.aventure.vc/_mcp/server.

# List an entity's unique ids

GET https://api.aventure.vc/v1/entities/{entityId}/unique-ids

Returns paginated external identifier mappings for one owner. Sort by id, idType, identifier, createdAt, or updatedAt; default is updatedAt descending.

Reference: https://docs.aventure.vc/api-reference/a-venture-api/unique-i-ds/list-entity-unique-ids

## Authentication

- `Authorization` header (bearer token, required) — User bearer token: Supabase or Clerk session JWT, Clerk OAuth access token, or Clerk personal API key
- `X-API-Key` header (required) — Admin API key for system-to-system write operations
- `X-Client-Secret` header (required) — Client secret for read-only service-to-service access (no writes)

## Request

### Path parameters

- `entityId` (string, required) — Canonical entity UUID.

### Query parameters

- `page` (integer, optional, default: 0) — Zero-based page index (0..N)
- `size` (integer, optional, default: 50) — The size of the page to be returned
- `sort` (list of string, optional) — Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

## Response

### 200

OK

- `content` (list of object, optional)
  - `createdAt` (datetime, required) — Row creation timestamp.
  - `id` (integer, required) — Unique-id row id.
  - `idType` (enum, required) — Identifier type.
    - Allowed values: `ein`, `secCik`, `ticker`, `lei`, `duns`, `isin`, `cusip`, `crd`, `orcid`
  - `identifier` (string, required) — Identifier value as issued by the registry (normalized per type).
  - `owner` (object, required) — Owning entity or person id; exactly one nested id is present.
    - `entityId` (string, optional, nullable) — Canonical entity UUID
    - `personId` (string, optional, nullable) — Canonical person UUID
  - `updatedAt` (datetime, required) — Row update timestamp.
  - `source` (string, optional, nullable) — Attribution source label for the mapping, when recorded.
- `empty` (boolean, optional)
- `first` (boolean, optional)
- `last` (boolean, optional)
- `number` (integer, optional)
- `numberOfElements` (integer, optional)
- `pageable` (object, optional)
  - `offset` (long, optional)
  - `pageNumber` (integer, optional)
  - `pageSize` (integer, optional)
  - `paged` (boolean, optional)
  - `sort` (object, optional)
    - `empty` (boolean, optional)
    - `sorted` (boolean, optional)
    - `unsorted` (boolean, optional)
  - `unpaged` (boolean, optional)
- `size` (integer, optional)
- `sort` (object, optional)
  - `empty` (boolean, optional)
  - `sorted` (boolean, optional)
  - `unsorted` (boolean, optional)
- `totalElements` (long, optional)
- `totalPages` (integer, optional)

## Examples

**Response**

```json
{
  "content": [
    {
      "createdAt": "2024-01-15T09:30:00Z",
      "id": 1,
      "idType": "ein",
      "identifier": "string",
      "owner": {
        "entityId": "string",
        "personId": "string"
      },
      "updatedAt": "2024-01-15T09:30:00Z",
      "source": "string"
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 1,
  "numberOfElements": 1,
  "pageable": {
    "offset": 1,
    "pageNumber": 1,
    "pageSize": 1,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 1,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 1,
  "totalPages": 1
}
```

**SDK Code**

```python
import requests

url = "https://api.aventure.vc/v1/entities/04e2bf9c-a100-72ad-83ff-ba69c647b30b/unique-ids"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.aventure.vc/v1/entities/04e2bf9c-a100-72ad-83ff-ba69c647b30b/unique-ids';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.aventure.vc/v1/entities/04e2bf9c-a100-72ad-83ff-ba69c647b30b/unique-ids"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.aventure.vc/v1/entities/04e2bf9c-a100-72ad-83ff-ba69c647b30b/unique-ids")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.aventure.vc/v1/entities/04e2bf9c-a100-72ad-83ff-ba69c647b30b/unique-ids")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.aventure.vc/v1/entities/04e2bf9c-a100-72ad-83ff-ba69c647b30b/unique-ids', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.aventure.vc/v1/entities/04e2bf9c-a100-72ad-83ff-ba69c647b30b/unique-ids");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.aventure.vc/v1/entities/04e2bf9c-a100-72ad-83ff-ba69c647b30b/unique-ids")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```