> ## 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.

# Architects register (CPNAA)

> Colombia's register of architects: whether a person is registered, with status and sanctions.

The Consejo Profesional Nacional de Arquitectura y sus Profesiones
Auxiliares (CPNAA) keeps the register of Colombia's architects and auxiliary
professions (Ley 435 de 1998). Practising requires a matrícula profesional or
a certificado de inscripción profesional, and the council records the
sanctions it imposes.

Read a person by their identity document: whether they are registered, their
name, and each registration with its profession, granting resolution, status
and any sanction. A person who is not registered comes back as
`found: false`, which answers a claimed architecture degree too. Check a
registration number on its own with the lookup by number.

## One person

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

A person by identity document: every registration comes back in one call.

> [!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`, `PA` (passport) or `PPT`. Default `CC`. |
| `document_number` | string | **Required.** The document number, no dots or spaces. Digits only for a `CC`. |

```bash theme={"dark"}
curl https://api.croma.run/co/cpnaa/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` | The matrícula profesional or certificado de inscripción profesional number. |
| `profession` | The profession it was granted for, e.g. `ARQUITECTURA`. |
| `resolution_number`, `resolution_date` | The CPNAA resolution that granted it (`yyyy-mm-dd`). |
| `status` | `VIGENTE` when in force, `CANCELADA POR MUERTE` when the holder is recorded as deceased, otherwise the register's own word (e.g. `SUSPENDIDO`). |
| `sanction` | The sanction or warning the register records against it, verbatim; `null` when there is none. A warning (amonestación) keeps the registration `VIGENTE`. |

> [!NOTE]
>
> `found: false` (HTTP 200) means the register states that the person is not
> registered as an architect or in an auxiliary profession. That answer is
> kept too, so it is a definitive result, not an error. Useful when checking a
> claimed architecture degree.

> [!NOTE]
>
> Each document is kept once asked for: asks within 30 days are served from
> the copy; older ones read the register again. Stored documents are re-read
> within 180 days.

> [!NOTE]
>
> The register takes several seconds to answer each read, 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`.

## A registration number

`POST /co/cpnaa/card/v1` [Live 10 credits](https://docs.usecroma.com/live-lookups.md)

A matrícula or certificate number, as printed on a professional card, a plan or a building permit.

**Request**

| Field | Type | Notes |
| - | - | - |
| `card_number` | string | **Required.** The registration number, 5 to 25 letters, digits or hyphens, e.g. `1234567890`. Dots and spaces are ignored. |

```bash theme={"dark"}
curl https://api.croma.run/co/cpnaa/card/v1 \
  -H "Authorization: Bearer $CROMA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "card_number": "1234567890" }'
```

**Response**

Returns `found`, `card_number`, `checked_at`, `full_name` and `registrations[]`, with the same fields as the lookup by document. `found: false` (HTTP 200) when the register knows no one under the number.

| Field | Notes |
| - | - |
| `found` | true when the register knows the registration number; false when it states no one is registered under it. |
| `card_number` | The number that was looked up, upper case, without dots or spaces. |
| `checked_at` | When the register was read, as an ISO timestamp. |
| `full_name` | The holder's full name, as the register records it. |
| `registrations[]` | The holder's registrations the register lists for the number; empty when `found` is false. |
| `registrations[].registration_number` | The matrícula profesional or certificado de inscripción profesional number. |
| `registrations[].profession` | The profession it was granted for, as the register names it, e.g. `ARQUITECTURA`. |
| `registrations[].resolution_number` | The CPNAA resolution that granted it. |
| `registrations[].resolution_date` | The resolution's date, `yyyy-mm-dd`. |
| `registrations[].status` | The registration's status: `VIGENTE` when in force (a warning on file keeps it in force), `CANCELADA POR MUERTE` when the holder is recorded as deceased, otherwise the register's own word, e.g. `SUSPENDIDO`. |
| `registrations[].sanction` | The sanction or warning the register records against the registration, verbatim; null when it records none. |

> [!NOTE]
>
> The register takes several seconds to answer each read, 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`.

> [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.