Absences
post/absences

Request

  • Base URL
    https://api.craftboxx.de
  • Auth
    HTTP bearer

Request body

typeinteger required

Absence type id (1=holiday, 2=sick + your type from absence/types)

employeesinteger[] required

Employees ids

all_dayboolean

all_day absence?

startstring date-time

The absence start

endstring date-time

The absence end

sourcestring

The absence source

source_external_idstring

The absence source_external_id

Example request

{
  "type": 1,
  "employees": [
    1,
    2,
    3
  ],
  "start": "2026-07-01T08:00:00+02:00",
  "end": "2026-07-05T17:00:00+02:00",
  "source": "api",
  "source_external_id": "ext-12345"
}

Response

The resource was successfully created.

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status