Skip to main content
POST
Assign Free Days to Employees in Planner

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

plannerId
string<uuid>
required

The planner ID

Body

application/json
from
string<date>
required

Start of the range (Y-m-d). Inclusive.

Example:

"2026-02-10"

to
string<date>
required

End of the range (Y-m-d). Inclusive. Max range: 3 years.

Example:

"2026-02-12"

employeeIds
string<uuid>[]
required

Employees to assign the free days to.

comments
string | null

Optional comments attached to each free day.

Maximum string length: 255
Example:

"Personal day"

ranges
object[] | null

Optional time ranges that define partial free days. Must not overlap and must total less than 24 hours.

Response

Object

data
string
Example:

""

meta
object