Skip to main content
GET
/
time-off
List time-off periods
curl --request GET \
  --url https://api.zeeg.me/v2/time-off \
  --header 'Authorization: Bearer <token>'
{
  "collection": [
    {
      "uuid": "01907f10-5b00-7b31-9cf0-1234567890ab",
      "uri": "https://api.zeeg.me/v2/time-off/01907f10-5b00-7b31-9cf0-1234567890ab",
      "type": "vacation",
      "title": "Summer break",
      "startDate": "2026-07-01",
      "endDate": "2026-07-14",
      "startHalfDay": true,
      "endHalfDay": false,
      "startHalfDayCutoff": "13:00",
      "endHalfDayCutoff": null,
      "note": "Out at the coast"
    },
    {
      "uuid": "01907f10-6a20-7c41-9cf0-abcdef012345",
      "uri": "https://api.zeeg.me/v2/time-off/01907f10-6a20-7c41-9cf0-abcdef012345",
      "type": "out_of_office",
      "title": "Team offsite",
      "startDate": "2026-09-02",
      "endDate": "2026-09-04",
      "startHalfDay": false,
      "endHalfDay": false,
      "startHalfDayCutoff": null,
      "endHalfDayCutoff": null,
      "note": null
    }
  ],
  "pagination": {
    "total": 2,
    "count": 2,
    "totalPages": 1,
    "previousPage": null,
    "currentPage": 1,
    "nextPage": null
  }
}

Authorizations

Authorization
string
header
required

Query Parameters

email
string<email>
required

Email address of the user whose time-off periods to retrieve.

Example:

"lena.meier@horizondigital.de"

from
string<date>

Only return periods ending on or after this date (YYYY-MM-DD). Defaults to today when omitted.

Example:

"2026-04-01"

to
string<date>

Only return periods starting on or before this date (YYYY-MM-DD). No upper bound when omitted.

Example:

"2026-12-31"

type
enum<string>

Filter to a single type of period.

Available options:
vacation,
out_of_office
Example:

"vacation"

count
integer
default:20

Number of results per page.

Required range: 1 <= x <= 100
Example:

20

page
integer
default:1

Page number for paginated results.

Required range: x >= 1
Example:

1

Response

OK

collection
object[]
required

List of time-off periods.

pagination
object
required
Last modified on April 21, 2026