Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Documentation

    Guides, API reference and events for REGES Gateway.

    On this page

    Rules shared by every R&D Copilot API are in the Developer guide.

    Get started

    • Overview: What the REGES Gateway API does, how a call is built and where to go next.
    • Quickstart: Register a first hire in the test environment: prepare it, check it, have it approved by another person, record its transmission and the answer of the register.
    • Authentication: Get client credentials, request a token and call the REGES Gateway API with it.
    • Sandbox and live: Build and test against a test company, then move the same calls to your live company.
    • Go-live checklist: What to confirm before your software handles the first real register operation of an employer.

    Employers and access

    • Add an employer: Add an employer to your account by its CUI, read it and see what it holds.
    • Designated persons and delegations: Give people the right to prepare, approve and transmit for an employer, and keep that right current.
    • Service-provider mode: Let a company act for an employer with an access permission of kind provider, and read the operations of every employer it acts for.
    • API clients: What an API client is, how it relates to your employers and what happens when it is revoked.

    Operations

    • The contract object: The fields of an individual employment contract, its four states, what moves it from one to the next and how it keeps the personal number of the employee.
    • Register a hire: Prepare a hire, type the personal number of the employee, pass the checks and follow the operation until the register has registered it.
    • Change contract terms: Change the occupation, the contract type, the end date, the workplace or the weekly hours of an active contract, and follow the operation to the register.
    • Change the salary: Register a new monthly gross base salary for an active contract, check it against the minimum and submit it with a reason when its deadline has passed.
    • Suspend: Register the suspension of an active contract for one of four reasons, with the deadline that each reason follows.
    • Terminate and reactivate: End a contract with its legal basis, or end a suspension so that the contract is active again, and see why a terminated contract takes no further operation.
    • Transfer and secondment: Move a contract to another employer of your account with a transfer, or send an employee to another employer for a period with a secondment.
    • Cancel or correct an operation: Cancel an operation before anything was transmitted, correct one the register rejected with a new draft, and handle a transmission whose outcome you do not know.

    Deadlines

    • Deadline per operation: The term of each kind of register operation, how the days are counted and how to compute a deadline before you prepare anything.
    • The working-day calendar: Which days count as working days, the legal holidays of 2026 and a worked count that skips 30 November 2026 and 1 December 2026.
    • Late operations: How to list the operations that are past their deadline, what a late transmission needs and how to watch deadlines before they pass.

    Reference data

    • Occupation codes: How to read the list of occupation codes the gateway accepts and what the occupation-code check does with the code of a contract.

    Statuses and errors

    • Lifecycle and statuses: The path of a register operation from draft to registered or rejected, who moves it from one status to the next and which statuses are final.
    • Checks before sending: The checks the gateway runs on a register operation before it can be validated: what each looks at, whether it blocks and which kinds it applies to.
    • Error codes: The codes that REGES Gateway adds to the shared ones, grouped by HTTP status, with what each means and what to do.
    • Extracts and the late list: The submission log of an employer and its late list: what each row means and how to use them as an audit trail of what was transmitted.

    Reference

    • Errors: The error object of the REGES Gateway API and the codes that say what went wrong.
    • Idempotency and concurrency: Repeat a request without applying it twice, and refuse a change made on an out-of-date record.
    • Pagination: Lists come in pages. Follow the cursor until it is empty.
    • Limits: The limits of the REGES Gateway API, with their values and what happens over them.
    • Versioning: The version is in the path. Additions keep it; a change that could break a caller gets a new one.
    • Changelog: Every version of the REGES Gateway contract, with its day and what it contains.

    API reference

    • Employers: The employers of your account: add one and read it.
    • Access permissions: Who may prepare, approve and transmit for an employer: the designated persons and the providers. Add an access permission, revoke it or extend it.
    • Contracts: The individual employment contracts of an employer, with their state.
    • Register operations: Prepare an operation, run its checks, validate, approve and transmit it, record the answer and follow its history.
    • Deadlines: The deadline of an operation and the calendar of legal holidays it counts on.
    • Reference data: The list of occupations the checks accept.
    • Submission log and late list: Every transmission of an employer, and the operations that are past their deadline.
    • Operations: A request that changes data is accepted once and answered with an operation result you can read again.
    • Subscriptions: Register the HTTPS endpoint that receives events, and read, retry and replay the deliveries.

    Events

    • Event envelope: Every REGES Gateway event has the same envelope; only data changes with the type of the event.
    • Event catalogue: The events the gateway sends about a register operation, when each one is sent and what its data holds.
    • Subscriptions: Register an HTTPS endpoint and REGES Gateway sends your events to it, each one signed.
    • Verify signatures: Every delivery is signed. Check the signature on the raw body before you trust the event.
    • Delivery and retries: An event is sent again when your endpoint does not confirm it, and is kept for replay after the last attempt.
    • Replay: Send a parked event again once your endpoint is ready to take it.