---
title: "Update campaign target"
method: PATCH
path: "/v1/campaigns/updateTarget"
tags: ["campaigns"]
---

# Update campaign target

`PATCH /v1/campaigns/updateTarget`

## Request

- Base URL: `https://api.zevari.ai`
- URL: `https://api.zevari.ai/v1/campaigns/updateTarget`
- Auth: HTTP bearer

Transport: call this endpoint with HTTP PATCH and a JSON request body. Invoke Zevari method campaigns.updateTarget.

## Request body

- object
  - `target_id` string, required: Campaign target ID to update
  - `linkedin_provider_id` string: LinkedIn provider ID (ACoAAA... format)
  - `lead_name` string: Target's display name
  - `lead_url` string: LinkedIn profile URL
  - `lead_email` string, email: Target email address for email_send steps
  - `status` 'pending' | 'paused' | 'skipped': New target status

## Response `200`

Successful Zevari API response.

- ZevariResponseEnvelope
  - `ok` boolean, required: False when the underlying tool reports an error or a partial failure.
  - `method` string, required: Public API method name.
  - `data` unknown, required
  - `request_id` string, required: Request correlation ID. Also returned in X-Zevari-Request-Id.

## Other responses

- `400`: Invalid arguments or method execution error.
- `401`: Missing, invalid, expired, revoked, or unauthorized API key.
- `404`: Unknown or non-public Zevari API method.
- `429`: API key rate limit exceeded.
- `500`: Unhandled server error.

---

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