Open
Description
Is your feature or enhancement related to a problem? Please describe.
A problem. While building custom apps to integrate with Chatwoot I faced this problem where I need the contacts' labels but I first have to fetch all contacts (GET /contacts) then iterate through each contact and fetch its labels (GET /contacts/{id}/labels).
Describe the solution you'd like
It would be good to have labels already inside the GET /contacts response json.
Describe alternatives you've considered
The only plausible alternative at the moment is to create a webhook to watch for every contact changes and build a local database with all the contact information stored so when I need the full data I would get from the local database istead of Chatwoot PI.
Additional context
Also, GET /contact/{id}/labels is not documented in docs.
Activity