> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Block Rule

> Retrieve the details of a specific block rule.

### Headers

<ParamField header="authorization" type="string" required>
  Your API key for authentication.
</ParamField>

### Path Parameters

<ParamField path="block_id" type="number" required>
  The unique ID of the block rule you wish to retrieve.
</ParamField>

### Response

<ResponseField name="data" type="object">
  The block rule object if found.
</ResponseField>

<ResponseField name="data.id" type="number">
  The unique ID of the block rule.
</ResponseField>

<ResponseField name="data.blocked_number" type="string">
  The E.164 formatted phone number that is blocked.
</ResponseField>

<ResponseField name="data.is_global" type="boolean">
  Whether the block is applied globally across all inbound numbers.
</ResponseField>

<ResponseField name="data.inbound_number" type="string|null">
  The specific inbound number the block applies to (if not global).
</ResponseField>

<ResponseField name="data.org_id" type="string">
  The UUID of the organization that owns the rule.
</ResponseField>

<ResponseField name="data.reason" type="string|null">
  An optional reason for the block.
</ResponseField>

<ResponseField name="data.is_active" type="boolean">
  Indicates whether the block is currently active.
</ResponseField>

<ResponseField name="data.created_at" type="string">
  ISO timestamp for when the rule was created.
</ResponseField>

<ResponseField name="data.updated_at" type="string">
  ISO timestamp for when the rule was last updated.
</ResponseField>

<ResponseField name="errors" type="null|array">
  `null` on success, or a list of error objects if the block ID is invalid or not found.
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "data": {
      "id": 123,
      "blocked_number": "+10000000000",
      "is_global": false,
      "inbound_number": "+18888888888",
      "org_id": "b7d3e9fc-5c4a-4c2a-9b8f-d1e1d1a2e333",
      "reason": null,
      "is_active": true,
      "created_at": "2025-01-01T00:00:00.000Z",
      "updated_at": "2025-01-01T00:00:00.000Z"
    },
    "errors": null
  }
  ```
</ResponseExample>

***

Docs for agents: [llms.txt](/llms.txt)
