# Get Rule

Retrieves a specific rule from a campaign.

**GET** `/campaigns/{campaign_id}/rules/{rule_id}`

Base URL: `https://api-sandbox.whitelabel.com/v1`

## Authorization

- public-api-key (apiKey in header)
- private-secret-key (apiKey in header)

## Path parameters

- `campaign_id` (string, required)
  The campaign identifier (UUID).
- `rule_id` (string, required)
  The rule identifier (UUID).

## Responses

### 200

- `data` (object)
  - `id` (string)
  - `rule_type` (string)
  - `values` (string[])
  - `conditional` (string)
  - `metadata_key` (string)
  - `status` (string)
  - `created_at` (string)
  - `updated_at` (string)

Example:

```json
{
  "data": {
    "id": "f1e2d3c4-b5a6-7890-abcd-ef1234567890",
    "rule_type": "PAYMENT_STATUS",
    "values": [
      "DECLINED"
    ],
    "conditional": "EQUAL",
    "metadata_key": null,
    "status": "ACTIVE",
    "created_at": "2025-07-01T12:05:00Z",
    "updated_at": "2025-07-01T12:05:00Z"
  }
}
```