---
title: "Signatures | Docs | DMS by R&D Copilot"
description: "Send an approved contract or offer for signature and read the state of each recipient."
canonical: "https://documents.rdcopilot.com/docs/api-reference/signatures/"
language: en
updated: 2026-11-23
---

# Signatures

Send an approved contract or offer for signature and read the state of each recipient.

## Send for signature

POST `/documents/v1/documents/{documentId}/signature-requests`

Sends an approved contract or offer to its recipients, who sign in any order. The signatory of your company and the contacts named at the counterparty can be asked. A request that ended with a decline is replaced by a new one.

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `documentId` | path | `string (uuid)` | Yesrequired | The document. |

### Request body

| Field | Type | Required | Meaning |
| --- | --- | --- | --- |
| `operationId` | `string (uuid)` | Yesrequired | A UUID you choose for this change. Send it again to repeat the request. |
| `expectedRevision` | `integer` | Yesrequired | The revision of the document you read. |
| `by` | `string` | Yesrequired | Who sends the request. |
| `recipients` | `string[]` | Yesrequired | The people asked to sign: the signatory of your company and the contacts named at the counterparty. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `202` | The change was accepted. The body is the operation result. | `SignatureOperationResult` |
| `400` | The request cannot be read or breaks the contract: malformed JSON, a missing or unknown field, a wrong type. `fields` names each one. | `Error` |
| `401` | The token is missing, expired or not ours. | `Error` |
| `403` | The token does not give access to this company or operation. | `Error` |
| `404` | The request was refused. The `code` is `document_not_found`, `person_not_found` or `recipient_not_found`. | `Error` |
| `409` | The request was refused. The `code` is `document_archived`, `revision_conflict`, `operation_reused`, `document_not_approved`, `already_signed` or `signature_request_open`. | `Error` |
| `422` | The request was refused. The `code` is `class_not_signed`, `recipients_required` or `recipient_duplicated`. | `Error` |
| `429` | The request was refused and not processed: the `code` is `rate_limited`. Wait the seconds in the header `Retry-After`, then send it again with the same `operationId`. | `Error` |
| `503` | The service cannot answer now: the `code` is `unavailable`. Send the request again with the same `operationId`. | `Error` |

### Request

curl

```bash
curl -X POST "$RDC_BASE_URL/documents/v1/documents/a88f20a7-5780-43ad-83ff-ce70dde35f59/signature-requests" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "fd18085b-442a-421c-85e6-8b076d422360",
  "expectedRevision": 8,
  "by": "andrei-pop",
  "recipients": [
    "ana-rusu",
    "liviu-petcu",
    "simona-vlad"
  ]
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/documents/v1/documents/a88f20a7-5780-43ad-83ff-ce70dde35f59/signature-requests`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "fd18085b-442a-421c-85e6-8b076d422360",
    "expectedRevision": 8,
    "by": "andrei-pop",
    "recipients": [
      "ana-rusu",
      "liviu-petcu",
      "simona-vlad"
    ]
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/documents/v1/documents/a88f20a7-5780-43ad-83ff-ce70dde35f59/signature-requests',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'fd18085b-442a-421c-85e6-8b076d422360',
        'expectedRevision': 8,
        'by': 'andrei-pop',
        'recipients': [
            'ana-rusu',
            'liviu-petcu',
            'simona-vlad',
        ],
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "fd18085b-442a-421c-85e6-8b076d422360",
  "expectedRevision": 8,
  "by": "andrei-pop",
  "recipients": [
    "ana-rusu",
    "liviu-petcu",
    "simona-vlad"
  ]
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/documents/v1/documents/a88f20a7-5780-43ad-83ff-ce70dde35f59/signature-requests');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/documents/v1/documents/a88f20a7-5780-43ad-83ff-ce70dde35f59/signature-requests");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "fd18085b-442a-421c-85e6-8b076d422360",
  "expectedRevision": 8,
  "by": "andrei-pop",
  "recipients": [
    "ana-rusu",
    "liviu-petcu",
    "simona-vlad"
  ]
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `202`

JSON

```json
{
  "operationId": "fd18085b-442a-421c-85e6-8b076d422360",
  "status": "accepted",
  "aggregateRevision": 9,
  "signatureRequestId": "bcecb49b-0690-42b9-9b12-64a8efd0f8cb"
}
```

## Get the signature request

GET `/documents/v1/documents/{documentId}/signature-request`

Returns the current request for signature of a document, with the state of each recipient.

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `documentId` | path | `string (uuid)` | Yesrequired | The document. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `200` | The record at its current revision. | `SignatureRequest` |
| `401` | The token is missing, expired or not ours. | `Error` |
| `403` | The token does not give access to this company or operation. | `Error` |
| `404` | The request was refused. The `code` is `document_not_found` or `signature_request_not_found`. | `Error` |
| `429` | The request was refused and not processed: the `code` is `rate_limited`. Wait the seconds in the header `Retry-After`, then send it again with the same `operationId`. | `Error` |
| `503` | The service cannot answer now: the `code` is `unavailable`. Send the request again with the same `operationId`. | `Error` |

### Request

curl

```bash
curl "$RDC_BASE_URL/documents/v1/documents/472fda2c-c118-43fc-80a9-5a708911c856/signature-request" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/documents/v1/documents/472fda2c-c118-43fc-80a9-5a708911c856/signature-request`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/documents/v1/documents/472fda2c-c118-43fc-80a9-5a708911c856/signature-request',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/documents/v1/documents/472fda2c-c118-43fc-80a9-5a708911c856/signature-request');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/documents/v1/documents/472fda2c-c118-43fc-80a9-5a708911c856/signature-request");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `200`

JSON

```json
{
  "documentId": "472fda2c-c118-43fc-80a9-5a708911c856",
  "id": "e4dd8cf2-2e3f-4179-a4fc-2eac1f3ae3bc",
  "state": "open",
  "sentAt": "2026-11-20T10:00:00Z",
  "sentBy": "andrei-pop",
  "recipients": [
    {
      "id": "ana-rusu",
      "state": "signed",
      "time": "2026-11-20T10:05:00Z"
    },
    {
      "id": "mircea-balan",
      "state": "delivered",
      "time": "2026-11-20T10:02:00Z"
    },
    {
      "id": "carmen-diaconu",
      "state": "sent",
      "time": "2026-11-20T10:00:00Z"
    }
  ]
}
```

## List signature requests

GET `/documents/v1/signature-requests`

Returns the current request for signature of each document that has one, the newest first.

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `state` | query | `string` | Nooptional | Only requests in this state. One of `open`, `signed`, `declined` |
| `recipient` | query | `string` | Nooptional | Only requests that name this person. |
| `limit` | query | `integer` | Nooptional | Records per page. Default `100` Range `1` – `500` |
| `cursor` | query | `string` | Nooptional | The `nextCursor` of the previous page. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `200` | A page of records. | `SignatureRequestPage` |
| `400` | The request cannot be read or breaks the contract: malformed JSON, a missing or unknown field, a wrong type. `fields` names each one. | `Error` |
| `401` | The token is missing, expired or not ours. | `Error` |
| `403` | The token does not give access to this company or operation. | `Error` |
| `429` | The request was refused and not processed: the `code` is `rate_limited`. Wait the seconds in the header `Retry-After`, then send it again with the same `operationId`. | `Error` |
| `503` | The service cannot answer now: the `code` is `unavailable`. Send the request again with the same `operationId`. | `Error` |

### Request

curl

```bash
curl "$RDC_BASE_URL/documents/v1/signature-requests?limit=20" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/documents/v1/signature-requests?limit=20`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/documents/v1/signature-requests?limit=20',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/documents/v1/signature-requests?limit=20');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/documents/v1/signature-requests?limit=20");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `200`

JSON

```json
{
  "items": [
    {
      "documentId": "472fda2c-c118-43fc-80a9-5a708911c856",
      "id": "e4dd8cf2-2e3f-4179-a4fc-2eac1f3ae3bc",
      "state": "open",
      "sentAt": "2026-11-20T10:00:00Z",
      "sentBy": "andrei-pop",
      "recipients": [
        {
          "id": "ana-rusu",
          "state": "signed",
          "time": "2026-11-20T10:05:00Z"
        },
        {
          "id": "mircea-balan",
          "state": "delivered",
          "time": "2026-11-20T10:02:00Z"
        },
        {
          "id": "carmen-diaconu",
          "state": "sent",
          "time": "2026-11-20T10:00:00Z"
        }
      ]
    },
    {
      "documentId": "a88f20a7-5780-43ad-83ff-ce70dde35f59",
      "id": "5fecfc4e-a69d-4b8c-bfb4-4047e51257dd",
      "state": "declined",
      "sentAt": "2026-11-11T09:00:00Z",
      "sentBy": "andrei-pop",
      "recipients": [
        {
          "id": "ana-rusu",
          "state": "signed",
          "time": "2026-11-11T10:30:00Z"
        },
        {
          "id": "liviu-petcu",
          "state": "declined",
          "time": "2026-11-16T15:40:00Z",
          "reason": "Asks for a lower delivery fee before signing."
        }
      ]
    }
  ],
  "nextCursor": null
}
```
