Add Break
Adds a new break to your company. Shared rules: see Writing data.
namemust be unique in the company, ignoring upper/lower case and outer spaces. A second break with the same name is refused with400, so repeating is harmless.max_duration_minutesis required whenis_paidistrueand not allowed whenfalse.GET /attendance/breakreturnsmax_durationin seconds; writes use minutes.- Needs the Break Tracking plan feature.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
name
Break name. Unique in the company, ignoring case.
is_paid
Whether the break is paid.
max_duration_minutes
Maximum minutes for the break. Required when is_paid is true; not allowed when false.
Response
The break was created.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
