Get a Blocking Rule

Method

GET

Path

blocking_rules/ID

Request Parameters

None

Response

A JSON object with success, message, and data attributes. The data attribute contains an Blocking Rule Object.

Sample Call

curl -G https://api.phaxio.com/v2.1/blocking_rules/1234 \
  -u 'API_KEY:API_SECRET'

Sample Response

{
  "success": true,
  "message": "Blocking Rule 34567",
  "data": {
      "id": 34567,
      "to": "*",
      "from": "+12013615723",
      "direction": "send",
      "is_locked": false
  }
}