v1
latestOpenAPI 3.0.02026-07-24310185.2 KBAbsences
Create a validated absence ๐
Creates a validated absence for a collaborator in a company and returns the new absence ID.
Required scopes: time:write
post/companies/{companyId}/absences
Path parameters
companyIdstring required
The id of the company
Request body
Example request
{
"contractId": "5b59e7b282ddef55f860d322",
"startDate": {
"date": "2026-07-01"
},
"endDate": {
"date": "2026-07-02"
}
}Response
The absence was created.
Example response
{
"id": "123456789"
}