Support departments and operator membership
Support departments and operator membership
POST Add an operator to a department — Adds an operator to the given department within the current organization. Admin access is required, and the departments feature must be enabled.POST Create a department — Creates a department for the current organization. Admin access is required, and the departments feature must be enabled for the organization.DELETE Delete a department — Deletes one department from the current organization. Admin access is required, and the departments feature must be enabled for the organization.GET List departments for the organization — Lists departments for the current organization. The departments feature must be enabled for the organization before this endpoint can be used.GET List operators in a department — Returns every operator currently assigned to the given department within the current organization.DELETE Remove an operator from a department — Removes an operator from the given department within the current organization. Admin access is required, and the departments feature must be enabled.PUT Update a department — Updates one department in the current organization. Admin access is required, and the departments feature must be enabled for the organization.Was this page helpful?
Update CSAT configuration
Updates CSAT survey settings for the organization. Admin access is required. The body is partial, so omitted fields keep their current value or the default values from `GET /api/csat/config`. `ratingScale` is fixed at `5`, `surveyDelay` can be `0` to `60` minutes, and `triggerTiming` can be `after_close`, `after_handoff`, or `manual`. Access requires an active organization administrator session or an organization API key with the `csat:write` scope. API-key calls also require the automation API module. Data is isolated to the authenticated organization; identifiers from another organization or site are not disclosed.
Add an operator to a department
Adds an operator to the given department within the current organization. Admin access is required, and the departments feature must be enabled. Accepts the operator's UUID in the body and returns 201 on success. Responds with 409 Conflict if the operator is already a member of the department, or 404 if either the department or the operator does not exist in the org. Access requires an active organization administrator session or an organization API key with the `departments:write` scope. API-key calls also require the automation API module. Data is isolated to the authenticated organization; identifiers from another organization or site are not disclosed.