You can manage your webhooks with these endpoints. Of particular interest might be the GET /#account_id/webhooks/events endpoint which lets you know which events our system can send out webhooks for. You can get more info about how our webhooks work.
Get a basic listing of all webhooks associated with an account.
Returns : | A list of webhooks that belong to the given account. |
---|
Get information for a specific webhook belonging to a specific account.
Returns : | Details for a single webhook |
---|---|
Raises : | Http404 if no webhook found |
Get a listing of all event types that are available for webhooks.
Returns : | A list of event types and descriptions |
---|
Create an new webhook.
If method is ‘POST’, the data will be posted to the given URL as a blob of JSON. If the method is ‘GET’ the data will be added to the query string of your URL as a url encoded blob of JSON in a key called ‘payload’.
Parameters: |
|
---|
Update an existing webhook. Takes the same params as create_webhook.
Returns : | The id of the updated webhook, or False if the update failed. |
---|---|
Raises : | Http404 if the webhook cannot be found. |
Deletes an existing webhook.
Returns : | True if the webhook deleted successufully. |
---|---|
Raises : | Http404 if no webhook found |
Delete all webhooks registered for an account.
Returns : | True if the webhooks deleted successufully. |
---|