admin
campaigns

Save Campaign Targeting Admin

Cross-org save of rule-builder wire groups.

Accepts the same wire shape the org PUT /campaigns/{id}/rules accepts, converts groups → {rule_type_key, params, sort_order} and proxies to campaign-service. The raw PUT /rules above is left untouched for callers that already send converted rows. Legacy YAML campaigns 409 here so the admin save can't persist rules the YAML engine never applies.

put/admin/campaigns/{campaign_id}/targeting

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

campaign_idstring required

Headers

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

Request body

rulesobject[] required

Response

Successful Response

unknown required

Changes

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