Back to Documentation Overview
listWebhookAdd
public static listWebhookAdd(string apikey, string id, string url, array actions, array sources)
Add a new Webhook URL for the given list
- Section:
- List Related
- Parameters:
apikey a valid API Key for your user account. Get by calling login() id the list id to connect to. Get by calling lists() url a valid URL for the Webhook - it will be validated. note that a url may only exist on a list once. actions optional - a hash of actions to fire this Webhook for boolean subscribe optional - as subscribes occur, defaults to true boolean unsubscribe optional - as subscribes occur, defaults to true boolean profile optional - as profile updates occur, defaults to true boolean cleaned optional - as emails are cleaned from the list, defaults to true boolean upemail optional - when subscribers change their email address, defaults to true sources optional - a hash of sources to fire this Webhook for boolean user optional - user/subscriber initiated actions, defaults to true boolean admin optional - admin actions in our web app, defaults to true boolean api optional - actions that happen via API calls, defaults to false - Returns:
- bool - true if the call succeeds, otherwise an exception will be thrown
|
Add New Note
User Contributed Notes for
listWebhookAdd |
|---|
| No notes, yet... Will you be the first?? |