authenticated
campaigns

Campaign Targeting

Return targeting rules and funnel data for a campaign variant.

By default uses the first campaign for the agent (oldest by created_at). Pass campaign_id (the campaign UUID) to load a specific variant — used by the variant selector on the agent detail page so users can edit each variant's rules independently.

Loads campaign_rule rows for that campaign, resolving org-level defaults, and the latest targeting_snapshot for funnel step data.

get/campaigns/targeting/{agent_v2_id}

Request

  • Base URL
    https://api-docs.upsmith.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

agent_v2_idstring required

Query parameters

campaign_idstring nullable

Headers

organization-idstring nullable
x-user-idstring nullable
timezonestring
x-actor-emailstring nullable
x-request-sourcestring nullable
x-operation-idstring nullable
x-commit-messagestring nullable
x-confirmation-idstring nullable
x-chat-idstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.