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

# Import Owners

> Add many owners in one call

Add several people to the owner directory at once, the way a CSV import does. Like [Create Owner](https://docs.clustr-ai.com/api-reference/create-owner.md), this creates labels rather than accounts: no email is sent, no seat is used, and nobody gains access to your workspace.

The call is safe to repeat. An address that already belongs to a current owner is skipped, and an address belonging to an owner you deleted brings that owner back. The response tallies each case.

A row's name is written only when you send one, so re-importing a file with the emails alone keeps the names already in the directory.

> [!NOTE]
>
> `email` is the only field a row needs. The name is optional here, unlike in [Create Owner](https://docs.clustr-ai.com/api-reference/create-owner.md).

## Partial success

Each row is checked on its own. A file of 200 rows with one malformed address adds 199 owners and reports the one it dropped. The request only fails outright when *every* row is unusable.

Rows counted as `skipped` are the ones that changed nothing:

* the email was missing or malformed
* the same email appeared earlier in the same request
* the email already belonged to a current owner

> [!WARNING]
>
> A workspace holds at most 2000 owners. The cap is checked against the number of rows you send, not the number that turn out to be new, so re-importing a 400-row file into a directory that already holds those 400 owners is rejected with 400 even though it would have added nobody. Import in batches, or send only the rows you are adding.

```bash cURL theme={null}
curl -X POST "https://api.clustr-ai.com/api/public/owners/own_3p5s7q5cx797zd088atnfasfbm" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "owners": [
      {"email": "sam@northstar.vc", "first_name": "Sam", "last_name": "Okafor"},
      {"email": "dana@acme.com", "first_name": "Dana", "last_name": "Reyes"},
      {"email": "priya@acme.com"}
    ]
  }'
```

```json 200 theme={null}
{
  "success": true,
  "data": {
    "created": 2,
    "revived": 1,
    "skipped": 0
  }
}
```

```json 400 theme={null}
{
  "success": false,
  "error": {
    "message": "no valid owner rows: every email was missing or malformed",
    "code": "BAD_REQUEST"
  }
}
```

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


## OpenAPI

````yaml POST /owners/bulk
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/bulk:
    post:
      tags:
        - Owners
      summary: Import Owners
      description: >-
        Create several owners in one call. Emails that already belong to an
        active owner are skipped, and an owner you deleted earlier is restored
        instead of created twice. Creating owners sends no email.
      operationId: bulkCreateOwners
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkCreateOwnersRequest'
      responses:
        '200':
          description: Owners processed
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      created:
                        type: integer
                        description: Owners added to the directory.
                      revived:
                        type: integer
                        description: >-
                          Owners you had deleted, now restored. The
                          opportunities a restored owner held before the delete
                          stay unassigned.
                      skipped:
                        type: integer
                        description: >-
                          Entries that changed nothing, such as an email that
                          already belongs to an active owner.
        '400':
          description: Invalid request
        '401':
          description: Invalid or missing API key
components:
  schemas:
    BulkCreateOwnersRequest:
      type: object
      required:
        - owners
      properties:
        owners:
          type: array
          description: 'The owners to add: at least 1 and at most 2,000.'
          items:
            $ref: '#/components/schemas/CreateOwnerRequest'
    CreateOwnerRequest:
      type: object
      required:
        - email
      properties:
        email:
          type: string
          description: >-
            The owner's email address. It must be a valid address with a dotted
            domain: `dana@localhost` is rejected as a typo.
          example: alice@yourco.com
        first_name:
          type: string
          description: Owner first name.
          example: Alice
        last_name:
          type: string
          description: Owner last name.
          example: Martin
  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.