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

# 将联系人添加到序列

> 将联系人添加到序列。

## 请求规范

* **方法与路径:** POST /apis/v1/apollo/emailer\_campaigns/\{sequence\_id}/add\_contact\_ids
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/apollo/emailer_campaigns/{sequence_id}/add_contact_ids`
* **sequence\_id:** path; 必填
* **contact\_ids\[]:** query; 可选
* **emailer\_campaign\_id:** query; 必填
* **label\_names\[]:** query; 可选
* **send\_email\_from\_email\_account\_id:** query; 必填
* **send\_email\_from\_email\_address:** query; 可选
* **sequence\_active\_in\_other\_campaigns:** query; 可选
* **sequence\_finished\_in\_other\_campaigns:** query; 可选
* **sequence\_job\_change:** query; 可选
* **sequence\_no\_email:** query; 可选
* **sequence\_unverified\_email:** query; 可选

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/apollo.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "post_apollo_emailer_campaigns_add_contact_ids",
  "method": "POST",
  "path": "/apis/v1/apollo/emailer_campaigns/{sequence_id}/add_contact_ids",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Sequence (emailer campaign) ID.",
      "in": "path",
      "name": "sequence_id",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Contact IDs to add. Provide either contact_ids[] or label_names[] (or both).",
      "in": "query",
      "name": "contact_ids[]",
      "required": false,
      "schema": {
        "items": {
          "type": "string"
        },
        "type": "array"
      }
    },
    {
      "description": "Sequence ID (same as sequence_id).",
      "in": "query",
      "name": "emailer_campaign_id",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Label names for contacts to add. Provide either label_names[] or contact_ids[] (or both).",
      "in": "query",
      "name": "label_names[]",
      "required": false,
      "schema": {
        "items": {
          "type": "string"
        },
        "type": "array"
      }
    },
    {
      "description": "Email account ID (or IDs) to send from.",
      "in": "query",
      "name": "send_email_from_email_account_id",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Optional from-address alias.",
      "in": "query",
      "name": "send_email_from_email_address",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "Allow contacts active in other sequences.",
      "in": "query",
      "name": "sequence_active_in_other_campaigns",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "Allow contacts finished in other sequences.",
      "in": "query",
      "name": "sequence_finished_in_other_campaigns",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "Allow contacts with job change.",
      "in": "query",
      "name": "sequence_job_change",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "Allow contacts without email.",
      "in": "query",
      "name": "sequence_no_email",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "Allow contacts with unverified email.",
      "in": "query",
      "name": "sequence_unverified_email",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

公开参考价格：每次成功请求 \$0.012 USD。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi/zh/apollo.json POST /apis/v1/apollo/emailer_campaigns/{sequence_id}/add_contact_ids
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/emailer_campaigns/{sequence_id}/add_contact_ids:
    post:
      tags:
        - default
      summary: 将联系人添加到序列
      description: >-
        Add contacts to an email sequence. ⚠️ This is the endpoint that causes
        real email to be sent: once added to an active sequence, contacts start
        receiving its steps from the workspace's connected mailboxes. Get the
        sequence id from `post_apollo_emailer_campaigns_search` and confirm its
        state before adding anyone. 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. Sending cannot be recalled once a
        step goes out.


        Add contacts to a sequence. Requires a master API key.
      operationId: post_apollo_emailer_campaigns_sequence_id_add_contact_ids
      parameters:
        - description: 序列（邮件营销活动）ID。
          in: path
          name: sequence_id
          required: true
          schema:
            type: string
        - description: 要添加的联系人 ID。请提供 contact_ids[] 或 label_names[]（也可两者都提供）。
          in: query
          name: contact_ids[]
          required: false
          schema:
            items:
              type: string
            type: array
        - description: 序列 ID（与 sequence_id 相同）。
          in: query
          name: emailer_campaign_id
          required: true
          schema:
            type: string
        - description: 要添加到联系人的标签名称。请提供 label_names[] 或 contact_ids[]（也可同时提供）。
          in: query
          name: label_names[]
          required: false
          schema:
            items:
              type: string
            type: array
        - description: 用于发送邮件的邮箱账户 ID（可指定一个或多个）。
          in: query
          name: send_email_from_email_account_id
          required: true
          schema:
            type: string
        - description: 可选的发件地址别名。
          in: query
          name: send_email_from_email_address
          required: false
          schema:
            type: string
        - description: 允许联系人同时活跃于其他序列中。
          in: query
          name: sequence_active_in_other_campaigns
          required: false
          schema:
            type: boolean
        - description: 允许已在其他序列中完成的联系人。
          in: query
          name: sequence_finished_in_other_campaigns
          required: false
          schema:
            type: boolean
        - description: 允许职位发生变动的联系人。
          in: query
          name: sequence_job_change
          required: false
          schema:
            type: boolean
        - description: 允许没有电子邮件地址的联系人。
          in: query
          name: sequence_no_email
          required: false
          schema:
            type: boolean
        - description: 允许电子邮件未经验证的联系人。
          in: query
          name: sequence_unverified_email
          required: false
          schema:
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  success:
                    description: 添加是否成功（返回时）。
                    type: boolean
                type: object
          description: 成功响应
        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.