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

# List Owners

> List the people an opportunity can be assigned to

List the owner directory for your workspace. An owner is anyone accountable for an opportunity, whether or not they have a Clustr login: a teammate, an investor, an advisor, a friend. Use the returned `clustr_owner_id` as `owner_id`, or the `email` as `owner_email`, with the [Update Opportunity](https://docs.clustr-ai.com/api-reference/update-opportunity.md) endpoint.

```bash cURL theme={null}
curl "https://api.clustr-ai.com/api/public/owners?search=alice&with_counts=true" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```json 200 theme={null}
{
  "success": true,
  "data": {
    "owners": [
      {
        "clustr_owner_id": "own_3gp4h4j95n3atvhqh02y941x4t",
        "id": "3f2b1c40-8a11-4f2e-9d61-0f5a8c7a2b13",
        "email": "alice@yourco.com",
        "first_name": "Alice",
        "last_name": "Martin",
        "avatar_url": "https://cdn.clustr-ai.com/avatars/alice.png",
        "is_member": true,
        "opportunity_count": 12,
        "connector_count": 45,
        "connectors_by_tag": { "Employee": 1, "Friend": 44 },
        "crmSeat": { "provider": "hubspot", "hasSeat": true, "deactivated": false }
      },
      {
        "clustr_owner_id": "own_adj1sxt77abs0d221hcyj2ec45",
        "id": "9c8e77d1-4b2a-4c8f-9a30-6e21d4f0aa57",
        "email": "sam@northstar.vc",
        "first_name": "Sam",
        "last_name": "Okafor",
        "avatar_url": "",
        "is_member": false,
        "opportunity_count": 3
      }
    ]
  }
}
```

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

## Finding teammates who have not built their own network

`connectors_by_tag` is how you tell a teammate who was added by a bulk roster import
from one who has connected their own network. Import-created connectors carry whatever
tag the import assigned them; self-service connectors carry the tag your workspace uses
for personal contacts.

```
GET /owners?with_connector_counts=true&email=titouan@example.com,tony@example.com
```

```json theme={null}
{ "email": "titouan@example.com", "connector_count": 1,
  "connectors_by_tag": { "Employee": 1 } }
```

That owner is accountable for one connector, and it came from the roster import, so they
have not added anyone themselves.

Note that `opportunity_count` will **not** tell you this. Someone imported from a roster
has a non-zero opportunity count and looks active, even though they have contributed
nothing personally.

Which tag means "personal" is your decision: tag names are yours to define, so the API
returns the breakdown rather than guessing.

### Checking a batch of people at once

Pass every address you care about in a single request (for example the members of
one deal channel) and read the counts back together:

```
GET /owners?with_connector_counts=true&email=a@acme.com,b@acme.com,c@acme.com
```

Owners that exist come back with their counts. Addresses that match no owner are
absent, so the set you sent minus the set you received is your list of people who are
not owners yet.


## OpenAPI

````yaml GET /owners
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:
  /owners:
    get:
      tags:
        - Owners
      summary: List Owners
      description: >-
        List the owner directory: everyone an opportunity can be assigned to,
        whether or not they have a Clustr login. Use an owner's `id` (or
        `email`) when updating an opportunity.
      operationId: listOwners
      parameters:
        - name: search
          in: query
          required: false
          schema:
            type: string
          description: Filter owners by name or email. Omit to return the whole directory.
        - name: with_counts
          in: query
          required: false
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
          description: >-
            Set to `true` to populate `opportunity_count` on each owner. Off by
            default, because counting makes the request slower.
        - name: email
          in: query
          schema:
            type: array
            items:
              type: string
          style: form
          explode: true
          description: >-
            Restrict the directory to these exact addresses, matched
            case-insensitively. Repeat the parameter
            (`?email=a@x.com&email=b@x.com`) or comma-separate them
            (`?email=a@x.com,b@x.com`).
        - name: q
          in: query
          deprecated: true
          schema:
            type: string
          description: >-
            Filter owners by name or email. The same as `search`. `search` is
            the name to use.

            Use this to resolve a batch of addresses in one request rather than
            one request each. An address that matches no owner is left out of
            the response, so comparing what you sent against what came back
            tells you which people are owners.
        - name: with_connector_counts
          in: query
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
          description: >-
            Set to `true` to populate `connector_count` and `connectors_by_tag`
            on each owner. This is separate from `with_counts` and off by
            default, because it makes the request slower.
      responses:
        '200':
          description: List of owners
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      owners:
                        type: array
                        description: The owners.
                        items:
                          $ref: '#/components/schemas/Owner'
        '401':
          description: Invalid or missing API key
components:
  schemas:
    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.
  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.