« Back to Documentation OverviewlistWebhooks – v1.3
listWebhooks(string apikey, string id)
Return the Webhooks configured for the given list
| Parameters | | apikey | a valid API Key for your user account. Get by visiting your API dashboard |
| id | the list id to connect to. Get by calling lists() |
| Returns | | array |
list of webhooks
| string | url | the URL for this Webhook
| | array | actions | the possible actions and whether they are enabled
| bool | subscribe | triggered when subscribes happen
| | bool | unsubscribe | triggered when unsubscribes happen
| | bool | profile | triggered when profile updates happen
| | bool | cleaned | triggered when a subscriber is cleaned (bounced) from a list
| | bool | upemail | triggered when a subscriber's email address is changed
| | bool | campaign | triggered when a campaign is sent or canceled
| | | array | sources | the possible sources and whether they are enabled
| bool | user | whether user/subscriber triggered actions are returned
| | bool | admin | whether admin (manual, in-app) triggered actions are returned
| | bool | api | whether api triggered actions are returned
| | |