You are here

function MCAPI::listWebhooks in Mailchimp 7

Same name and namespace in other branches
  1. 6.2 MCAPI.class.php \MCAPI::listWebhooks()

Return the Webhooks configured for the given list

Related

@returnf string url the URL for this Webhook @returnf array actions the possible actions and whether they are enabled @returnf array sources the possible sources and whether they are enabled

Parameters

string $id the list id to connect to. Get by calling lists():

Return value

array list of webhooks

File

./MCAPI.class.php, line 1086

Class

MCAPI

Code

function listWebhooks($id) {
  $params = array();
  $params["id"] = $id;
  return $this
    ->callServer("listWebhooks", $params);
}