public function MailchimpLists::getWebhook in Mailchimp 8
Gets information about a specific webhook associated with a list.
Parameters
string $list_id: The ID of the list.
string $webhook_id: The ID of the webhook.
array $parameters: Associative array of optional request parameters.
Return value
object
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/lists/w...
File
- lib/
mailchimp-api-php/ src/ MailchimpLists.php, line 526
Class
- MailchimpLists
- Mailchimp Lists/Audiences library.
Namespace
MailchimpCode
public function getWebhook($list_id, $webhook_id, $parameters = []) {
$tokens = [
'list_id' => $list_id,
'webhook_id' => $webhook_id,
];
return $this
->request('GET', '/lists/{list_id}/webhooks/{webhook_id}', $tokens, $parameters);
}