curl --request POST \
--url https://api.aisa.one/apis/v1/apollo/accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_stage_id": "<string>",
"domain": "<string>",
"name": "<string>",
"owner_id": "<string>",
"phone": "<string>",
"raw_address": "<string>",
"typed_custom_fields": {
"60c39ed82bd02f01154c470a": "2025-08-07"
}
}
'import requests
url = "https://api.aisa.one/apis/v1/apollo/accounts"
payload = {
"account_stage_id": "<string>",
"domain": "<string>",
"name": "<string>",
"owner_id": "<string>",
"phone": "<string>",
"raw_address": "<string>",
"typed_custom_fields": { "60c39ed82bd02f01154c470a": "2025-08-07" }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
account_stage_id: '<string>',
domain: '<string>',
name: '<string>',
owner_id: '<string>',
phone: '<string>',
raw_address: '<string>',
typed_custom_fields: {'60c39ed82bd02f01154c470a': '2025-08-07'}
})
};
fetch('https://api.aisa.one/apis/v1/apollo/accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/apollo/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'account_stage_id' => '<string>',
'domain' => '<string>',
'name' => '<string>',
'owner_id' => '<string>',
'phone' => '<string>',
'raw_address' => '<string>',
'typed_custom_fields' => [
'60c39ed82bd02f01154c470a' => '2025-08-07'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/apollo/accounts"
payload := strings.NewReader("{\n \"account_stage_id\": \"<string>\",\n \"domain\": \"<string>\",\n \"name\": \"<string>\",\n \"owner_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"raw_address\": \"<string>\",\n \"typed_custom_fields\": {\n \"60c39ed82bd02f01154c470a\": \"2025-08-07\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/apollo/accounts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"account_stage_id\": \"<string>\",\n \"domain\": \"<string>\",\n \"name\": \"<string>\",\n \"owner_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"raw_address\": \"<string>\",\n \"typed_custom_fields\": {\n \"60c39ed82bd02f01154c470a\": \"2025-08-07\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/apollo/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_stage_id\": \"<string>\",\n \"domain\": \"<string>\",\n \"name\": \"<string>\",\n \"owner_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"raw_address\": \"<string>\",\n \"typed_custom_fields\": {\n \"60c39ed82bd02f01154c470a\": \"2025-08-07\"\n }\n}"
response = http.request(request)
puts response.read_body{
"account": {}
}创建账户
创建新账户。
curl --request POST \
--url https://api.aisa.one/apis/v1/apollo/accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_stage_id": "<string>",
"domain": "<string>",
"name": "<string>",
"owner_id": "<string>",
"phone": "<string>",
"raw_address": "<string>",
"typed_custom_fields": {
"60c39ed82bd02f01154c470a": "2025-08-07"
}
}
'import requests
url = "https://api.aisa.one/apis/v1/apollo/accounts"
payload = {
"account_stage_id": "<string>",
"domain": "<string>",
"name": "<string>",
"owner_id": "<string>",
"phone": "<string>",
"raw_address": "<string>",
"typed_custom_fields": { "60c39ed82bd02f01154c470a": "2025-08-07" }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
account_stage_id: '<string>',
domain: '<string>',
name: '<string>',
owner_id: '<string>',
phone: '<string>',
raw_address: '<string>',
typed_custom_fields: {'60c39ed82bd02f01154c470a': '2025-08-07'}
})
};
fetch('https://api.aisa.one/apis/v1/apollo/accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/apollo/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'account_stage_id' => '<string>',
'domain' => '<string>',
'name' => '<string>',
'owner_id' => '<string>',
'phone' => '<string>',
'raw_address' => '<string>',
'typed_custom_fields' => [
'60c39ed82bd02f01154c470a' => '2025-08-07'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/apollo/accounts"
payload := strings.NewReader("{\n \"account_stage_id\": \"<string>\",\n \"domain\": \"<string>\",\n \"name\": \"<string>\",\n \"owner_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"raw_address\": \"<string>\",\n \"typed_custom_fields\": {\n \"60c39ed82bd02f01154c470a\": \"2025-08-07\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/apollo/accounts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"account_stage_id\": \"<string>\",\n \"domain\": \"<string>\",\n \"name\": \"<string>\",\n \"owner_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"raw_address\": \"<string>\",\n \"typed_custom_fields\": {\n \"60c39ed82bd02f01154c470a\": \"2025-08-07\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/apollo/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_stage_id\": \"<string>\",\n \"domain\": \"<string>\",\n \"name\": \"<string>\",\n \"owner_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"raw_address\": \"<string>\",\n \"typed_custom_fields\": {\n \"60c39ed82bd02f01154c470a\": \"2025-08-07\"\n }\n}"
response = http.request(request)
puts response.read_body{
"account": {}
}https://mcp.aisa.one/mcp —— Claude Code、
Codex、Cursor、VS Code 都可以。鉴权走 OAuth:客户端打开浏览器,你点一次
Allow,不需要粘贴任何 key。之后智能体通过几个元工具调用所有端点:
search、list_categories、get_details 和 batch_quote 免费,batch_use
按次计费。各客户端的接入步骤见通过 MCP 连接;实时工具列表和
每次调用的价格见 aisa.one/zh-cn/mcp。请求规范
- 方法与路径: POST /apis/v1/apollo/accounts
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/apollo/accounts - Runtime 事实版本: 9ab7612cf2d53be794cbf1d65d4a257f986ac6783e53c7c3a5d868e4593061c3
{
"operationId": "post_apollo_accounts",
"method": "POST",
"path": "/apis/v1/apollo/accounts",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"account_stage_id": {
"description": "The Apollo ID for the account stage to which you want to assign the account. Call the <a href=\"https://docs.apollo.io/reference/list-account-stages\" target=\"_blank\">list account stages endpoint</a> to retrieve a list of all the account stage IDs available in your Apollo account. <br><br>If you do not specify the account stage, Apollo automatically assigns the account to a stage as determined by your team's Apollo account. To change the order of account stages, launch the Apollo product and go to <b>Settings</b> > <b>Objects</b> > <a href=\"https://app.apollo.io/#/settings/accounts/stages\" target=\"_blank\"><b>Accounts</b></a>. Then, access the <b>Triggers</b> tab and change the stage for when an account is created.<br><br>Example: `6095a710bd01d100a506d4b9`",
"type": "string"
},
"domain": {
"description": "The domain name for the account. <br><br>Do not include `www.` or similar. <br><br>Example: `apollo.io` or `microsoft.com`",
"type": "string"
},
"name": {
"description": "Name the account that you are creating. This should be a human-readable name. <br><br>Example: `The Irish Copywriters`",
"type": "string"
},
"owner_id": {
"description": "The ID for the account owner within your team's Apollo account. <br><br>Use the <a href=\"https://docs.apollo.io/reference/get-a-list-of-users\" target=\"_blank\">get a list of users endpoint</a> to retrieve IDs for all of the users within your Apollo account. <br><br>Example: `66302798d03b9601c7934ebf`",
"type": "string"
},
"phone": {
"description": "The primary phone number for the account. <br><br>This can be the phone number for the corporate headquarters, a branch location, or a direct dial to the primary point of contact for the account. <br><br>Apollo sanitizes phone numbers, so you can enter them in any format. The sanitized number can be viewed in the endpoint response. <br><br>Examples: `555-555-0133`; `+44 7700 900852`",
"type": "string"
},
"raw_address": {
"description": "The corporate location for the account. This can include a city, US state, and country. <br><br>Apollo matches the location you provide to the most applicable pre-defined location. <br><br>Examples: `Belfield, Dublin 4, Ireland`; `Dallas, United States`",
"type": "string"
},
"typed_custom_fields": {
"additionalProperties": {
"type": "string"
},
"description": "Add information to <a href=\"https://knowledge.apollo.io/hc/en-us/articles/4412498754445-Create-Custom-Account-Fields\" target=\"_blank\">custom fields</a> in Apollo. <br><br><b>Your custom fields are unique to your team's Apollo account. This means that the examples in this documentation may not work for your testing purposes.</b> <br><br>To utilize this parameter successfully, call the <a href=\"https://docs.apollo.io/reference/get-a-list-of-all-custom-fields\">get a list of all custom fields</a> endpoint and identify the `id` value for the custom field, as well as the appropriate data type. For example, if a custom field accepts picklist entries, you need to pass the accompanying `id` value for the picklist entry that you want to use as the input value. <br><br><b>Example</b>: When the <a href=\"https://docs.apollo.io/reference/get-a-list-of-all-custom-fields\">get a list of all custom fields</a> endpoint returns an `id` of field: \n * `\"60c39ed82bd02f01154c470a\"` (datetime) \n \n\n then the value passed should be: \n\n `{\"60c39ed82bd02f01154c470a\": \"2025-08-07\"}`",
"example": {
"60c39ed82bd02f01154c470a": "2025-08-07"
},
"type": "object"
}
},
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"x-aisa-pricing": {
"cost_contract": "fixed_success",
"customer_pricing": "fixed_success",
"default_request_estimate_usd": 0.012,
"estimate_source": "profile_seed",
"evidence_source": "request_snapshot"
},
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
公开参考价格:每次成功请求 $0.012 USD。 最终费用以账户适用价格及实际结算为准。 公开参考值不是你的账户报价或最终扣费。对于支持 X-AISA-Cost-Mode: quote 的接口,执行前请针对完整请求获取免费报价;执行后通过响应费用元数据和 Usage Logs 核对结算费用。1 USD 等于 1,000,000 个整数 micro-USD。- 默认请求参考估价(USD): 0.012
- 计费依据: fixed_success
- 结算证据来源: request_snapshot
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
The Apollo ID for the account stage to which you want to assign the account. Call the list account stages endpoint to retrieve a list of all the account stage IDs available in your Apollo account.
If you do not specify the account stage, Apollo automatically assigns the account to a stage as determined by your team's Apollo account. To change the order of account stages, launch the Apollo product and go to Settings > Objects > Accounts. Then, access the Triggers tab and change the stage for when an account is created.
Example: 6095a710bd01d100a506d4b9
The domain name for the account.
Do not include www. or similar.
Example: apollo.io or microsoft.com
Name the account that you are creating. This should be a human-readable name.
Example: The Irish Copywriters
The ID for the account owner within your team's Apollo account.
Use the get a list of users endpoint to retrieve IDs for all of the users within your Apollo account.
Example: 66302798d03b9601c7934ebf
The primary phone number for the account.
This can be the phone number for the corporate headquarters, a branch location, or a direct dial to the primary point of contact for the account.
Apollo sanitizes phone numbers, so you can enter them in any format. The sanitized number can be viewed in the endpoint response.
Examples: 555-555-0133; +44 7700 900852
The corporate location for the account. This can include a city, US state, and country.
Apollo matches the location you provide to the most applicable pre-defined location.
Examples: Belfield, Dublin 4, Ireland; Dallas, United States
Add information to custom fields in Apollo.
Your custom fields are unique to your team's Apollo account. This means that the examples in this documentation may not work for your testing purposes.
To utilize this parameter successfully, call the get a list of all custom fields endpoint and identify the id value for the custom field, as well as the appropriate data type. For example, if a custom field accepts picklist entries, you need to pass the accompanying id value for the picklist entry that you want to use as the input value.
Example: When the get a list of all custom fields endpoint returns an id of field:
"60c39ed82bd02f01154c470a"(datetime)
then the value passed should be:
{"60c39ed82bd02f01154c470a": "2025-08-07"}
Show child attributes
Show child attributes
{ "60c39ed82bd02f01154c470a": "2025-08-07" }
响应
成功响应
已创建的账户