Class WebhookFetcher


  • public class WebhookFetcher
    extends Fetcher<Webhook>
    PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
    • Constructor Detail

      • WebhookFetcher

        public WebhookFetcher​(String pathSessionSid,
                              String pathSid)
        Construct a new WebhookFetcher.
        Parameters:
        pathSessionSid - The unique id of the Session for this webhook.
        pathSid - A 34 character string that uniquely identifies this resource.
    • Method Detail

      • fetch

        public Webhook fetch​(TwilioRestClient client)
        Make the request to the Twilio API to perform the fetch.
        Specified by:
        fetch in class Fetcher<Webhook>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Fetched Webhook