Skip to main content
GET
List Block Rules
Block Rule Management – This endpoint returns block rules for either all global blocks or a specific inbound number, depending on the query parameters.

Headers

string
required
Your API key for authentication.

Query Parameters

string
The E.164 formatted inbound number to filter results by. If omitted, returns only global block rules.
boolean
Whether to only return currently active block rules. Default is true. Set to false to include deleted or inactive rules.

Response

object
Returns a list of block rules that match the provided filters.
array
Array of block rule objects.
number
The number of block rules returned by this request.
object
Echoes the filters used in the request (inbound_number, active_only).
null|array
null on success, or a list of error objects if validation fails.

Docs for agents: llms.txt