webhook/register

Description

register for a webhook when something has changed

HTTP Method

POST

Parameters

NameTypeRequiredDescription
target_urlstringyesthe url we will POST to
eventstringyeswhat you want to be notified about: new_thing, changed_thing, deleted_thing

There is a unregister/webhook method with the same parameters that unregisters that webhook.

Returns

{
  "registered": true
}