Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WEBHOOK GLOBAL #1137

Open
1 task done
IAlfarth opened this issue Jan 8, 2025 · 3 comments
Open
1 task done

WEBHOOK GLOBAL #1137

IAlfarth opened this issue Jan 8, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@IAlfarth
Copy link

IAlfarth commented Jan 8, 2025

Welcome!

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

What did you do?

O webhook global ele não funciona caso cada instância não esteja com um webhook setado manualmente.

What did you expect?

Que fosse envio os dados para o webhook global sem precisar setar manualmente o webhook na instância

What did you observe instead of what you expected?

Envio somente quando tem webhook individual setado.

Screenshots/Videos

No response

Which version of the API are you using?

latest

What is your environment?

Linux

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

@IAlfarth IAlfarth added the bug Something isn't working label Jan 8, 2025
@dpaes
Copy link
Collaborator

dpaes commented Jan 9, 2025

poderia mostrar algum print das suas variaveis de ambiente (sem mostrar os dados sensiveis), e passar mais informações pra atestarmos que isso é um bug após testarmos por aqui @IAlfarth

@IAlfarth
Copy link
Author

IAlfarth commented Jan 9, 2025

- WEBHOOK_GLOBAL_ENABLED=true
- WEBHOOK_GLOBAL_URL=https://url.com.br/webhook/whatsapp-crmv2
- WEBHOOK_GLOBAL_WEBHOOK_BY_EVENTS=true
- WEBHOOK_EVENTS_APPLICATION_STARTUP=false
- WEBHOOK_EVENTS_QRCODE_UPDATED=false
- WEBHOOK_EVENTS_MESSAGES_SET=false
- WEBHOOK_EVENTS_MESSAGES_UPSERT=true
- WEBHOOK_EVENTS_MESSAGES_EDITED=false
- WEBHOOK_EVENTS_MESSAGES_UPDATE=false
- WEBHOOK_EVENTS_MESSAGES_DELETE=false
- WEBHOOK_EVENTS_SEND_MESSAGE=false
- WEBHOOK_EVENTS_CONTACTS_SET=false
- WEBHOOK_EVENTS_CONTACTS_UPSERT=false
- WEBHOOK_EVENTS_CONTACTS_UPDATE=false
- WEBHOOK_EVENTS_PRESENCE_UPDATE=false
- WEBHOOK_EVENTS_CHATS_SET=false
- WEBHOOK_EVENTS_CHATS_UPSERT=false
- WEBHOOK_EVENTS_CHATS_UPDATE=false
- WEBHOOK_EVENTS_CHATS_DELETE=false
- WEBHOOK_EVENTS_GROUPS_UPSERT=false
- WEBHOOK_EVENTS_GROUPS_UPDATE=false
- WEBHOOK_EVENTS_GROUP_PARTICIPANTS_UPDATE=false
- WEBHOOK_EVENTS_CONNECTION_UPDATE=false
- WEBHOOK_EVENTS_LABELS_EDIT=false
- WEBHOOK_EVENTS_LABELS_ASSOCIATION=false
- WEBHOOK_EVENTS_CALL=false
- WEBHOOK_EVENTS_TYPEBOT_START=false
- WEBHOOK_EVENTS_TYPEBOT_CHANGE_STATUS=false
- WEBHOOK_EVENTS_ERRORS=false
- WEBHOOK_EVENTS_ERRORS_WEBHOOK=https://url.com.br/webhook/whatsapp-crmv2



Estão setadas assim. Uso somente o messages-upsert no webhook

https://url.com.br/webhook/whatsapp-crmv2/messages-upsert

@IAlfarth
Copy link
Author

@dpaes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants