> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usecroma.com/llms.txt
> Use this file to discover all available pages before exploring further.

# COPNIA

> Colombia's register of engineers: each professional's registrations and status, a signed certificate of good standing and disciplinary record, and checks of any COPNIA certificate.

The Consejo Profesional Nacional de Ingeniería (COPNIA) keeps Colombia's
Registro Profesional Nacional of engineers, related professions and
auxiliaries. Practising engineering in Colombia requires a registration
(matrícula profesional, or a certificate of registration for technicians and
technologists), and public tenders and many contracts ask for a recent
certificate of good standing and disciplinary record.

Read a professional by their identity document: every registration they hold,
its status and granting resolution, and a certificate of good standing that
Croma keeps as the original signed PDF. Then verify any certificate a
contractor hands you by its number.

## One professional

`POST /co/copnia/professional/v1` [Lookup 10 credits](https://docs.usecroma.com/datasets.md#lookups)

A professional by identity document. Every registration comes back in one call, each with its own certificate.

> [!NOTE]
>
> Answers from Croma's copy when it holds a recent answer for the key, otherwise reads the source and keeps the answer. Every response says when the source was last asked (`checked_at`) and where the answer came from (`served_from`).

**Request**

| Field | Type | Notes |
| - | - | - |
| `document_type` | enum | `CC`, `CE`, `PEP`, `PA` (passport), `TI`, `NIT` or `PPT`. Defaults to `CC`. Default `CC`. |
| `document_number` | string | **Required.** The document number, no dots or spaces. |

```bash theme={"dark"}
curl https://api.croma.run/co/copnia/professional/v1 \
  -H "Authorization: Bearer $CROMA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "document_type": "CC", "document_number": "1234567890" }'
```

**Response**

Returns `found`, `document_type`, `document_number`, `checked_at` (when the register was last read for this document), `served_from` (`copy`, `upstream` or `stale`), `full_name` and `registrations[]`, one per profession:

| Field | Notes |
| - | - |
| `registration_number`, `registration_type` | The registration and its kind, e.g. `MATRICULA PROFESIONAL` or `CERTIFICADO DE INSCRIPCION PROFESIONAL`. |
| `profession` | The profession it is granted in, e.g. `INGENIERIA CIVIL`. |
| `status` | As COPNIA words it, e.g. `VIGENTE`. |
| `resolution_number`, `resolution_date` | The national resolution that granted it (`yyyy-mm-dd`). |
| `certificate` | The certificate of good standing and disciplinary record COPNIA issued for the registration at `checked_at`: `number` (e.g. `CVAD-2026-1234567`), `issued_on`, `status`, `has_disciplinary_record`, `disciplinary_record` (what the certificate states, verbatim), `document_url` and `source_document_url`. `null` when COPNIA issues none for the registration. |

`document_url` is our copy of the certificate PDF, byte-identical to the one COPNIA issued, digital signature included. `source_document_url` is always `null`: COPNIA issues each certificate on request and publishes no link to it.

> [!NOTE]
>
> Each professional is kept once asked for: asks within 7 days are served from
> the copy, with the certificate issued then; older ones read the register
> again and come with a new certificate. Stored professionals are re-read
> within 90 days. A document the register does not know returns
> `found: false` with HTTP 200.

> [!NOTE]
>
> Issuing the certificate takes a few seconds per registration, so this lookup
> is an [async job](https://docs.usecroma.com/async-jobs.md). By default the request waits inline and
> returns `{ data }`, or you can poll `GET /jobs/{id}` or pass a
> `callback_url`.

## Verify a certificate

`POST /co/copnia/certificate/v1` [Lookup 10 credits](https://docs.usecroma.com/datasets.md#lookups)

A certificate a professional handed you, by its number.

> [!NOTE]
>
> Answers from Croma's copy when it holds a recent answer for the key, otherwise reads the source and keeps the answer. Every response says when the source was last asked (`checked_at`) and where the answer came from (`served_from`).

**Request**

| Field | Type | Notes |
| - | - | - |
| `certificate_number` | string | **Required.** The number in the top right corner of the certificate, e.g. `CVAD-2026-1234567`. Case does not matter. |

```bash theme={"dark"}
curl https://api.croma.run/co/copnia/certificate/v1 \
  -H "Authorization: Bearer $CROMA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "certificate_number": "CVAD-2026-1234567" }'
```

**Response**

Returns `found`, `certificate_number`, `checked_at`, `served_from` and `certificate`: `document_type`, `document_number`, `full_name`, `registration_type`, `registration_number` and `profession` of the professional COPNIA issued it to. `found: false` (HTTP 200) when COPNIA knows no certificate under the number, which is how a forged one answers.

| Field | Notes |
| - | - |
| `found` | true when COPNIA confirms it issued a certificate under this number; false when it knows no such certificate. |
| `certificate_number` | The number that was checked, upper-cased. |
| `checked_at` | When COPNIA was asked about this number, as an ISO timestamp. |
| `served_from` | `copy`: Croma's stored answer; `upstream`: asked just now; `stale`: COPNIA could not be asked, so the last stored answer is served. |
| `certificate` | Whom the certificate was issued to and for which registration, as COPNIA confirms it; null when `found` is false. |
| `certificate.document_type` | |
| `certificate.document_number` | |
| `certificate.full_name` | |
| `certificate.registration_type` | |
| `certificate.registration_number` | |
| `certificate.profession` | |

> [!NOTE]
>
> The check confirms that the number was issued and to whom. It does not say
> whether the registration is still in force today: read the professional with
> `copnia_professional` for that.

> [card] [Full reference](https://docs.usecroma.com/api-reference/overview.md)
>
> Schemas, all response fields, and an interactive playground.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.