Availability Schedule
Update Default Availability Schedule
Update the user’s default availability schedule, including weekly working hours, time zone, and date-specific overrides.
PATCH
/
schedules
/
default
curl --request PATCH \
--url https://api.zeeg.me/v2/schedules/default \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "lena.meier@horizondigital.de",
"timezone": "Europe/Berlin",
"weeklyHours": [
{
"day": "Mon",
"timesets": [
[
"09:00",
"12:00"
],
[
"13:00",
"17:00"
]
]
},
{
"day": "Tue",
"timesets": [
[
"09:00",
"17:00"
]
]
},
{
"day": "Wed",
"timesets": [
[
"09:00",
"17:00"
]
]
},
{
"day": "Thu",
"timesets": [
[
"09:00",
"17:00"
]
]
},
{
"day": "Fri",
"timesets": [
[
"09:00",
"15:00"
]
]
},
{
"day": "Sat",
"timesets": []
},
{
"day": "Sun",
"timesets": []
}
],
"specialHours": [
{
"date": "2026-04-21",
"timesets": [
[
"10:00",
"14:00"
]
]
},
{
"date": "2026-04-25",
"timesets": []
}
]
}
'{
"success": true,
"status": 200,
"resource": {
"uri": "https://api.zeeg.me/v2/schedules/Q1ZYo391da",
"uuid": "Q1ZYo391da",
"email": "lena.meier@horizondigital.de",
"title": "Working Hours",
"isDefault": true,
"timezone": "Europe/Berlin",
"weeklyHours": [
{
"day": "Mon",
"timesets": [
[
"09:00",
"12:00"
],
[
"13:00",
"17:00"
]
]
},
{
"day": "Tue",
"timesets": [
[
"09:00",
"17:00"
]
]
},
{
"day": "Wed",
"timesets": [
[
"09:00",
"17:00"
]
]
},
{
"day": "Thu",
"timesets": [
[
"09:00",
"17:00"
]
]
},
{
"day": "Fri",
"timesets": [
[
"09:00",
"15:00"
]
]
},
{
"day": "Sat",
"timesets": []
},
{
"day": "Sun",
"timesets": []
}
],
"specialHours": [
{
"date": "2026-04-21",
"timesets": [
[
"10:00",
"14:00"
]
]
},
{
"date": "2026-04-25",
"timesets": []
}
],
"currentTime": "2026-04-10T08:30:00+02:00",
"createdAt": "2026-04-01T10:00:00.000000Z",
"updatedAt": "2026-04-10T08:30:00.000000Z"
}
}{
"message": "Unauthenticated."
}{
"success": false,
"status": 403,
"message": "Not allowed to see this resource."
}{
"message": "The timezone must be a valid timezone.",
"errors": {
"timezone": [
"The timezone must be a valid timezone."
]
}
}Authorizations
Body
application/json
Email address of the user whose default schedule to update.
IANA timezone identifier. Set to null to keep the current timezone.
Example:
"Europe/Berlin"
Weekly availability hours.
Date-specific availability overrides.
Hide child attributes
Hide child attributes
Response
OK
Hide child attributes
Hide child attributes
API resource URI for this schedule
Email address of the schedule owner
Display name of the schedule
Whether this is the default schedule
IANA timezone identifier
Current server time
Timestamp of creation
Timestamp of last update
Last modified on April 29, 2026
⌘I
curl --request PATCH \
--url https://api.zeeg.me/v2/schedules/default \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "lena.meier@horizondigital.de",
"timezone": "Europe/Berlin",
"weeklyHours": [
{
"day": "Mon",
"timesets": [
[
"09:00",
"12:00"
],
[
"13:00",
"17:00"
]
]
},
{
"day": "Tue",
"timesets": [
[
"09:00",
"17:00"
]
]
},
{
"day": "Wed",
"timesets": [
[
"09:00",
"17:00"
]
]
},
{
"day": "Thu",
"timesets": [
[
"09:00",
"17:00"
]
]
},
{
"day": "Fri",
"timesets": [
[
"09:00",
"15:00"
]
]
},
{
"day": "Sat",
"timesets": []
},
{
"day": "Sun",
"timesets": []
}
],
"specialHours": [
{
"date": "2026-04-21",
"timesets": [
[
"10:00",
"14:00"
]
]
},
{
"date": "2026-04-25",
"timesets": []
}
]
}
'{
"success": true,
"status": 200,
"resource": {
"uri": "https://api.zeeg.me/v2/schedules/Q1ZYo391da",
"uuid": "Q1ZYo391da",
"email": "lena.meier@horizondigital.de",
"title": "Working Hours",
"isDefault": true,
"timezone": "Europe/Berlin",
"weeklyHours": [
{
"day": "Mon",
"timesets": [
[
"09:00",
"12:00"
],
[
"13:00",
"17:00"
]
]
},
{
"day": "Tue",
"timesets": [
[
"09:00",
"17:00"
]
]
},
{
"day": "Wed",
"timesets": [
[
"09:00",
"17:00"
]
]
},
{
"day": "Thu",
"timesets": [
[
"09:00",
"17:00"
]
]
},
{
"day": "Fri",
"timesets": [
[
"09:00",
"15:00"
]
]
},
{
"day": "Sat",
"timesets": []
},
{
"day": "Sun",
"timesets": []
}
],
"specialHours": [
{
"date": "2026-04-21",
"timesets": [
[
"10:00",
"14:00"
]
]
},
{
"date": "2026-04-25",
"timesets": []
}
],
"currentTime": "2026-04-10T08:30:00+02:00",
"createdAt": "2026-04-01T10:00:00.000000Z",
"updatedAt": "2026-04-10T08:30:00.000000Z"
}
}{
"message": "Unauthenticated."
}{
"success": false,
"status": 403,
"message": "Not allowed to see this resource."
}{
"message": "The timezone must be a valid timezone.",
"errors": {
"timezone": [
"The timezone must be a valid timezone."
]
}
}