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

# 批量创建联系人

> 批量创建联系人。



## OpenAPI

````yaml openapi/zh/apollo.json POST /apollo/contacts/bulk_create
openapi: 3.0.3
info:
  title: Apollo API
  version: 1.0.0
  description: 通过 AIsa 统一网关公开的 Apollo API 端点。
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /apollo/contacts/bulk_create:
    post:
      summary: 批量创建联系人
      description: 批量创建联系人。需要主 API 密钥。
      operationId: post_apollo_contacts_bulk_create
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                contacts:
                  type: string
                  description: 要创建的联系人数组
                append_label_names:
                  type: string
                  description: 要附加到每个已创建联系人的标签名称
                run_dedupe:
                  type: boolean
                  description: 启用去重。默认为 false。
              required:
                - contacts
      responses:
        '200':
          description: 成功响应
          content:
            application/json:
              schema:
                type: object
                properties:
                  created_contacts:
                    type: string
                    description: 此请求中创建的联系人
                  created_contacts[].id:
                    type: string
                    description: 联系人 ID
                  created_contacts[].first_name:
                    type: string
                    description: 名字
                  created_contacts[].last_name:
                    type: string
                    description: 姓氏
                  created_contacts[].organization_name:
                    type: string
                    description: 组织名称
                  created_contacts[].title:
                    type: string
                    description: 标题
                  created_contacts[].owner_id:
                    type: string
                    description: 所有者 ID
                  created_contacts[].account_id:
                    type: string
                    description: 账户 ID
                  created_contacts[].email:
                    type: string
                    description: 电子邮件
                  created_contacts[].phone_numbers:
                    type: string
                    description: 电话号码
                  created_contacts[].typed_custom_fields:
                    type: object
                    description: 类型化自定义字段对象
                  created_contacts[].updated_at:
                    type: string
                    description: 更新时间戳
                  existing_contacts:
                    type: string
                    description: 已存在的联系人（去重匹配项）
                  existing_contacts[].id:
                    type: string
                    description: 联系人 ID
                  existing_contacts[].first_name:
                    type: string
                    description: 名字
                  existing_contacts[].last_name:
                    type: string
                    description: 姓氏
                  existing_contacts[].organization_name:
                    type: string
                    description: 组织名称
                  existing_contacts[].title:
                    type: string
                    description: 标题
                  existing_contacts[].owner_id:
                    type: string
                    description: 所有者 ID
                  existing_contacts[].account_id:
                    type: string
                    description: 账户 ID
                  existing_contacts[].email:
                    type: string
                    description: 电子邮件
                  existing_contacts[].phone_numbers:
                    type: string
                    description: 电话号码
                  existing_contacts[].typed_custom_fields:
                    type: object
                    description: 类型化自定义字段对象
                  existing_contacts[].updated_at:
                    type: string
                    description: 更新时间戳
        '400':
          description: 错误请求
        '401':
          description: 未授权
        '429':
          description: 超出速率限制
        '500':
          description: 内部服务器错误
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````