> ## 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.

# Set Connector Owner

> Assign an owner to a connector already in your network, without reimporting

Assign an owner to a [connector](https://docs.clustr-ai.com/api-reference/list-connectors.md) that is already in your network. No
reimport, no job, no credits. The change is immediate.

> [!NOTE]
>
> **This is the connector's owner: it moves the whole book.** An opportunity also has its own
> owner, set with [Update Opportunity](https://docs.clustr-ai.com/api-reference/update-opportunity.md), and this endpoint
> overwrites it on every opportunity the connector has. Use this one when someone takes over a
> relationship, and the other when a single intro is handed to a colleague.
>
> The other way to set this is `owner_email` on
> [Import Connectors](https://docs.clustr-ai.com/api-reference/import-connectors.md), at import time. This endpoint is how you
> set or change it afterwards, without reimporting.

Assigning an owner here does three things:

1. The connector reports that owner in [List Connectors](https://docs.clustr-ai.com/api-reference/list-connectors.md) and counts
   toward it in [List Owners](https://docs.clustr-ai.com/api-reference/list-owners.md) `connector_count`, `connectors_by_tag`
   and `opportunity_count`.
2. Every opportunity the connector already has moves to that owner, so their book does not split
   between the old and the new owner.
3. Opportunities discovered for that connector by **later** imports land owned, with no further
   calls.

Send `owner_id` or `owner_email`, not both.

## Removing an owner

`DELETE` on the same path clears it. The connector reports no owner afterwards and newly
discovered opportunities stop inheriting one. Opportunities already assigned keep the owner
stamped on them, so a `DELETE` leaves a live book intact. Reassign the connector with `PUT` if
that is what you meant.

The `DELETE` is idempotent. Clearing an owner that is already absent succeeds.

```bash cURL theme={null}
curl -X PUT "https://api.clustr-ai.com/api/public/network/connectors/per_bb771nzbxnmw9dhsnwhbt47j9b/owner" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"owner_email": "marine.b@example.com"}'
```

```bash cURL (self-service) theme={null}
curl -X PUT "https://api.clustr-ai.com/api/public/network/connectors/per_bb771nzbxnmw9dhsnwhbt47j9b/owner" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "owner_email": "new.rep@example.com",
    "owner_name": "New Rep",
    "create_owner_if_missing": true
  }'
```

```bash cURL (and update the CRM) theme={null}
curl -X PUT "https://api.clustr-ai.com/api/public/network/connectors/per_bb771nzbxnmw9dhsnwhbt47j9b/owner" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"owner_email": "marine.b@example.com", "push_to_crm": true}'
```

```bash cURL (unassign) theme={null}
curl -X DELETE "https://api.clustr-ai.com/api/public/network/connectors/per_bb771nzbxnmw9dhsnwhbt47j9b/owner" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

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

requests.put(
    "https://api.clustr-ai.com/api/public/network/connectors/per_bb771nzbxnmw9dhsnwhbt47j9b/owner",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"owner_email": "marine.b@example.com"},
)
```

```javascript JavaScript theme={null}
await fetch("https://api.clustr-ai.com/api/public/network/connectors/per_bb771nzbxnmw9dhsnwhbt47j9b/owner", {
  method: "PUT",
  headers: { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({ owner_email: "marine.b@example.com" }),
});
```

```json 200 theme={null}
{
  "success": true,
  "data": {
    "clustr_connector_person_id": "per_bb771nzbxnmw9dhsnwhbt47j9b",
    "connector_linkedin_id": "nicdelaye",
    "owner": {
      "clustr_owner_id": "own_frqvq22ynqmxwrxe51m5e64cwq",
      "id": "8f1b2c34-5d6e-4f70-8a91-b2c3d4e5f607",
      "email": "marine.b@example.com",
      "first_name": "Marine",
      "last_name": "B",
      "avatar_url": "",
      "is_member": true,
      "opportunity_count": 63
    },
    "updated_opportunities": 63,
    "crmPush": {
      "status": "pushed",
      "provider": "hubspot",
      "pushed": 1,
      "notPushed": 0
    }
  }
}
```

```json 400 theme={null}
{
  "success": false,
  "error": {
    "message": "No owner found for owner_email: ghost@example.com. Set create_owner_if_missing=true to add them to the owner directory.",
    "code": "BAD_REQUEST"
  }
}
```

```json 404 theme={null}
{
  "success": false,
  "error": {
    "message": "No connector found with linkedin id: nicdelaye",
    "code": "NOT_FOUND"
  }
}
```

```json 401 theme={null}
{
  "success": false,
  "error": { "message": "Invalid or missing API key", "code": "UNAUTHORIZED" }
}
```

## Bulk assignment

Each call assigns one connector. Call this once per connector; the writes are independent, so they can run
concurrently. To find the connectors that still need an owner, list them with
[List Connectors](https://docs.clustr-ai.com/api-reference/list-connectors.md) and `?owner_email=unassigned`.


## OpenAPI

````yaml PUT /network/connectors/{linkedinId}/owner
openapi: 3.1.0
info:
  title: Clustr Public API
  description: >
    Programmatic access to your Clustr network: import connectors, search warm
    intros (opportunities), 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: '1.0'
  contact:
    name: Clustr Support
    url: https://clustr-ai.com
servers:
  - url: https://api.clustr-ai.com/api/public
    description: Production
security:
  - BearerAuth: []
paths:
  /network/connectors/{linkedinId}/owner:
    parameters:
      - name: linkedinId
        in: path
        required: true
        schema:
          type: string
        description: >-
          The connector's Clustr ID (`per_…`), from [List
          Connectors](/api-reference/list-connectors).

          Their LinkedIn public identifier, the `linkedin_id` that list returns,
          also works: for

          `https://www.linkedin.com/in/nicdelaye` that is `nicdelaye`.
        example: per_mgq4xd521y8afq75knghjz7e3h
    put:
      tags:
        - Network
      summary: Set Connector Owner
      description: >-
        Assign an owner to a connector already in your network, without a
        reimport. An owner owns a connector and everything it produces: List
        Connectors reports the owner, the owner filters and coverage counts use
        it, and later imports apply it to newly discovered opportunities.
        Existing opportunities for the connector move to the new owner too.

        An opportunity also has its own owner, set with PUT /opportunities/{id};
        this endpoint overwrites it on every opportunity the connector has.

        `push_to_crm` (or `pushToCrm`) also writes the owner to the connector's
        CRM contact; the response's `crmPush` says what happened there.
      operationId: setConnectorOwner
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetConnectorOwnerRequest'
      responses:
        '200':
          description: Owner assigned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectorOwnerResponse'
        '400':
          description: >-
            The body names neither or both of `owner_id` and `owner_email`, or
            `owner_email` matches no owner
        '401':
          description: Invalid or missing API key
        '404':
          description: >-
            No such connector in your network, or no such owner in your
            workspace
components:
  schemas:
    SetConnectorOwnerRequest:
      type: object
      description: Who should own this connector. Send either `owner_id` or `owner_email`.
      properties:
        owner_id:
          type: string
          description: >-
            An owner's Clustr ID (`own_…`) from [List
            Owners](/api-reference/list-owners). The id from

            earlier responses also works.
        owner_email:
          type: string
          format: email
          description: >-
            The owner's email address, looked up in your owner directory: the
            same address you would send as `owner_email` when importing.
        create_owner_if_missing:
          type: boolean
          default: false
          description: >-
            Adds `owner_email` to the owner directory when no owner holds it
            yet, instead of returning an error. Use it in self-service flows
            where the person being assigned may not be in the directory. It adds
            a name to the directory only, so it uses no seat, sends no email and
            grants no access. See [Owners are a directory, not a
            seat](/mcp-server#owners-are-a-directory-not-a-seat).
        owner_name:
          type: string
          description: >-
            The display name for an owner that `create_owner_if_missing`
            creates. Used only when the owner is created.
        push_to_crm:
          type: boolean
          default: false
          description: >-
            Also write the owner to the connector's CRM contact. Off by default,
            so each CRM

            write is a deliberate choice. When the owner mapping is set to
            "Clustr sets the

            value", Clustr pushes the owner whatever this flag says; when it is
            set to "Your CRM

            sets the value" or paused, the owner stays in Clustr. `pushToCrm` is
            accepted as the

            same flag.


            The owner is saved in Clustr whether or not the push succeeds. See

            [HubSpot](/hubspot#owner-sync), [Salesforce](/salesforce#owner-sync)
            and

            [Attio](/attio#owner-sync).
        pushToCrm:
          type: boolean
          description: The same flag as `push_to_crm`.
    ConnectorOwnerResponse:
      type: object
      required:
        - success
        - data
      properties:
        success:
          type: boolean
        data:
          type: object
          properties:
            clustr_connector_person_id:
              type: string
              description: >-
                The connector's Clustr ID, for example
                `per_6nwgsf9nndywga4cjddj35a3ta`.
              example: per_6nwgsf9nndywga4cjddj35a3ta
            connector_linkedin_id:
              type: string
              description: The connector you assigned.
            owner:
              allOf:
                - $ref: '#/components/schemas/Owner'
              description: |-
                The owner now accountable for the connector. Same shape as
                [Get Owner](/api-reference/get-owner). `null` after a `DELETE`.
            updated_opportunities:
              type: integer
              description: >-
                How many of the connector's existing opportunities were written
                to this owner. It counts the connector's whole current book, so
                sending the same owner again reports the same number. 0 on a
                `DELETE`.
            crmPush:
              allOf:
                - $ref: '#/components/schemas/CRMPushOutcome'
              description: >-
                What happened in the CRM. Present only when a push was asked
                for, or when the

                mapping pushes on every write. Its name is camelCase because
                every owner write

                answers with this same object.


                - `status`: `pushed`, `refused`, `failed` or `skipped`

                - `reason`: a machine code, such as `direction_crm_owns`,
                `owner_not_in_crm`,
                  `owner_deactivated`, `record_not_matched`, `writes_disabled` or
                  `crm_not_connected`
                - `message`: one sentence written for a person

                - `provider`: the CRM written to

                - `pushed` / `notPushed`: record counts
    Owner:
      type: object
      description: >-
        A person an opportunity can be assigned to. Owners form a directory for
        your workspace, separate from its logins: an owner may be a workspace
        member, an investor, an advisor, or anyone else accountable for an
        intro.
      required:
        - id
        - email
      properties:
        clustr_owner_id:
          type: string
          description: >-
            The owner's Clustr ID, for example `own_714zhr540rzcjdefbk7n844zp5`.
            Use it to refer to this

            owner. Pass it as `owner_id` when you update an opportunity.
          example: own_714zhr540rzcjdefbk7n844zp5
        id:
          type: string
          description: >-
            Kept for integrations built before Clustr IDs. New integrations
            should use `clustr_owner_id`.
          format: uuid
        email:
          type: string
          description: Email address.
          example: alice@yourco.com
        first_name:
          type: string
          description: First name, empty when it was not provided.
          example: Alice
        last_name:
          type: string
          description: Last name, empty when it was not provided.
          example: Martin
        name:
          type: string
          description: >-
            The display name: first and last name joined, or the email address
            when the owner has no name, or `Unknown owner` when it has neither.
          example: Alice Martin
        avatar_url:
          type: string
          description: Profile picture URL. Empty when the owner has no picture.
        is_member:
          type: boolean
          description: >-
            `true` when the owner is also a member of your workspace with a
            login, `false` for a directory-only owner.
        crmSeat:
          type: object
          description: >-
            Whether this owner exists in the connected CRM, so you can tell
            before writing

            whether a `push_to_crm` can name them. Present only when a CRM is
            connected and

            Clustr could read its user list.


            - `provider`: the connected CRM

            - `hasSeat`: `true` when a CRM user holds this owner's email
            address. Matching is by
              email address.
            - `deactivated`: `true` when that CRM user is archived or inactive.
            A push to a
              deactivated user is refused with `owner_deactivated`.

            An owner with `hasSeat: false` can still own the record in Clustr;
            only the CRM

            write is refused.
          properties:
            provider:
              type: string
              description: The connected CRM.
            hasSeat:
              type: boolean
              description: True when a CRM user holds this owner's email address.
            deactivated:
              type: boolean
              description: >-
                True when that CRM user is archived or inactive. A push naming
                them is refused with reason `owner_deactivated`.
        source:
          type: string
          description: >-
            How the owner got into the directory: `user` for one provisioned
            automatically from a workspace member, `manual` for [Create
            Owner](/api-reference/create-owner), `csv` for [Import
            Owners](/api-reference/import-owners), `api` for one created by
            passing `owner_email` with `create_owner_if_missing` to [Update
            Opportunity](/api-reference/update-opportunity).
          enum:
            - user
            - manual
            - csv
            - api
        connector_count:
          type: integer
          description: >-
            How many connectors this owner is accountable for. Present only when
            the request sets `with_connector_counts=true`.
        connectors_by_tag:
          type: object
          additionalProperties:
            type: integer
          description: >-
            That owner's connectors, counted by the **connectors'** tags. Read
            it as "of the

            people this owner is accountable for, N are tagged X".


            Present only when the request sets `with_connector_counts=true`. An
            owner with no

            connectors returns `{}`, and only tags with at least one connector
            appear.


            A connector carrying several tags is counted under each, so the
            values can sum to

            **more** than `connector_count`. An untagged connector is in
            `connector_count` and

            in no bucket, so they can also sum to **less**. Read each tag's
            count from its own

            entry.
        opportunity_count:
          type: integer
          description: >-
            How many opportunities are **assigned** to this owner. It is `0`
            unless the request

            sets `with_counts=true`.


            This is the full assignment count, so it is usually higher than the
            `total` that

            [Search Opportunities](/api-reference/search-opportunities) returns
            for the same

            owner. The search hides opportunities with no engagement,
            opportunities closed by

            their status, opportunities not yet scored, and opportunities whose
            prospect is one

            of your own connectors; this count includes all of them. Both
            numbers are correct

            and answer different questions: this one is "what is this person
            accountable for",

            the search total is "what can they act on today".


            An owner with an `opportunity_count` of `0` has nothing assigned, so
            the search

            returns nothing for them either. A non-zero count can still return
            no search

            results.
    CRMPushOutcome:
      type: object
      description: >-
        What an owner write did in the connected CRM. The owner is saved in
        Clustr whatever this says.
      properties:
        status:
          type: string
          enum:
            - pushed
            - refused
            - failed
            - skipped
        reason:
          type: string
          description: >-
            A machine code when the push did not land: direction_crm_owns,
            direction_off, no_owner_field, writes_disabled, owner_not_in_crm,
            owner_deactivated, record_not_found, record_not_matched,
            clear_not_pushed, crm_not_connected, invalid_request,
            provider_error, owner_lookup_failed.
        message:
          type: string
          description: One sentence written for a person.
        provider:
          type: string
          description: The CRM written to.
        pushed:
          type: integer
          description: How many records were written in the CRM.
        notPushed:
          type: integer
          description: How many records the push did not cover.
  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.