#3886 - Communication between mailchimp and sugarchimp
Hello guys, We use sugarchimp ultimate version on Sugar 7.9.4.0 version. In order to sync information from MailChimp, we have to expose our production URL as a webhook in Mailchimp publicly which we don't do currently as we use it for internal purposes only. We would like to know the type of request (like POST) made by MailChimp to the URL provided by sugarchimp so that we check the header for API key or something unique and allow the request to be made.
Thanks, Ram
6 years ago
Hello there,
I've created a sample webhook from MailChimp to show you everything I can. The webhook comes as a POST request, with these headers: { "content-length": "1262", "user-agent": "MailChimp.com", "accept": "/", "content-type": "application/x-www-form-urlencoded" }
The request body will include 'type' and 'data' which we validate before running any code on our end.
I hope that gets you going in the right direction. We have many clients that use a proxy as well if you would like to look into that.
Let me know.
Thanks, Jon
6 years ago
Hi there,
Thanks for your reply. Do you have any setting for nginx proxy?
Thanks, Ram
6 years ago
Hello Ram,
If you are setting up your nginx reverse proxy according to this guide: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/
Then we should be able to get information passed along correctly without any setting updates on our end. We just need to be sure data is passed along from the webhook to proxy server, to the internal crm server.
We have a config option for outbound proxies as well. Let me know if you need more information on that.
Thanks, Jon
6 years ago
Hello there,
This email is in response to Case#1873: Communication between mailchimp and sugarchimp
We haven't heard from you regarding the issue in a few days. To help jog your memory, here is the last comment on the ticket:
---
Jon Sheppard, Oct 8, 13:57 COT
Hello Ram,
If you are setting up your nginx reverse proxy according to this guide: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/
Then we should be able to get information passed along correctly without any setting updates on our end. We just need to be sure data is passed along from the webhook to proxy server, to the internal crm server.
We have a config option for outbound proxies as well. Let me know if you need more information on that.
Thanks,
Jon
Let me know how I can help.
Thanks, Jon Fanatical Labs Support