One professional
POST /co/copnia/professional/v1 Lookup 10 credits
A professional by identity document. Every registration comes back in one call, each with its own certificate.
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).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:
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.
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.Issuing the certificate takes a few seconds per registration, so this lookup
is an async job. 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
A certificate a professional handed you, by its number.
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).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.
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.Full reference
Schemas, all response fields, and an interactive playground.