Create a Blocking Rule
Method
Path
blocking_rules/DIRECTION
Request Parameters
Name | Type | Description |
---|---|---|
to | string | One of '*', a country alpha2 ('US'), or an e.164 phone number |
from | string | One of '*', a country alpha2 ('US'), or an e.164 phone number |
Response
A JSON object with success, message, and data attributes. The data attribute contains a Blocking Rule Object.
Sample Call
This rule will block sending faxes from any caller ID to +12013615723:
This rule will block receiving faxes from any number in Canada to any Phaxio number you own: