api
api copied to clipboard
Webhooks not received for certain domains
I played around with webhooks for some time and created a small application which I deployed on heroku, everything worked liked expected. When I moved the application to my own server, I did not receive the webhooks anymore. I am still able to communicate with the API and are able to create and receive new webhooks e.g. with a URL pointing to a Runscope Bucket, but if I add my own domain as URL, the webhook is created, but I do not receive any call when updating the corresponding list.
If I forward the request with Runscope, my application receives and handles the webhook, so my endpoint should be working correctly. According to my server logs there are no https or http calls coming from wunderlist, even though there are webhooks registered with the correct URL pointing to my application.
Now I am wondering if a domain first needs to be white listed or similar before receiving webhooks, since heroku.com and runscope.com are well known services but my domain is of course not.
Thanks a lot for your help!
edit I managed to receive webhooks when I change the URL to http:// instead of https://. Is it possible that you do not trust SSL certificates from StartSSL?
were you getting events on completed tasks from webhooks? I only got events for a task being created but not for being completed. this was all local dev using runscope.
@gdiab Yes, I receive an event when a task is completed. In fact, I receive an event each time the task is updated. The operation
of the event is update
, and there are a before
and after
object to see the changes made to the task. When completed, the key is_completed
changes from false
to true
.
I am facing similar issue and not getting Webhook updates even with an http endpoint. As passuf mentioned I can see that the update is coming on requestb.in but not to my domain.
Mee too facing this issue, I am creating a webhook for my localhost, like
http://localhost:8080/list_webhook
but its not getting invoked on create new task in a certain list event.
Update but when I deployed my code to heroku and is working now. list_webhook (POST) received on my server. as mentioned by @passuf
@passuf can you help me regrading the webhook. I want my webhook to be invoked when a certain task's due date/time is reached. basically I am working on a reminder app. I want to notify the user about his reminder. simply I want my webhook to be invoked when a reminder time is reached. I have checked it my webhook is not invoking, please don't tell me this is not supported :(
@qadirsuh I do not know whether you can subscribe a webhook to events such as reaching a reminder date/time. Alternatively you could save the reminder time locally when the task is updated (your webhook gets invoked), and then you store and process these notifications on your server, e.g. using a simple cron-job.