Bulk Create Accounts
curl --request POST \
--url https://api.aisa.one/apis/v1/apollo/accounts/bulk_create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accounts": "<string>",
"append_label_names": "<string>",
"run_dedupe": true
}
'import requests
url = "https://api.aisa.one/apis/v1/apollo/accounts/bulk_create"
payload = {
"accounts": "<string>",
"append_label_names": "<string>",
"run_dedupe": True
}
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({accounts: '<string>', append_label_names: '<string>', run_dedupe: true})
};
fetch('https://api.aisa.one/apis/v1/apollo/accounts/bulk_create', 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/bulk_create",
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([
'accounts' => '<string>',
'append_label_names' => '<string>',
'run_dedupe' => true
]),
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/bulk_create"
payload := strings.NewReader("{\n \"accounts\": \"<string>\",\n \"append_label_names\": \"<string>\",\n \"run_dedupe\": true\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/bulk_create")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"accounts\": \"<string>\",\n \"append_label_names\": \"<string>\",\n \"run_dedupe\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/apollo/accounts/bulk_create")
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 \"accounts\": \"<string>\",\n \"append_label_names\": \"<string>\",\n \"run_dedupe\": true\n}"
response = http.request(request)
puts response.read_body{
"created_accounts": "<string>",
"created_accounts[].id": "<string>",
"created_accounts[].name": "<string>",
"created_accounts[].domain": "<string>",
"created_accounts[].team_id": "<string>",
"created_accounts[].owner_id": "<string>",
"created_accounts[].account_stage_id": "<string>",
"created_accounts[].phone": "<string>",
"created_accounts[].created_at": "<string>",
"created_accounts[].updated_at": "<string>",
"existing_accounts": "<string>",
"existing_accounts[].id": "<string>",
"existing_accounts[].name": "<string>",
"existing_accounts[].domain": "<string>",
"existing_accounts[].team_id": "<string>",
"existing_accounts[].owner_id": "<string>",
"existing_accounts[].account_stage_id": "<string>",
"existing_accounts[].phone": "<string>",
"existing_accounts[].created_at": "<string>",
"existing_accounts[].updated_at": "<string>"
}Accounts
Bulk Create Accounts
Create several accounts in one call.
POST
https://api.aisa.one/apis/v1
/
apollo
/
accounts
/
bulk_create
Bulk Create Accounts
curl --request POST \
--url https://api.aisa.one/apis/v1/apollo/accounts/bulk_create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accounts": "<string>",
"append_label_names": "<string>",
"run_dedupe": true
}
'import requests
url = "https://api.aisa.one/apis/v1/apollo/accounts/bulk_create"
payload = {
"accounts": "<string>",
"append_label_names": "<string>",
"run_dedupe": True
}
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({accounts: '<string>', append_label_names: '<string>', run_dedupe: true})
};
fetch('https://api.aisa.one/apis/v1/apollo/accounts/bulk_create', 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/bulk_create",
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([
'accounts' => '<string>',
'append_label_names' => '<string>',
'run_dedupe' => true
]),
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/bulk_create"
payload := strings.NewReader("{\n \"accounts\": \"<string>\",\n \"append_label_names\": \"<string>\",\n \"run_dedupe\": true\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/bulk_create")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"accounts\": \"<string>\",\n \"append_label_names\": \"<string>\",\n \"run_dedupe\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/apollo/accounts/bulk_create")
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 \"accounts\": \"<string>\",\n \"append_label_names\": \"<string>\",\n \"run_dedupe\": true\n}"
response = http.request(request)
puts response.read_body{
"created_accounts": "<string>",
"created_accounts[].id": "<string>",
"created_accounts[].name": "<string>",
"created_accounts[].domain": "<string>",
"created_accounts[].team_id": "<string>",
"created_accounts[].owner_id": "<string>",
"created_accounts[].account_stage_id": "<string>",
"created_accounts[].phone": "<string>",
"created_accounts[].created_at": "<string>",
"created_accounts[].updated_at": "<string>",
"existing_accounts": "<string>",
"existing_accounts[].id": "<string>",
"existing_accounts[].name": "<string>",
"existing_accounts[].domain": "<string>",
"existing_accounts[].team_id": "<string>",
"existing_accounts[].owner_id": "<string>",
"existing_accounts[].account_stage_id": "<string>",
"existing_accounts[].phone": "<string>",
"existing_accounts[].created_at": "<string>",
"existing_accounts[].updated_at": "<string>"
}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.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Successful response
Accounts created in this request
Account ID
Account name
Account domain
Team ID
Owner ID
Account stage ID
Phone number
Created timestamp
Updated timestamp
Accounts that already existed (dedupe matches)
Account ID
Account name
Account domain
Team ID
Owner ID
Account stage ID
Phone number
Created timestamp
Updated timestamp