evolution-api icon indicating copy to clipboard operation
evolution-api copied to clipboard

User Phone Numbers in participant Field Are Now Encrypted/Hashed

Open vinicius-acruz opened this issue 1 year ago • 5 comments

Welcome!

  • [x] Yes, I have searched for similar issues on GitHub and found none.

What did you do?

I was extracting user phone numbers from group messages using the Evolution API webhook messages.upsert, accessing the clear phone number from the key.participant field:

// Previous working code const userNumber = webhook.data.key.participant.split('@')[0]; // Expected result: "5511987654321" (clear phone number)

This pattern worked correctly for identifying users in group conversations and storing user data by phone number.

What did you expect?

The user's actual phone number should be available in the key.participant field in a readable format (e.g., "[email protected]"), allowing proper user identification and database operations.

What did you observe instead of what you expected?

The key.participant field now contains what appears to be encrypted or hashed values instead of actual phone numbers:

{ "data": { "key": { "participant": "86797614883006@lid" // ← Encrypted/hashed user phone number } } }

Screenshots/Videos

No response

Which version of the API are you using?

v2.2.3 build 171

What is your environment?

Windows

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

vinicius-acruz avatar Oct 01 '25 19:10 vinicius-acruz

happenning here too

MattCarneiro avatar Oct 01 '25 22:10 MattCarneiro

The same issue is happening to me. Does this happen to you with users who come from Facebook campaigns?

darwingtx avatar Oct 02 '25 10:10 darwingtx

@darwingtx In my case this isn't related to Facebook campaigns. I'm experiencing this issue specifically with WhatsApp groups where my bot monitors messages and the phone numbers played a core functionality in my tool. It was working fine until September 30th, then it started receiving the encrypted numbers instead of the real ones.

vinicius-acruz avatar Oct 02 '25 12:10 vinicius-acruz

Same here

diego-develops avatar Nov 09 '25 03:11 diego-develops

Olá! Estamos fazendo uma triagem do backlog para reduzir duplicação.

Esta issue reporta o mesmo problema rastreado em #1872. Vamos consolidar as discussões lá para concentrar atenção da maintainer team e evitar fragmentação.

Por favor:

  • Acompanhe #1872 para updates
  • Adicione lá quaisquer detalhes/logs novos que não estejam no thread original
  • Se você acredita que é um problema diferente, comente em #1872 explicando a diferença e podemos reabrir

Obrigado pelo report!

DavidsonGomes avatar May 19 '26 14:05 DavidsonGomes