Get Field Categories
GET/api/lead-fields/categories
Get field configurations organized by category.
Args: need_group: If True, returns fields grouped by category (sections). If False, returns flat array with category as property.
Returns: Either grouped by category or flat array based on need_group parameter.
Request
Responses
- 200
- 404
- 422
Successful Response
Not found
Validation Error