RNDCAPI documentation Request access

Documents

Register an upload

POST/api/v1/documente/upload

Bearer token required

Request body

tip_documentstringrequired
Document type code (see the document type nomenclature).
nisstring
NIS of the building or individual unit (e.g. ABCDEF-01, ABCDEF-01-U0012).
schema_versionstring
Version of the metadata schema used (e.g. 1.0).
idempotency_keystring
Key of your choice; a retry with the same key does not create a second transaction.
user_uidstring
RNDC user identifier (UUID). Not sent on system-to-system integrations.
cod_investitiestring
Code of the investment (intervention) the document belongs to.
anstring
Reference year, 4 digits.
cererestring
Identifier of the request the document belongs to.
fisierearray<_FileDescriptor>
Files of the transaction: exactly one .json with the metadata, plus the documents.
fisiere[].numestringrequired
File name, with extension.
fisiere[].marime_bytesinteger
File size, in bytes.
fisiere[].hash_sha256string
SHA-256 of the file, in hex (optional, for integrity checks).

Responses

200
Success.
request · curl
curl -X POST "https://registrulcladirilor.graphit.ro/rndc/api/v1/documente/upload" \
  -H "X-Api-Key: $API_KEY" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
       "tip_document": "certificat_urbanism",
       "nis": "ABCDEF-01",
       "schema_version": "1.0",
       "idempotency_key": "cu-123-2026",
       "user_uid": "",
       "cod_investitie": "INV-2026-0042",
       "an": "2026",
       "cerere": "",
       "fisiere": [
         {
           "nume": "certificat.pdf",
           "marime_bytes": 482113,
           "hash_sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
         }
       ]
     }'