Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Permissions

    Who may do what: the token that opens the API, and the person on whose behalf a change is made.

    On this page

    Two things decide whether a request is accepted. The token says that your system may call the API of your account: scope hr.access, see Authentication. The person named in actorId says on whose behalf a change is made, and the product checks that this person may make it. Your system is responsible for knowing who is signed in on its side and for sending that person.

    Who may do what

    ChangeWho mayNeverRefusal
    approveLeave, rejectLeaveThe approver of the request, or the HR leadThe person who made the requestnot_approver, own_request
    cancelLeaveThe person, the approver or the HR leadAnyone elsenot_allowed
    completeStep, reopenStepThe owner of the step, or the HR leadAnyone elsenot_step_owner
    issueDocumentThe HR leadAnyone elsenot_allowed

    The approver of a request is the manager of the person at the first day of the leave. Someone at the top of the company has no manager, and the HR lead is their approver.

    What the API shows

    • The gross salary is in the employments of a person (grossSalary), not in the person. A client that does not need it does not read that resource.
    • A person is never shown with a personal numeric code. A document carries the name, the job, the department, the first day and the contract, and a salary document also the gross monthly salary.