Rules

List your allow/block rules

get/v1/rules

Request

  • Base URL: https://www.layercall.com
  • URL: https://www.layercall.com/v1/rules
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Response

Success

countinteger
processing_time_secnumber
request_idstring

Example response

{
  "count": 1,
  "processing_time_sec": 0.183,
  "request_id": "req_f0beb003-675e-46b1-aae9-9ee1a02bd2c6",
  "rules": [
    {
      "action": "block",
      "created_at": "2026-08-06T23:43:32.323+00:00",
      "id": "11111111-2222-3333-4444-555555555555",
      "kind": "domain",
      "value": "mailinator.com"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.