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

# Lawyers register (SIRNA)

> Colombia's register of lawyers: whether a person is registered as a lawyer, their professional card and its status, and a signed certificate of good standing.

The Consejo Superior de la Judicatura keeps the Registro Nacional de
Abogados (SIRNA). Practising law in Colombia, and representing anyone in court,
requires a registration and a professional card (tarjeta profesional) in force,
and the register records the sanctions imposed on lawyers.

Read a person by their identity document: whether they are registered as a
lawyer, since when, their card and its status, and the register's
observations, with a certificate of good standing that Croma keeps as the
original signed PDF. It answers a claimed law degree too: a person who is not
registered comes back with a signed certificate saying so. Check a card number
on its own with the card lookup.

## One person

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

A person by identity document: registered as a lawyer or not, with the register's own signed certificate either way.

> [!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` or `PPT`. Defaults to `CC`. Default `CC`. |
| `document_number` | string | **Required.** The document number, digits only, no dots or spaces. |

```bash theme={"dark"}
curl https://api.croma.run/co/sirna/lawyer/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`, `registration`, `cards[]` and `certificate`:

| Field | Notes |
| - | - |
| `registration` | The entry in the Registro Nacional de Abogados: `role` (e.g. `ABOGADO(A) INSCRITO(A)`), `registered_on` (`yyyy-mm-dd`), `status` (e.g. `VIGENTE`) and `observations`. `null` when the person is not registered. |
| `cards[]` | Each professional card (`kind: "TPA"`) or temporary license (`kind: "LT"`): `role`, `card_number`, `issued_on`, `status` and `observations`. |
| `certificate` | The certificate of good standing the register issued at `checked_at`: `number`, `issued_at`, `verification_code`, `document_url` and `source_document_url`. |

`observations` is what the certificate records about the registration or the card, verbatim: sanctions and other notes appear there, and `NO REGISTRA` means there are none.

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

> [!NOTE]
>
> A document the register does not know returns `found: false` with HTTP 200,
> and still comes with the signed certificate stating that the person is not
> registered as a lawyer. Useful as proof when checking a claimed law degree.

> [!NOTE]
>
> Each person is kept once asked for: asks within 30 days are served from the
> copy, with the certificate issued then; older ones read the register again
> and come with a new certificate. Stored people are re-read within 180 days.

> [!NOTE]
>
> Issuing the certificate takes several seconds, 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 professional card

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

A card number, as printed on a filing or a business card.

**Request**

| Field | Type | Notes |
| - | - | - |
| `card_number` | string | **Required.** The tarjeta profesional number, e.g. `123456`. Dots are ignored. |

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

**Response**

Returns `found`, `card_number`, `first_names`, `last_names`, `card_status` (e.g. `Vigente`) and `reported_lost` (the plastic card was reported lost). `found: false` (HTTP 200) when the register knows no card under the number.

| Field | Notes |
| - | - |
| `found` | false when the register knows no card under this number. |
| `card_number` | The number that was looked up, without dots. |
| `first_names` | |
| `last_names` | |
| `card_status` | The card's status as the register words it, e.g. `Vigente`. |
| `reported_lost` | true when the plastic card has been reported lost. |

> [!NOTE]
>
> Use it to check the card number printed on a lawyer's filing or business
> card. For the full record, with observations and a signed certificate, read
> the lawyer by document with `sirna_lawyer`.

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