ListDepartments lists departments for the organization.
GET/api/v1/engagements/contacts/departments
Returns all departments available for contact categorization.
Pagination
- page: Page number (default: 1)
- per_page: Results per page (default: 20, max: 100)
Filtering
- search: Filter by department name (partial match)
Response
Returns paginated list of departments sorted by name.
Errors
- PERMISSION_DENIED: Caller lacks contacts:read permission
Request
Responses
- 200
- default
A successful response.
An unexpected error response.