---
title: "Mark actions as completed without performing them"
method: POST
path: "/campaigns/{campaignSlug}/sync"
tags: ["campaigns"]
---

# Mark actions as completed without performing them

`POST /campaigns/{campaignSlug}/sync`

Manually mark actions as completed for profiles within a campaign. Use when actions were performed outside the API (e.g. manual DMs) and need to be synced.

## Path parameters

- `campaignSlug` string, required

## Request body

- object
  - `profiles` object[], required — Profiles and actions to mark as completed without performing them on LinkedIn.
    - `profile` string, required — LinkedIn profile URL or URN
    - `actions` string[], required — Action types to mark as completed

## Response `200`

Actions marked as completed

- object
  - `success` true, required
  - `synced` object[], required
    - `profile` string, required
    - `actions` object, required
  - `creditsUsed` integer, required — Credits consumed by this call (always 0 for campaign queries).
  - `retryAfter` integer, required — Seconds to wait before next call of the same type (always 0 for campaign queries).

## Other responses

- `400` — The server cannot or will not process the request due to something that is perceived to be a client error.
- `401` — Although HTTP specifies "unauthorized", this response means "unauthenticated". Authenticate to continue. NOTE: 401 is also returned with code "linkedin_not_connected" when the caller IS authenticated but has no connected LinkedIn account — connect LinkedIn (not re-authenticate) to continue.
- `403` — The client does not have access rights to the content.
- `404` — The server cannot find the requested resource.
- `409` — The request conflicts with the current state of the server.
- `410` — The requested content has been permanently deleted from the server.
- `422` — The request was well-formed but was unable to be followed due to semantic errors.
- `429` — Rate limit exceeded. Read error.retryAfter for the wait time in seconds.
- `500` — The server encountered a situation it does not know how to handle.
- `502` — LinkedIn returned a server error or the proxy connection failed. Retry after a few seconds.
- `503` — Proxy capacity temporarily exceeded. Retry after a few seconds.

---

[API](https://skmtc.net/berea/apis/bereach-api.md) · [All operations](https://skmtc.net/berea/apis/bereach-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/berea/bereach-api/revisions/3caf12036b26/schema)
