---
title: "Campaign Targeting Preview Customers Admin"
method: POST
path: "/admin/campaigns/{campaign_id}/targeting-preview/customers"
tags: ["admin", "campaigns"]
---

# Campaign Targeting Preview Customers Admin

`POST /admin/campaigns/{campaign_id}/targeting-preview/customers`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/admin/campaigns/{campaign_id}/targeting-preview/customers`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Cross-org page of customers a rule set would target (audience modal).

Same body semantics as ``targeting-preview``: ``rules`` for an unsaved
edit, omitted for the campaign's persisted rules.

## Path parameters

- `campaign_id` string, required

## Query parameters

- `limit` integer
- `offset` integer

## Headers

- `organization-id` string, nullable
- `timezone` string
- `x-user-id` string, nullable
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Request body

- CampaignTargetingPreviewBody: Optional body. Omit ``rules`` to evaluate the campaign's persisted state.
  - `rules` object[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/upsmith/apis/upsmith-api.md) - [All operations](https://skmtc.dev/upsmith/apis/upsmith-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upsmith/apis/upsmith-api/revisions/cce8b07a5787?raw)
