[DRAFT] Enable limits
Enables the limits for a list of employees. If the employees array is omitted or empty, the limits will be enabled for the entire company. Takes an optional payroll parameter to schedule the enablement for a future cycle. Past payroll cycles are not allowed.
Documentation Index
Fetch the complete documentation index at: https://docs.partners.api.cobee.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This endpoint allows you to enable benefit limits for a list of employees.- Current payroll: If no
payrollparameter is provided, the limits are enabled immediately for the current payroll cycle. - Future payroll: If a
payrollparameter is provided (e.g.,payroll=2026-05), the limits will be enabled starting from that payroll cycle. - Past payroll: Querying or sending past payroll cycles is not allowed and will return a
400 Bad Request.
categories to enable in the request body (e.g., ["meal", "transport"]). The categories array is mandatory and must contain at least one item. If categories is omitted or empty, the API will return a 400 Bad Request. There is no default behavior to enable “all” categories.
The employees array is optional. If you omit the employees array or send an empty array, the limits will be enabled globally for all employees in the company. If you do provide a list of IDs, it will only apply to those specific employees.
Synchronous Response
The operation is performed synchronously. The response includes a summary of success and failure counts, and a detailed list of errors for any employees that failed to process.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The company identifier
Query Parameters
The payroll cycle identifier (format YYYY-MM). If not provided, it defaults to the current payroll cycle. Past cycles will return a 400 Bad Request.
^[0-9]{4}-(0[1-9]|1[0-2])$"2026-05"
Body
List of benefit categories to apply the action to. This field is strictly mandatory.
1meal, transport, nursery List of employee IDs to apply the action to. If omitted or empty, the action applies to all employees in the company.