SevenShores\Hubspot\Resources\Webhooks::getSubscription PHP 메소드

getSubscription() 공개 메소드

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