# Get Campaign

`lawmatics_get-campaign` · Lawmatics MCP tool · Marketing Campaigns

Fetch a single marketing campaign from Lawmatics by ID, including its description, UTM match string, tracking number, PNC count, and a `relationships` envelope of {id,type} pointers to its source and attributed matters (prospects).

## Input

- **campaignId** `string` (required, pattern: ^\d+$) — ID of the marketing campaign to fetch; a numeric string (e.g. '192')

## Output

- **id** `string` (required) — Lawmatics marketing campaign ID
- **name** `string` (required) — Campaign name
- **description** `string | null` (required) — Free-text description of the campaign; null if unset
- **utmMatch** `string | null` (required) — UTM parameter match string used to attribute traffic to this campaign; null if unset
- **trackingNumber** `string | null` (required) — Phone tracking number for the campaign, in E.164 format (e.g. "+18556347246"); null if unset
- **pncCount** `number | null` (required) — Count of PNCs (potential new clients) attributed to this campaign; null if not reported
- **matterCount** `number` (required) — Number of matters currently attributed to this campaign
- **createdAt** `string` (required) — When the campaign was created, as an ISO 8601 timestamp
- **updatedAt** `string` (required) — When the campaign was last updated, as an ISO 8601 timestamp
- **relationships** `object` (required) — JSON:API relationship pointers to related records as {id,type} stubs. Not materialized — follow a pointer by calling that resource's own get/find tool (e.g. type 'source' -> get-source, type 'prospect' -> get-matter).
  - **source** `object | null` (required) — Marketing source this campaign belongs to (type 'source') pointer; null when it has no source
    - **id** `string` (required) — ID of the referenced Lawmatics record
    - **type** `string` (required) — JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
  - **prospects** `array` (required) — Matter (prospect) pointers attributed to this campaign; empty if none
    - **[]** `object`
      - **id** `string` (required) — ID of the referenced Lawmatics record
      - **type** `string` (required) — JSON:API record class of the reference; resolve it by calling that resource's own tool
