User Leaves
Create Leave
Creates a new leave request in your COR instance with external ID mapping
POST
Creates a new leave request in your COR instance through the integrations service. The user and leave type must have been previously created through the integrations API.
Request Body Requirements
External leave request ID from your source system
External user ID. The user must have been previously created through the integrations API.
External leave type ID. The leave type must have been previously created through the integrations API.
Start date and time in ISO 8601 format (e.g., “2026-05-11T00:00:00-00:00”)
End date and time in ISO 8601 format (e.g., “2026-05-11T23:59:00-00:00”)
Whether the leave is for the entire day. When true, the time portion is typically ignored.
Known Errors
ValidationError— Missing required fieldsUserNotFoundError— The specified user does not exist in the integration mappingsLeaveTypeNotFoundError— The specified leave type does not exist in the integration mappingsInvalidDateRangeError— End date must be after or equal to start dateDuplicateExternalIdError— A leave request with this external ID already exists for this source

