---
title: "Get signed documents"
url: "https://developer.incode.com/api-reference/es-documents-signed-v2/"
section: "api-reference"
group: "Electronic signature (advanced)"
version: "v1.1"
status: "live"
endpoint: "GET /omni/es/documents/signed/v2"
---
# Get signed documents

`GET /omni/es/documents/signed/v2`

Base URL: `https://demo-api.incodesmile.com` — Incode demo environment

This endpoint is used to get signed documents for a session

## Path & query parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `interviewId` | query | string |  |  |
| `pageNo` | query | integer (int32) |  |  |
| `pageSize` | query | integer (int32) |  |  |
| `api-version` | header | string | yes |  |

## Responses

### 200

OK

Response body (`application/json`):

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `documents` | array[ESignedDocumentDto] |  |  |
| `documents.documentRef` | string |  |  |
| `documents.documentUrl` | string |  |  |
| `total` | integer (int32) |  |  |
| `more` | boolean |  |  |

## Code samples

Generated from this endpoint's method, path, and the conventional Incode headers. The base URL is the Incode demo environment; replace `<YOUR_API_KEY>` with a key for your region.

### cURL

```bash
curl -X GET https://demo-api.incodesmile.com/omni/es/documents/signed/v2 \
  -H "x-api-key: <YOUR_API_KEY>" \
  -H "api-version: 1.0"
```

### Node

```js
const res = await fetch("https://demo-api.incodesmile.com/omni/es/documents/signed/v2", {
  method: "GET",
  headers: {
      "x-api-key": "<YOUR_API_KEY>",
      "api-version": "1.0",
  },
});
const data = await res.json();
```

### Python

```python
import requests

headers = {
    "x-api-key": "<YOUR_API_KEY>",
    "api-version": "1.0",
}
res = requests.get("https://demo-api.incodesmile.com/omni/es/documents/signed/v2", headers=headers)
data = res.json()
```

### Java

```java
HttpRequest req = HttpRequest.newBuilder()
    .uri(URI.create("https://demo-api.incodesmile.com/omni/es/documents/signed/v2"))
    .header("x-api-key", "<YOUR_API_KEY>")
    .header("api-version", "1.0")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse<String> res = HttpClient.newHttpClient()
    .send(req, HttpResponse.BodyHandlers.ofString());
```

### Example response

```json
{
  "success": true,
  "status": "OK"
}
```
