RNDCAPI documentation Request access

Getting started

Quickstart

Four steps, from requesting access to your first successful call.

  1. Request an integration account

    Sign in to RNDC and open Profile → Integrations → New request. Fill in the institution, the IT system, the purpose of the integration and the technical contact.

  2. The request is reviewed

    The RNDC administrator approves or rejects the request. You are notified either way; you can always see the status in your list of requests.

  3. Collect the credentials

    The integration username and password are shown on the request page. The password stays visible until you confirm you have saved it (the “Am salvat parola” button); put it straight into a secrets vault. If you lose them, generate new ones; the old ones stop working.

    On the same page you generate the API key (X-Api-Key), also shown only once, and find the authentication instructions for your technical team. The API key goes with every request.

  4. Make your first call

    Request a token and read a simple list, to check that everything works.

    bash
    BASE=http://registrulcladirilor.gov.ro/rndc/api/v1
    API_KEY=rndc_…   # from the integration page, like the username and password
    TOKEN=$(curl -s -X POST "$BASE/auth/accessToken" -H "X-Api-Key: $API_KEY" \
      -H "Content-Type: application/json" \
      -d "{\"username\": \"$RNDC_USER\", \"password\": \"$RNDC_PASS\"}" | jq -r .accessToken)
    
    curl -s "$BASE/nomenclator/tip_document/" -H "X-Api-Key: $API_KEY" -H "Authorization: Bearer $TOKEN"

    A 200 response with the list of document types means you are connected. Continue with uploading files (API).