Skip to content

Expose label ↔ chat/contact relationship via API #2315

@leongpow-coder

Description

@leongpow-coder

Welcome!

  • Yes, I have searched for similar requests on GitHub and found none.

What type of feature?

Endpoint

What is the motivation for the request?

Hi Evolution API team

In Evolution API v2.3.7, labels can be listed using:
GET /label/findLabels/{instanceId}

However, there is currently no API endpoint to retrieve:
Labels assigned to a chat/contact
Chats/contacts assigned to a label
Chats (/chat/findChats) and contacts (/chat/findContacts) do not include label data, and there is no separate endpoint for the label ↔ chat relationship.

Request
Please expose label mappings via the API, for example:
Get labels by chat/contact (remoteJid)
Get chats/contacts by labelId
(Endpoint names are just suggestions.)

Why
This is required to build CRM features, label-based automation, filtering, and reporting, which rely heavily on WhatsApp Business labels.

Usage Examples

No response

How should the feature be developed?

No response

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions