api icon indicating copy to clipboard operation
api copied to clipboard

Webhooks documentation is incomplete

Open rawbee opened this issue 8 years ago • 10 comments

The documentation for webhooks doesn't list which actions trigger a webhook call. For instance, my webhook seems to get called in these cases (and there may be more, but these are the ones I've observed):

  • a task is created on a list
  • a subtask is added to a task on a list
  • a note is added to a task on the list
  • the task title is modified
  • the task is marked as completed

However, there is no call for these actions:

  • the tasks on the list are reordered

rawbee avatar Nov 13 '15 23:11 rawbee

You are absolutely right that we should document this. The other case that I'm aware of no notification for is when a list is deleted. We delete the we hook, but don't send a notification first.

Thanks for the report. We'll track it and follow up here.

duncan avatar Nov 14 '15 09:11 duncan

@rawbee I agree with the issue about the docs, but are you sure that you do not receive calls for completed tasks? I just tried this by myself and it seems to work.

passuf avatar Dec 23 '15 23:12 passuf

I don't think I receive a call for completed tasks. Has this not been implemented or am I doing something wrong?

gdiab avatar Dec 29 '15 23:12 gdiab

@passuf I am getting calls now. I'm not sure if something was fixed, or if I was doing something wrong, but I am happy to be getting them now :)

rawbee avatar Jan 14 '16 19:01 rawbee

Please also document what the processor_type and configuration parameters do and their possible values. Also revision.

Sarke avatar Feb 24 '16 07:02 Sarke

We still need this :( How can I use Your web hooks? They call my url, but nothing is inside neither GET or POST. It is just simple url call with no data.

n4s-linux avatar May 30 '16 18:05 n4s-linux

@jrgenolsen The data is a JSON encoded string inside the request body. Assuming you are using PHP, you can access it like this:

$json = file_get_contents('php://input');
$data = json_decode($json, true);

Sarke avatar Jun 29 '16 14:06 Sarke

Any news on this....it is still not documented!!

khurshid-alam avatar Nov 17 '16 06:11 khurshid-alam

It would be great to get some more documentation on this..

gonzie avatar Nov 28 '16 12:11 gonzie

I could use some documentation on this :(

any news?

hocza avatar Jul 30 '18 16:07 hocza