---
title: "Contracts | Docs | REGES Gateway by R&D Copilot"
description: "The individual employment contracts of an employer, with their state."
canonical: "https://reges.rdcopilot.com/docs/api-reference/contracts/"
language: en
updated: 2026-11-22
---

# Contracts

The individual employment contracts of an employer, with their state.

## List contracts

GET `/reges/v1/contracts`

Returns the individual employment contracts of an employer in pages. `status` keeps only the contracts in one state.

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `employerId` | query | `string (uuid)` | Yesrequired | The employer whose records you want. It is the `id` of an employer of your account. |
| `status` | query | `string` | Nooptional | Only contracts in this state. One of `pending`, `active`, `suspended`, `terminated` |
| `limit` | query | `integer` | Nooptional | Records per page, from 1 to 500. Default `100` Range `1` – `500` |
| `cursor` | query | `string` | Nooptional | The `nextCursor` of the previous page. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `200` | A page of contracts. | `ContractPage` |
| `401` | The token is missing, has expired or is not ours. | `Error` |
| `403` | The token does not give access to this employer or operation. | `Error` |
| `404` | The employer does not exist in your account. | `Error` |
| `429` | There were too many requests. Nothing was processed. The header `Retry-After` gives the seconds to wait. | `Error` |
| `503` | The gateway cannot answer now. | `Error` |

### Request

curl

```bash
curl "$RDC_BASE_URL/reges/v1/contracts?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&limit=20" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/contracts?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&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"]}/reges/v1/contracts?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&limit=20',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/contracts?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&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")}/reges/v1/contracts?employerId=6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0&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": [
    {
      "id": "a2140271-2e7e-4224-b4c9-88a0bb014864",
      "employerId": "6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0",
      "employee": {
        "name": "Vlad Munteanu",
        "personalNumberLast4": "6490",
        "citizenship": "RO"
      },
      "number": "CIM 0361/2026",
      "concludedOn": "2026-08-24",
      "startDate": "2026-09-01",
      "occupation": {
        "code": "251202",
        "name": "Programator"
      },
      "contractType": "indefinite",
      "endDate": null,
      "workplace": {
        "kind": "fixed",
        "place": "Piatra-Neamț"
      },
      "hoursPerWeek": 40,
      "baseSalary": "8200.00",
      "currency": "RON",
      "status": "active"
    },
    {
      "id": "02b6b76c-19a6-4b97-af20-50b265e9d36d",
      "employerId": "6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0",
      "employee": {
        "name": "Radu Ionescu",
        "personalNumberLast4": "8053",
        "citizenship": "RO"
      },
      "number": "CIM 0198/2020",
      "concludedOn": "2020-09-21",
      "startDate": "2020-10-01",
      "occupation": {
        "code": "833201",
        "name": "Șofer autocamion/mașină de mare tonaj"
      },
      "contractType": "indefinite",
      "endDate": null,
      "workplace": {
        "kind": "fixed",
        "place": "Piatra-Neamț"
      },
      "hoursPerWeek": 40,
      "baseSalary": "5600.00",
      "currency": "RON",
      "status": "active"
    },
    {
      "id": "13156f30-1274-45d1-af53-672ccb3c7e04",
      "employerId": "6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0",
      "employee": {
        "name": "Dan Ilie",
        "personalNumberLast4": "5328",
        "citizenship": "RO"
      },
      "number": "CIM 0391/2026",
      "concludedOn": "2026-11-20",
      "startDate": "2026-12-02",
      "occupation": {
        "code": "432102",
        "name": "Magaziner"
      },
      "contractType": "indefinite",
      "endDate": null,
      "workplace": {
        "kind": "fixed",
        "place": "Piatra-Neamț"
      },
      "hoursPerWeek": 40,
      "baseSalary": "4400.00",
      "currency": "RON",
      "status": "pending"
    }
  ],
  "nextCursor": null
}
```

## Get a contract

GET `/reges/v1/contracts/{contractId}`

Returns a contract. The personal number of the employee is never returned: only its last four digits.

### Parameters

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

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `200` | The contract. | `Contract` |
| `401` | The token is missing, has expired or is not ours. | `Error` |
| `403` | The token does not give access to this employer or operation. | `Error` |
| `404` | The contract does not exist in your account. | `Error` |
| `429` | There were too many requests. Nothing was processed. The header `Retry-After` gives the seconds to wait. | `Error` |
| `503` | The gateway cannot answer now. | `Error` |

### Request

curl

```bash
curl "$RDC_BASE_URL/reges/v1/contracts/13156f30-1274-45d1-af53-672ccb3c7e04" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/contracts/13156f30-1274-45d1-af53-672ccb3c7e04`, {
  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"]}/reges/v1/contracts/13156f30-1274-45d1-af53-672ccb3c7e04',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/contracts/13156f30-1274-45d1-af53-672ccb3c7e04');
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")}/reges/v1/contracts/13156f30-1274-45d1-af53-672ccb3c7e04");
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
{
  "id": "13156f30-1274-45d1-af53-672ccb3c7e04",
  "employerId": "6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0",
  "employee": {
    "name": "Dan Ilie",
    "personalNumberLast4": "5328",
    "citizenship": "RO"
  },
  "number": "CIM 0391/2026",
  "concludedOn": "2026-11-20",
  "startDate": "2026-12-02",
  "occupation": {
    "code": "432102",
    "name": "Magaziner"
  },
  "contractType": "indefinite",
  "endDate": null,
  "workplace": {
    "kind": "fixed",
    "place": "Piatra-Neamț"
  },
  "hoursPerWeek": 40,
  "baseSalary": "4400.00",
  "currency": "RON",
  "status": "pending"
}
```
