Class: Filter

Filter

new Filter()

Specify a filter for webhooks.
Source:

Extends

Methods

created_at(from, to) → {Filter}

Add filtering by created_at
Parameters:
Name Type Description
from number | Date the start date of the filter, either as Date or Unix-time number.
to number | Date the end date of the filter, either as Date or Unix-time number.
Source:
Returns:
the same filter.
Type
Filter

email(email) → {Filter}

Add filtering by email
Parameters:
Name Type Description
email string the email
Source:
Returns:
the same filter.
Type
Filter

url(url) → {Filter}

Add filtering by url
Parameters:
Name Type Description
url string the url
Source:
Returns:
the same filter.
Type
Filter