Skip to content

API – Employee profile

Paths are under https://api.innovanet.com. Header Authorization: Bearer inv_mcp_…. The innovanet() helper is in API.

Your own profile is GET /api/profile. Another person's profile (GET /api/profile/{id}) and approving changes follow the same permission as in the portal.

POST /api/profile/change-requests

A proposal to change your own field. HR approves it in the portal.

Field Type Required Description
field_key string yes field key, at most 100
proposed_value string yes new value
reason string no reason, at most 255

Request

{
  "field_key": "phone",
  "proposed_value": "+421900000000",
  "reason": "new company number"
}

PHP

$res = innovanet('POST', '/api/profile/change-requests', [
    'field_key' => 'phone',
    'proposed_value' => '+421900000000',
    'reason' => 'new company number',
]);

Response 201 – request_id and task_id are at the root, not inside data.

{
  "success": true,
  "request_id": 7,
  "task_id": 44,
  "message": "Change request submitted for approval"
}

A missing field returns 422 and an errors object without success. Your own proposals: GET /api/profile/change-requests.

Other paths

Each path below belongs to this module. Field names are the ones the API reads. A downloaded file is not JSON.

PUT /api/profile/change-requests/{id}/approve

You cannot approve your own change request (403) while another approver with profile level 1 exists.

Body

Field Type Required
comment string no
{
  "comment": "text"
}
$res = innovanet('PUT', '/api/profile/change-requests/1/approve', [
    'comment' => 'text',
]);

The API reads these fields. A field is required when the table says yes.

Response 200 – Envelope { "success": true, "data": ... }.

PUT /api/profile/change-requests/{id}/reject

Body

Field Type Required
comment string yes
{
  "comment": "text"
}
$res = innovanet('PUT', '/api/profile/change-requests/1/reject', [
    'comment' => 'text',
]);

Response 200 – Envelope { "success": true, "data": ... }.

GET /api/profile/audit-export

Parameters

Field Type Required
master_user_id integer yes
from date no
to date no
format string no

Response 200 – Envelope { "success": true, "data": ... }.

GET /api/profile/qualifications/expiring

Parameters

Field Type Required
days string no

The API reads these fields. A field is required when the table says yes.

Response 200 – Envelope { "success": true, "data": ... }.

GET /api/profile/{id}/qualifications

documents lists only documents of categories the viewer may see.

No body.

Response 200 – Envelope { "success": true, "data": ... }.

POST /api/profile/{id}/qualifications

Body

Field Type Required
type file no
name string yes
issuer string no
reference_number string no
level string no
issued_date date no
valid_until date no
document_id integer no
note string no
{
  "name": "text",
  "issuer": "text",
  "reference_number": "text",
  "level": "text",
  "issued_date": "2026-11-05",
  "valid_until": "2026-11-05",
  "document_id": 1,
  "note": "text"
}
$res = innovanet('POST', '/api/profile/1/qualifications', [
    'name' => 'text',
    'issuer' => 'text',
    'reference_number' => 'text',
    'level' => 'text',
    'issued_date' => 'text',
    'valid_until' => 'text',
    'document_id' => 1,
    'note' => 'text',
]);

The file is sent as multipart, not in JSON.

Response 200 – Envelope { "success": true, "data": ... }.

PUT /api/profile/{id}/qualifications/{qid}

Body

Field Type Required
type file no
name string yes
issuer string no
reference_number string no
level string no
issued_date date no
valid_until date no
document_id integer no
note string no
{
  "name": "text",
  "issuer": "text",
  "reference_number": "text",
  "level": "text",
  "issued_date": "2026-11-05",
  "valid_until": "2026-11-05",
  "document_id": 1,
  "note": "text"
}
$res = innovanet('PUT', '/api/profile/1/qualifications/1', [
    'name' => 'text',
    'issuer' => 'text',
    'reference_number' => 'text',
    'level' => 'text',
    'issued_date' => 'text',
    'valid_until' => 'text',
    'document_id' => 1,
    'note' => 'text',
]);

The file is sent as multipart, not in JSON.

Response 200 – Envelope { "success": true, "data": ... }.

DELETE /api/profile/{id}/qualifications/{qid}

No body.

Response 200 – Envelope { "success": true, "data": ... }.

GET /api/profile/{id}/attendance-settings

No body.

Response 200 – Envelope { "success": true, "data": ... }.

PUT /api/profile/{id}/attendance-settings

Body

Field Type Required
enabled boolean yes
employment_type_id integer no
legislation string no
{
  "enabled": true,
  "employment_type_id": 1,
  "legislation": "text"
}
$res = innovanet('PUT', '/api/profile/1/attendance-settings', [
    'enabled' => true,
    'employment_type_id' => 1,
    'legislation' => 'text',
]);

Response 200 – Envelope { "success": true, "data": ... }.

GET /api/profile/{id}/attendance-fonds

Parameters

Field Type Required
year string no

The API reads these fields. A field is required when the table says yes.

Response 200 – Envelope { "success": true, "data": ... }.

POST /api/profile/{id}/attendance-fonds

Body

Field Type Required
reason_id integer yes
days number yes
{
  "reason_id": 1,
  "days": 1
}
$res = innovanet('POST', '/api/profile/1/attendance-fonds', [
    'reason_id' => 1,
    'days' => 1,
]);

Response 201 – Envelope { "success": true, "data": ... }.

PUT /api/profile/{id}/bulk

Body

Field Type Required
fields array yes
reason string no
{
  "fields": [],
  "reason": "text"
}
$res = innovanet('PUT', '/api/profile/1/bulk', [
    'fields' => [],
    'reason' => 'text',
]);

Response 200 – Envelope { "success": true, "data": ... }.

GET /api/profile/{id}/field-history/{fieldKey}

No body.

Response 200 – Envelope { "success": true, "data": ... }.

GET /api/profile/{id}/changelog

Entries are filtered by field (changed_field) like the profile itself: fields the viewer cannot see are not returned.

Parameters

Field Type Required
field string no
from string no
to string no

The API reads these fields. A field is required when the table says yes.

Response 200 – Envelope { "success": true, "data": ... }.

GET /api/profile/{id}/history

For salary_change events details (amounts) are returned only to HR, the employee and the direct boss; otherwise null.

No body.

Response 200 – Envelope { "success": true, "data": ... }.

POST /api/profile/{id}/history

Body

Field Type Required
event_type string yes
event_date date yes
description array yes
description.sk string yes
details array no
{
  "event_type": "text",
  "event_date": "2026-11-05",
  "description": [],
  "description.sk": "text",
  "details": []
}
$res = innovanet('POST', '/api/profile/1/history', [
    'event_type' => 'text',
    'event_date' => 'text',
    'description' => [],
    'description.sk' => 'text',
    'details' => [],
]);

Response 201 – Envelope { "success": true, "data": ... }.

GET /api/profile/{id}/assets

The list of assets held by the person. Only that person, HR and the manager can see it, otherwise 403. No body.

Response 200 – Note, without the success/data envelope:

{
  "assets": [
    {
      "id": 41,
      "name": "Notebook Dell Latitude",
      "inventory_number": "INV-0041",
      "category": "Notebooky",
      "serial_number": "SN123456",
      "status": "active",
      "assigned_date": "2026-03-01",
      "return_date": null
    }
  ]
}

status is active or inactive, return_date is always null.

GET /api/profile/{id}/documents

Parameters

Field Type Required
category_id string no

The API reads these fields. A field is required when the table says yes.

Response 200 – Envelope { "success": true, "data": ... }.

POST /api/profile/{id}/documents

Body

Field Type Required
file file yes
category_id integer yes
name string yes
valid_from date no
valid_to date no
{
  "category_id": 1,
  "name": "text",
  "valid_from": "2026-11-05",
  "valid_to": "2026-11-05"
}
$res = innovanet('POST', '/api/profile/1/documents', [
    'category_id' => 1,
    'name' => 'text',
    'valid_from' => 'text',
    'valid_to' => 'text',
]);

The file is sent as multipart, not in JSON.

Response 201 – Envelope { "success": true, "data": ... }.

GET /api/profile/{id}/documents/{docId}/download

No body.

Response 200 – Envelope { "success": true, "data": ... }.

DELETE /api/profile/{id}/documents/{docId}

No body.

Response 200 – Envelope { "success": true, "data": ... }.

GET /api/profile/consents-summary

No body.

Response 200 – Envelope { "success": true, "data": ... }.

GET /api/profile/{id}/consents

No body.

Response 200 – Envelope { "success": true, "data": ... }.

POST /api/profile/{id}/consents

Body

Field Type Required
consent_type string yes
{
  "consent_type": "text"
}
$res = innovanet('POST', '/api/profile/1/consents', [
    'consent_type' => 'text',
]);

Response 201 – Envelope { "success": true, "data": ... }.

DELETE /api/profile/{id}/consents/{consentType}

No body.

Response 200 – Envelope { "success": true, "data": ... }.

PUT /api/profile/{id}/preferred-name

Body

Field Type Required
preferred_name string no
{
  "preferred_name": "text"
}
$res = innovanet('PUT', '/api/profile/1/preferred-name', [
    'preferred_name' => 'text',
]);

Response 200 – Envelope { "success": true, "data": ... }.

POST /api/profile/{id}/photo

Body

Field Type Required
photo file yes

The file is sent as multipart, not in JSON.

Response 200 – Envelope { "success": true, "data": ... }.

POST /api/profile/{id}/terminate

Body

Field Type Required
termination_date date yes
termination_reason string yes
rehire_eligible boolean yes
{
  "termination_date": "2026-11-05",
  "termination_reason": "text",
  "rehire_eligible": true
}
$res = innovanet('POST', '/api/profile/1/terminate', [
    'termination_date' => 'text',
    'termination_reason' => 'text',
    'rehire_eligible' => true,
]);

Response 200 – Envelope { "success": true, "data": ... }.


Want to try this feature? Start your innovanet trial →