SevenShores\Hubspot\Resources\Webhooks::getSubscription PHP Méthode

getSubscription() public méthode

Get list of subscriptions.
public getSubscription ( integer $app_id ) : Response
$app_id integer
Résultat SevenShores\Hubspot\Http\Response
    function getSubscription($app_id)
    {
        $endpoint = "https://api.hubapi.com/webhooks/v1/{$app_id}/subscriptions";
        return $this->client->request('get', $endpoint);
    }