> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clustr-ai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Swap Competitor People

> Pause one monitored person and monitor another in one step

Move a slot from one person to another: pause a monitored person and monitor someone else in the
same step, so nothing is refused for lack of a slot in between. The two may be at different
competitors. The person to monitor can be **Paused**, pending or removed; someone who left
the competitor cannot be monitored (`409 PERSON_LEFT`).

The paused person keeps their history and shows as Paused. Find both ids with
[List Competitor People](https://docs.clustr-ai.com/api-reference/list-competitor-people.md).

```bash cURL theme={null}
curl -X POST https://api.clustr-ai.com/v2/competitor_people/swap \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "pause_person_id": "ctp_q3zg328tqgcw33xj4v2ahrcfeq",
    "monitor_person_id": "ctp_d73mfdcms7k6qtzyjqwrkdjh5e"
  }'
```

```python Python theme={null}
import requests

requests.post(
    "https://api.clustr-ai.com/v2/competitor_people/swap",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "pause_person_id": "ctp_q3zg328tqgcw33xj4v2ahrcfeq",
        "monitor_person_id": "ctp_d73mfdcms7k6qtzyjqwrkdjh5e",
    },
)
```

```javascript JavaScript theme={null}
await fetch("https://api.clustr-ai.com/v2/competitor_people/swap", {
  method: "POST",
  headers: { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({
    pause_person_id: "ctp_q3zg328tqgcw33xj4v2ahrcfeq",
    monitor_person_id: "ctp_d73mfdcms7k6qtzyjqwrkdjh5e",
  }),
});
```

```json 200 theme={null}
{
  "success": true,
  "data": {
    "paused": {
      "clustr_competitor_tracked_person_id": "ctp_q3zg328tqgcw33xj4v2ahrcfeq",
      "id": "5d2f8a1c-7b3e-4c9a-8f1d-2e6b0a4c9d71",
      "full_name": "Jane Doe",
      "status": "paused",
      "paused_reason": "manual"
    },
    "monitored": {
      "clustr_competitor_tracked_person_id": "ctp_d73mfdcms7k6qtzyjqwrkdjh5e",
      "id": "9a1b2c3d-4e5f-6071-8293-a4b5c6d7e8f9",
      "full_name": "Hélène Martin",
      "status": "monitored",
      "monitored_since": "2026-10-08T09:00:00Z"
    },
    "slot_usage": { "used": 200, "total": 200, "paused": 12, "pending": 0, "plan": "l200", "active": 200, "limit": 200 }
  }
}
```


## OpenAPI

````yaml POST /v2/competitor_people/swap
openapi: 3.1.0
info:
  title: Clustr API
  description: >
    Programmatic access to your Clustr network: import connectors, search warm
    intros, and manage target accounts.


    ## Authentication

    All endpoints require a Bearer token (API key) in the `Authorization`
    header.


    ```

    Authorization: Bearer <your_api_key>

    ```


    API keys can be created and managed from the [API settings
    page](https://app.clustr-ai.com/api).
  version: '2.0'
  contact:
    name: Clustr Support
    url: https://clustr-ai.com
servers:
  - url: https://api.clustr-ai.com
    description: Production
security:
  - BearerAuth: []
paths:
  /v2/competitor_people/swap:
    post:
      tags:
        - Competitor Monitoring
      summary: Swap Competitor People
      description: >
        Pause one monitored person and monitor another in one step, so the slot
        moves

        between them. They may be at different competitors.
      operationId: swapCompetitorPeople
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - pause_person_id
                - monitor_person_id
              properties:
                pause_person_id:
                  type: string
                  description: A monitored tracked person id.
                monitor_person_id:
                  type: string
                  description: The tracked person id to monitor instead.
      responses:
        '200':
          description: Both people, as now stored.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SwapPeopleEnvelope'
              example:
                success: true
                data:
                  monitored:
                    id: a9a6c3f9-a10d-4388-ad59-024c796e0fe6
                    competitor_id: 3247c8cd-2cbd-48aa-aa6a-3792873aeb76
                    person_linkedin_id: thomas-lefevre-4b2a1
                    role_bucket: decision_maker
                    still_employed: true
                    employment_verified_at: '2026-09-30T12:00:00Z'
                    last_interactions_scraped_at: '2026-09-30T12:00:00Z'
                    created_at: '2026-09-30T12:00:00Z'
                    updated_at: '2026-09-30T12:00:00Z'
                    source: linkedin
                    excluded_at: '2026-09-30T12:00:00Z'
                    priority: 1
                    title: Head of Procurement
                    full_name: Northwind Logistics
                    headline: Head of Procurement at Northwind Logistics
                    avatar_url: >-
                      https://media.licdn.com/dms/image/v2/D4E03AQ/profile-displayphoto-shrink_200_200/0/1700000000000
                    last_activity_at: '2026-09-30T12:00:00Z'
                    status: active
                    function: Procurement
                    monitored_since: '2026-10-28'
                    paused_reason: ''
                    left_at: '2026-09-30T12:00:00Z'
                    new_company_name: Northwind Logistics
                    new_company_linkedin_id: '18472301'
                    function_changed_at: '2026-09-30T12:00:00Z'
                    function_changed_title: Director of Engineering
                    interactions_30d: 12
                    linkedin_url: https://www.linkedin.com/in/thomas-lefevre-4b2a1
                    competitor_name: Vantage Revenue
                    relationship: former_colleague
                    clustr_competitor_id: cmp_5qk1nfz2att5f6xxyzzb5qmxak
                    clustr_competitor_tracked_person_id: ctp_5skmnp630shvbwhvb08bn76qva
                    clustr_new_account_id: acc_0ewr9dy46v0c75h0nkrb1qvpxy
                    clustr_person_id: per_2c55ta45fgbtrpecn4vzw6zs67
                  paused:
                    id: a9a6c3f9-a10d-4388-ad59-024c796e0fe6
                    competitor_id: 3247c8cd-2cbd-48aa-aa6a-3792873aeb76
                    person_linkedin_id: thomas-lefevre-4b2a1
                    role_bucket: decision_maker
                    still_employed: true
                    employment_verified_at: '2026-09-30T12:00:00Z'
                    last_interactions_scraped_at: '2026-09-30T12:00:00Z'
                    created_at: '2026-09-30T12:00:00Z'
                    updated_at: '2026-09-30T12:00:00Z'
                    source: linkedin
                    excluded_at: '2026-09-30T12:00:00Z'
                    priority: 1
                    title: Head of Procurement
                    full_name: Northwind Logistics
                    headline: Head of Procurement at Northwind Logistics
                    avatar_url: >-
                      https://media.licdn.com/dms/image/v2/D4E03AQ/profile-displayphoto-shrink_200_200/0/1700000000000
                    last_activity_at: '2026-09-30T12:00:00Z'
                    status: active
                    function: Procurement
                    monitored_since: '2026-10-28'
                    paused_reason: ''
                    left_at: '2026-09-30T12:00:00Z'
                    new_company_name: Northwind Logistics
                    new_company_linkedin_id: '18472301'
                    function_changed_at: '2026-09-30T12:00:00Z'
                    function_changed_title: Director of Engineering
                    interactions_30d: 12
                    linkedin_url: https://www.linkedin.com/in/thomas-lefevre-4b2a1
                    competitor_name: Vantage Revenue
                    relationship: former_colleague
                    clustr_competitor_id: cmp_5qk1nfz2att5f6xxyzzb5qmxak
                    clustr_competitor_tracked_person_id: ctp_5skmnp630shvbwhvb08bn76qva
                    clustr_new_account_id: acc_0ewr9dy46v0c75h0nkrb1qvpxy
                    clustr_person_id: per_2c55ta45fgbtrpecn4vzw6zs67
                  slot_usage:
                    used: 1200
                    total: 128
                    paused: 12
                    pending: 12
                    plan: growth
                    active: 12
                    limit: 50
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/FeatureNotEnabled'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: >-
            The person to monitor has left the competitor (PERSON_LEFT), or the
            person to pause is not monitored.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    SwapPeopleEnvelope:
      type: object
      required:
        - success
        - data
      properties:
        success:
          type: boolean
        data:
          $ref: '#/components/schemas/SwapPeopleData'
    ErrorEnvelope:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          description: Always false.
        error:
          $ref: '#/components/schemas/ErrorInfo'
    SwapPeopleData:
      type: object
      required:
        - monitored
        - paused
        - slot_usage
      properties:
        monitored:
          $ref: '#/components/schemas/TrackedPersonDTO'
        paused:
          $ref: '#/components/schemas/TrackedPersonDTO'
        slot_usage:
          anyOf:
            - type: object
              allOf:
                - $ref: '#/components/schemas/SlotUsage'
            - type: 'null'
    ErrorInfo:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: >-
            What a client branches on, such as BAD_REQUEST or NOT_FOUND: one of
            the codes listed, the same on every operation. A code is added
            within a major version, never renamed.
          enum:
            - ADMIN_REQUIRED
            - ALREADY_LISTED
            - API_REQUEST_FAILED
            - ATTIO_NOT_CONNECTED
            - ATTIO_WORKSPACE_NOT_FOUND
            - AUTHORIZATION_UNAVAILABLE
            - AUTH_CONTEXT_ERROR
            - AUTH_FAILED
            - AUTH_METHOD_UNSUPPORTED
            - BAD_GATEWAY
            - BAD_REQUEST
            - BIGQUERY_ERROR
            - BODY_TOO_LARGE
            - BULK_PUSH_TOO_LARGE
            - BUYER_TITLES_UNAVAILABLE
            - CANCELLED
            - CANNOT_CHANGE_OWN_ROLE
            - CANNOT_DEACTIVATE_SELF
            - CANNOT_REMOVE_SELF
            - CLEANING_REPORT_FAILED
            - CLEANING_REPORT_UNAVAILABLE
            - CLIENT_CLOSED_REQUEST
            - COMPANY_NOT_FOUND
            - COMPANY_NOT_RESOLVED
            - COMPETITOR_EXISTS
            - COMPETITOR_READ_FAILED
            - COMPETITOR_RUN_FAILED
            - CONFLICT
            - CRM_CAPABILITY_UNSUPPORTED
            - CRM_CREDENTIAL_EXPIRED
            - CRM_DAILY_LIMIT
            - CRM_LISTS_UNSUPPORTED
            - CRM_NOT_ACTIVE
            - CRM_NOT_CONNECTED
            - CRM_RATE_LIMITED
            - CRM_RECONNECT_REQUIRED
            - CRM_ROW
            - CRM_SCHEMA_UNAVAILABLE
            - CRM_SCOPE_MISSING
            - CRM_UNAVAILABLE
            - CRM_VALUES_UNAVAILABLE
            - CRM_WRITE_DISABLED
            - CUSTOMERS_UNAVAILABLE
            - DATABASE_NOT_FOUND
            - DATASET_NOT_FOUND
            - DUPLICATE_ALREADY_RESOLVED
            - DUPLICATE_CHECK_FAILED
            - EMAIL_NOTIFIER_UNAVAILABLE
            - ENTITLEMENT_UNAVAILABLE
            - ESCALATION_EMAIL_DISABLED
            - EXPORT_FAILED
            - EXPORT_IN_FLIGHT
            - EXPORT_UNAVAILABLE
            - FAMILY_CLUSTER
            - FEATURE_NOT_ENABLED
            - FINDING_NOT_APPLICABLE
            - FIRE_FAILED
            - FORBIDDEN
            - FULLENRICH_API_ERROR
            - FULLENRICH_UNEXPECTED_ERROR
            - GATEWAY_TIMEOUT
            - HEADERS_TOO_LARGE
            - HUBSPOT_NOT_CONNECTED
            - HUBSPOT_UPSTREAM_ERROR
            - INSUFFICIENT_CREDITS
            - INSUFFICIENT_PERMISSION
            - INTEGRATION_REAUTH_REQUIRED
            - INTERNAL_ERROR
            - INVALID_BODY
            - INVALID_BOOLEAN
            - INVALID_BUCKET
            - INVALID_COMPANY_NAME
            - INVALID_CREDENTIALS
            - INVALID_CUSTOMER_RULE
            - INVALID_ENDPOINT
            - INVALID_EVENT
            - INVALID_FIELD
            - INVALID_INPUT
            - INVALID_LINKEDIN_URL
            - INVALID_MAPPING
            - INVALID_MATCHING_SETTINGS
            - INVALID_OBJECT_TYPE
            - INVALID_REQUEST
            - INVALID_SCHEDULE
            - INVALID_SETTINGS
            - INVALID_SIGNATURE
            - INVALID_TARGET_LIST
            - INVALID_TENANT_ID
            - INVALID_TOKEN
            - INVALID_URL
            - INVALID_UUID
            - INVALID_WEBSITE_URL
            - JOB_CLIENT_NOT_CONFIGURED
            - JOB_CREATION_FAILED
            - JOB_NOT_FOUND
            - KEY_NOT_REGISTERED
            - LAST_ADMIN
            - LOAD_FAILED
            - MAPPING_NOT_FOUND
            - MATCHING_SETTINGS_CONFLICT
            - MATCHING_VERSION_NOT_FOUND
            - MERGES_DISABLED
            - MERGE_UNRESOLVED
            - MERGE_UNSUPPORTED
            - METHOD_NOT_ALLOWED
            - MISSING_FIELDS
            - MISSING_HEADER
            - MISSING_JOB_ID
            - MISSING_OBJECT_ID
            - MISSING_PORTAL_ID
            - MISSING_TENANT_ID
            - MISSING_USER_ID
            - NOT_APPLIED
            - NOT_AUTO_SAFE
            - NOT_CONFIGURED
            - NOT_CONNECTED
            - NOT_DUPLICATE_CLUSTER
            - NOT_ENABLED
            - NOT_FOUND
            - NOT_RETRYABLE
            - NOT_REVERTABLE
            - NO_ACTIVE_WAREHOUSE
            - NO_BUYER_TITLES
            - NO_CONNECTION
            - NO_LINKEDIN_URL
            - NO_MATCH_KEY
            - NO_ORG
            - NO_PACKAGE
            - NO_SLOT
            - NO_TEAM_FOUND
            - NO_TOKEN
            - NO_WEBSITE
            - ORG_LIMIT_EXCEEDED
            - PANIC_RECOVERED
            - PARSE_ERROR
            - PAYLOAD_TOO_LARGE
            - PAYMENT_REQUIRED
            - PERSON_LEFT
            - PORTAL_TENANT_MISMATCH
            - PRIVATE_CHANNEL_NEEDS_INVITE
            - PROCESSING_ERROR
            - PROFILE_NOT_RESOLVED
            - PROJECT_NOT_FOUND
            - PROPERTY_INSIGHTS_FAILED
            - PROPERTY_INSIGHTS_UNAVAILABLE
            - QUEUE_UNAVAILABLE
            - RATE_LIMITED
            - RATE_LIMITER_INIT_FAILED
            - RATE_LIMIT_EXCEEDED
            - REDIRECT_REFUSED
            - REFRESH_RATE_LIMITED
            - REFRESH_UNAVAILABLE
            - REPORT_ONLY_DUPLICATE
            - REQUEST_FAILED
            - RESEARCH_NOT_STARTED
            - RESOURCE_EXHAUSTED
            - RESPONSE_READ_FAILED
            - REVERT_BATCH_UNAVAILABLE
            - REVERT_CONFLICT
            - REVERT_EXPIRED
            - ROUTE_NOT_FOUND
            - SALESFORCE_NOT_CONNECTED
            - SALESFORCE_ORG_NOT_FOUND
            - SAVE_FAILED
            - SEARCH_FAILED
            - SERVICE_NOT_FOUND
            - SERVICE_UNAVAILABLE
            - SERVICE_UNREACHABLE
            - SETUP_FAILED
            - SETUP_RATE_LIMITED
            - SLACK_REJECTED
            - SNOWFLAKE_ERROR
            - STAFF_REQUIRED
            - SUPABASE_NEEDS_POOLER
            - SYNC_IN_PROGRESS
            - SYNC_PROPERTIES_DISABLED
            - SYNC_STATUS_UNAVAILABLE
            - SYNC_UNAVAILABLE
            - TABLE_SHAPE_MISMATCH
            - TARGET_ACCOUNTS_UNAVAILABLE
            - TARGET_LIST_NOT_BINDABLE
            - TARGET_LIST_NOT_FOUND
            - TASK_CREATION_FAILED
            - TENANT_LOOKUP_FAILED
            - TENANT_MISMATCH
            - TOO_MANY_HEADERS
            - TOO_SOON
            - UNAUTHORIZED
            - UNAVAILABLE
            - UNKNOWN_ERROR
            - UNKNOWN_FEATURE
            - UNKNOWN_PORTAL
            - UNKNOWN_PROVIDER
            - UNPROCESSABLE_ENTITY
            - UNSUPPORTED_FLOW
            - UNSUPPORTED_MEDIA_TYPE
            - UNSUPPORTED_OBJECT_TYPE
            - UNSUPPORTED_PROVIDER
            - UNSUPPORTED_RESOURCE_TYPE
            - UPSTREAM_ERROR
            - UPSTREAM_UNAVAILABLE
            - URL_TOO_LONG
            - USER_NOT_AUTHORIZED
            - VALIDATION_ERROR
            - VALUES_FAILED
            - VALUES_UNAVAILABLE
            - VERIFICATION_UNAVAILABLE
            - WEBHOOK_UNAVAILABLE
        message:
          type: string
          description: The sentence a person reads.
        details:
          type: string
          description: Developer text, returned outside production only.
        request_id:
          type: string
          description: >-
            The request's id, for support. Always set, and the same as the
            X-Request-ID response header.
    TrackedPersonDTO:
      type: object
      required:
        - id
        - competitor_id
        - person_linkedin_id
        - still_employed
        - created_at
        - updated_at
        - monitored_since
        - paused_reason
        - left_at
        - new_company_name
        - new_company_linkedin_id
        - function_changed_at
        - function_changed_title
        - interactions_30d
      properties:
        id:
          type: string
        competitor_id:
          type: string
        person_linkedin_id:
          type: string
        role_bucket:
          type: string
        still_employed:
          type: boolean
        employment_verified_at:
          type:
            - string
            - 'null'
        last_interactions_scraped_at:
          type:
            - string
            - 'null'
        created_at:
          type: string
        updated_at:
          type: string
        source:
          type: string
        excluded_at:
          type:
            - string
            - 'null'
        priority:
          type:
            - integer
            - 'null'
        title:
          type: string
        full_name:
          type: string
        headline:
          type: string
        avatar_url:
          type: string
        last_activity_at:
          type:
            - string
            - 'null'
        status:
          type: string
        function:
          type: string
        monitored_since:
          type:
            - string
            - 'null'
        paused_reason:
          type:
            - string
            - 'null'
        left_at:
          type:
            - string
            - 'null'
        new_company_name:
          type:
            - string
            - 'null'
        new_company_linkedin_id:
          type:
            - string
            - 'null'
        function_changed_at:
          type:
            - string
            - 'null'
        function_changed_title:
          type:
            - string
            - 'null'
        interactions_30d:
          type: integer
        linkedin_url:
          type: string
        competitor_name:
          type: string
        relationship:
          type: string
        clustr_competitor_id:
          type: string
          description: The Clustr id of `competitor_id`, a competitor (`cmp_...`).
        clustr_competitor_tracked_person_id:
          type: string
          description: The competitor tracked person's Clustr id (`ctp_...`).
        clustr_new_account_id:
          type: string
          description: The Clustr id of `new_company_linkedin_id`, an account (`acc_...`).
        clustr_person_id:
          type: string
          description: The Clustr id of `person_linkedin_id`, a person (`per_...`).
    SlotUsage:
      type: object
      required:
        - used
        - total
        - paused
        - pending
        - plan
        - active
        - limit
      properties:
        used:
          type: integer
        total:
          type: integer
        paused:
          type: integer
        pending:
          type: integer
        plan:
          type: string
        active:
          type: integer
        limit:
          type: integer
  responses:
    BadRequest:
      description: Request validation failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Unauthorized:
      description: Missing or invalid auth.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    FeatureNotEnabled:
      description: >-
        The workspace's plan does not include this paid add-on (CRM Cleaning or
        Competitor Monitoring). error.code is FEATURE_NOT_ENABLED and
        error.message names the add-on. Enforced server-side for every caller:
        the web app, the public API and MCP.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    NotFound:
      description: Resource does not exist.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    InternalServerError:
      description: Unexpected server-side failure.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: The API key you created on the API settings page of the Clustr app.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.