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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Bulk Create Accounts

> Create several accounts in one call.

Create several accounts in one call. Same duplicate-domain rule as [`post_apollo_accounts`](https://aisa.one/docs/api-reference/apollo/post_apollo-accounts), applied per record, so a partial success is normal — read the response rather than assuming every row was created. Writes land in the AIsa workspace, which every caller shares: the record becomes visible and editable by others, and there is no per-caller isolation.

> [!NOTE]
>
> **First time?** Point any MCP client at `https://mcp.aisa.one/mcp` — Claude
> Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
> opens a browser, you click Allow once, and there is no key to paste. Your
> agent then reaches every endpoint through a few meta tools: `search`,
> `list_categories`, `get_details` and `batch_quote` are free, `batch_use` is
> billed per call. Setup per client is in
> [Connect via MCP](https://aisa.one/docs/agent-quickstart.md); the live tool list and what each call
> costs are on [aisa.one/mcp](https://aisa.one/mcp#connect).

[Set this endpoint up in your agent →](https://aisa.one/mcp?from=/api-reference/apollo/post_apollo-accounts-bulk-create)

## Request contract

* **Method and path:** POST /apis/v1/apollo/accounts/bulk\_create
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/apollo/accounts/bulk_create`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/apollo.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "post_apollo_accounts_bulk_create",
  "method": "POST",
  "path": "/apis/v1/apollo/accounts/bulk_create",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "Basic Account Creation": {
            "value": {
              "accounts": [
                {
                  "domain": "acme.com",
                  "name": "Acme Corporation",
                  "phone": "+1-555-0135"
                },
                {
                  "domain": "example.com",
                  "linkedin_url": "https://linkedin.com/company/techstart",
                  "name": "TechStart Inc"
                }
              ]
            }
          },
          "With CRM IDs (Returns Existing Without Updating)": {
            "value": {
              "accounts": [
                {
                  "name": "New Name",
                  "phone": "+1-555-0159",
                  "salesforce_id": "001pJNj9pix2idKsfj"
                },
                {
                  "hubspot_id": "12345678",
                  "name": "Another New Name"
                }
              ]
            }
          },
          "With Custom Fields and Labels": {
            "value": {
              "accounts": [
                {
                  "account_stage_id": "507f1f77bcf86cd799439014",
                  "domain": "example.com",
                  "name": "Enterprise Client",
                  "typed_custom_fields": {
                    "507f1f77bcf86cd799439020": "High Value",
                    "507f1f77bcf86cd799439021": "Q4 2025"
                  }
                }
              ],
              "append_label_names": [
                "Enterprise",
                "Priority"
              ]
            }
          },
          "With Deduplication (Returns Existing Without Updating)": {
            "value": {
              "accounts": [
                {
                  "domain": "existing-company.com",
                  "name": "New Company Name"
                }
              ],
              "run_dedupe": true
            }
          }
        },
        "schema": {
          "properties": {
            "accounts": {
              "description": "Array of account attribute objects (maximum 100 accounts per request)",
              "items": {
                "properties": {
                  "account_stage_id": {
                    "description": "Account stage/pipeline stage ID (BSON::ObjectId format)",
                    "example": "507f1f77bcf86cd799439014",
                    "type": "string"
                  },
                  "domain": {
                    "description": "Company domain (e.g., 'example.com')",
                    "example": "acme.com",
                    "type": "string"
                  },
                  "facebook_url": {
                    "description": "Facebook page URL",
                    "example": "https://facebook.com/acme",
                    "type": "string"
                  },
                  "hubspot_id": {
                    "description": "HubSpot company ID for CRM integration",
                    "example": "12345678",
                    "type": "string"
                  },
                  "linkedin_url": {
                    "description": "LinkedIn company page URL",
                    "example": "https://linkedin.com/company/acme",
                    "type": "string"
                  },
                  "merged_crm_ids": {
                    "description": "Additional CRM IDs for deduplication",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "name": {
                    "description": "Account name",
                    "example": "Acme Corporation",
                    "type": "string"
                  },
                  "organization_id": {
                    "description": "Apollo organization ID",
                    "example": "507f1f77bcf86cd799439012",
                    "type": "string"
                  },
                  "owner_id": {
                    "description": "Account owner user ID (BSON::ObjectId format). Defaults to current user if not provided",
                    "example": "507f1f77bcf86cd799439013",
                    "type": "string"
                  },
                  "parent_account_id": {
                    "description": "Parent account ID for account hierarchy (BSON::ObjectId format)",
                    "example": "507f1f77bcf86cd799439016",
                    "type": "string"
                  },
                  "phone": {
                    "description": "Company phone number",
                    "example": "+1-555-0135",
                    "type": "string"
                  },
                  "phone_status_cd": {
                    "description": "Phone validation status",
                    "type": "string"
                  },
                  "raw_address": {
                    "description": "Company address",
                    "example": "123 Main St, San Francisco, CA 94105",
                    "type": "string"
                  },
                  "salesforce_id": {
                    "description": "Salesforce account ID for CRM integration",
                    "example": "001pJNj9pix2idKsfj",
                    "type": "string"
                  },
                  "twitter_url": {
                    "description": "Twitter profile URL",
                    "example": "https://twitter.com/acme",
                    "type": "string"
                  },
                  "typed_custom_fields": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "description": "Custom field values as key-value pairs where key is the field_id and value is the field_value",
                    "example": {
                      "507f1f77bcf86cd799439020": "High Value",
                      "507f1f77bcf86cd799439021": "Q4 2025"
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "maxItems": 100,
              "type": "array"
            },
            "append_label_names": {
              "description": "Array of label names to add to ALL accounts in this request",
              "example": [
                "Enterprise",
                "High Priority"
              ],
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "run_dedupe": {
              "default": false,
              "description": "Enable aggressive deduplication by domain, organization_id, and name. When false (default), only matches by CRM IDs. When true, also matches by domain, organization_id, and name. Existing accounts are returned without modification in both modes",
              "example": true,
              "type": "boolean"
            }
          },
          "required": [
            "accounts"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Published reference price: \$0.012 USD per successful request. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/apollo.json POST /apis/v1/apollo/accounts/bulk_create
openapi: 3.1.0
info:
  description: ''
  title: Apollo
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    apollo:
      description: ''
      title: Apollo
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 9ab7612cf2d53be794cbf1d65d4a257f986ac6783e53c7c3a5d868e4593061c3
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/apollo/account_stages
    - /apis/v1/apollo/accounts
    - /apis/v1/apollo/accounts/bulk_create
    - /apis/v1/apollo/accounts/bulk_update
    - /apis/v1/apollo/accounts/search
    - /apis/v1/apollo/accounts/update_owners
    - /apis/v1/apollo/accounts/{account_id}
    - /apis/v1/apollo/accounts/{id}
    - /apis/v1/apollo/contact_stages
    - /apis/v1/apollo/contacts
    - /apis/v1/apollo/contacts/bulk_create
    - /apis/v1/apollo/contacts/bulk_update
    - /apis/v1/apollo/contacts/search
    - /apis/v1/apollo/contacts/update_owners
    - /apis/v1/apollo/contacts/update_stages
    - /apis/v1/apollo/contacts/{contact_id}
    - /apis/v1/apollo/email_accounts
    - /apis/v1/apollo/emailer_campaigns/remove_or_stop_contact_ids
    - /apis/v1/apollo/emailer_campaigns/search
    - /apis/v1/apollo/emailer_campaigns/{sequence_id}/abort
    - /apis/v1/apollo/emailer_campaigns/{sequence_id}/add_contact_ids
    - /apis/v1/apollo/emailer_campaigns/{sequence_id}/approve
    - /apis/v1/apollo/emailer_campaigns/{sequence_id}/archive
    - /apis/v1/apollo/emailer_messages/search
    - /apis/v1/apollo/emailer_messages/{id}/activities
    - /apis/v1/apollo/fields
    - /apis/v1/apollo/labels
    - /apis/v1/apollo/mixed_companies/search
    - /apis/v1/apollo/mixed_people/api_search
    - /apis/v1/apollo/news_articles/search
    - /apis/v1/apollo/notes
    - /apis/v1/apollo/opportunities
    - /apis/v1/apollo/opportunities/search
    - /apis/v1/apollo/opportunities/{opportunity_id}
    - /apis/v1/apollo/opportunity_stages
    - /apis/v1/apollo/organizations/bulk_enrich
    - /apis/v1/apollo/organizations/enrich
    - /apis/v1/apollo/organizations/{id}
    - /apis/v1/apollo/organizations/{organization_id}/job_postings
    - /apis/v1/apollo/people/bulk_match
    - /apis/v1/apollo/people/match
    - /apis/v1/apollo/phone_calls
    - /apis/v1/apollo/phone_calls/search
    - /apis/v1/apollo/phone_calls/{id}
    - /apis/v1/apollo/reports/sync_report
    - /apis/v1/apollo/tasks
    - /apis/v1/apollo/tasks/bulk_create
    - /apis/v1/apollo/tasks/search
    - /apis/v1/apollo/typed_custom_fields
    - /apis/v1/apollo/usage_stats/api_usage_stats
    - /apis/v1/apollo/users/search
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:cadc6c94ad9ee45934c75643991b1373378c2edbf1eb13bebd3f0f5019762f72
    facts_hash: 9ab7612cf2d53be794cbf1d65d4a257f986ac6783e53c7c3a5d868e4593061c3
    generator_version: '3'
    identity_base_document_hash: sha256:25cc6bf335978cfe70694f2688fff160a70228967dd3c543257ec629bcb08bcc
    identity_compatibility_hash: sha256:3bc28cb12b6a6f37411c3d96a19e68e7ef629e36d32c2e39fa51f0c423aa0fa2
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: apollo
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/apollo/accounts/bulk_create:
    post:
      tags:
        - default
      summary: Bulk Create Accounts
      description: >-
        Create several accounts in one call. Same duplicate-domain rule as
        `post_apollo_accounts`, applied per record, so a partial success is
        normal — read the response rather than assuming every row was created.
        Writes land in the AIsa workspace, which every caller shares: the record
        becomes visible and editable by others, and there is no per-caller
        isolation.


        Bulk create accounts. Requires a master API key.
      operationId: post_apollo_accounts_bulk_create
      requestBody:
        content:
          application/json:
            examples:
              Basic Account Creation:
                value:
                  accounts:
                    - domain: acme.com
                      name: Acme Corporation
                      phone: +1-555-0135
                    - domain: example.com
                      linkedin_url: https://linkedin.com/company/techstart
                      name: TechStart Inc
              With CRM IDs (Returns Existing Without Updating):
                value:
                  accounts:
                    - name: New Name
                      phone: +1-555-0159
                      salesforce_id: 001pJNj9pix2idKsfj
                    - hubspot_id: '12345678'
                      name: Another New Name
              With Custom Fields and Labels:
                value:
                  accounts:
                    - account_stage_id: 507f1f77bcf86cd799439014
                      domain: example.com
                      name: Enterprise Client
                      typed_custom_fields:
                        507f1f77bcf86cd799439020: High Value
                        507f1f77bcf86cd799439021: Q4 2025
                  append_label_names:
                    - Enterprise
                    - Priority
              With Deduplication (Returns Existing Without Updating):
                value:
                  accounts:
                    - domain: existing-company.com
                      name: New Company Name
                  run_dedupe: true
            schema:
              properties:
                accounts:
                  description: >-
                    Array of account attribute objects (maximum 100 accounts per
                    request)
                  items:
                    properties:
                      account_stage_id:
                        description: >-
                          Account stage/pipeline stage ID (BSON::ObjectId
                          format)
                        example: 507f1f77bcf86cd799439014
                        type: string
                      domain:
                        description: Company domain (e.g., 'example.com')
                        example: acme.com
                        type: string
                      facebook_url:
                        description: Facebook page URL
                        example: https://facebook.com/acme
                        type: string
                      hubspot_id:
                        description: HubSpot company ID for CRM integration
                        example: '12345678'
                        type: string
                      linkedin_url:
                        description: LinkedIn company page URL
                        example: https://linkedin.com/company/acme
                        type: string
                      merged_crm_ids:
                        description: Additional CRM IDs for deduplication
                        items:
                          type: string
                        type: array
                      name:
                        description: Account name
                        example: Acme Corporation
                        type: string
                      organization_id:
                        description: Apollo organization ID
                        example: 507f1f77bcf86cd799439012
                        type: string
                      owner_id:
                        description: >-
                          Account owner user ID (BSON::ObjectId format).
                          Defaults to current user if not provided
                        example: 507f1f77bcf86cd799439013
                        type: string
                      parent_account_id:
                        description: >-
                          Parent account ID for account hierarchy
                          (BSON::ObjectId format)
                        example: 507f1f77bcf86cd799439016
                        type: string
                      phone:
                        description: Company phone number
                        example: +1-555-0135
                        type: string
                      phone_status_cd:
                        description: Phone validation status
                        type: string
                      raw_address:
                        description: Company address
                        example: 123 Main St, San Francisco, CA 94105
                        type: string
                      salesforce_id:
                        description: Salesforce account ID for CRM integration
                        example: 001pJNj9pix2idKsfj
                        type: string
                      twitter_url:
                        description: Twitter profile URL
                        example: https://twitter.com/acme
                        type: string
                      typed_custom_fields:
                        additionalProperties:
                          type: string
                        description: >-
                          Custom field values as key-value pairs where key is
                          the field_id and value is the field_value
                        example:
                          507f1f77bcf86cd799439020: High Value
                          507f1f77bcf86cd799439021: Q4 2025
                        type: object
                    type: object
                  maxItems: 100
                  type: array
                append_label_names:
                  description: Array of label names to add to ALL accounts in this request
                  example:
                    - Enterprise
                    - High Priority
                  items:
                    type: string
                  type: array
                run_dedupe:
                  default: false
                  description: >-
                    Enable aggressive deduplication by domain, organization_id,
                    and name. When false (default), only matches by CRM IDs.
                    When true, also matches by domain, organization_id, and
                    name. Existing accounts are returned without modification in
                    both modes
                  example: true
                  type: boolean
              required:
                - accounts
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  created_accounts:
                    description: Accounts created in this request
                    type: string
                  created_accounts[].account_stage_id:
                    description: Account stage ID
                    type: string
                  created_accounts[].created_at:
                    description: Created timestamp
                    type: string
                  created_accounts[].domain:
                    description: Account domain
                    type: string
                  created_accounts[].id:
                    description: Account ID
                    type: string
                  created_accounts[].name:
                    description: Account name
                    type: string
                  created_accounts[].owner_id:
                    description: Owner ID
                    type: string
                  created_accounts[].phone:
                    description: Phone number
                    type: string
                  created_accounts[].team_id:
                    description: Team ID
                    type: string
                  created_accounts[].updated_at:
                    description: Updated timestamp
                    type: string
                  existing_accounts:
                    description: Accounts that already existed (dedupe matches)
                    type: string
                  existing_accounts[].account_stage_id:
                    description: Account stage ID
                    type: string
                  existing_accounts[].created_at:
                    description: Created timestamp
                    type: string
                  existing_accounts[].domain:
                    description: Account domain
                    type: string
                  existing_accounts[].id:
                    description: Account ID
                    type: string
                  existing_accounts[].name:
                    description: Account name
                    type: string
                  existing_accounts[].owner_id:
                    description: Owner ID
                    type: string
                  existing_accounts[].phone:
                    description: Phone number
                    type: string
                  existing_accounts[].team_id:
                    description: Team ID
                    type: string
                  existing_accounts[].updated_at:
                    description: Updated timestamp
                    type: string
                type: object
          description: Successful response
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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