Bulk create accounts
curl --request POST \
--url https://api.octolane.com/v1/accounts/bulk \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
[
{
"domain": "acme.com",
"name": "Acme",
"industry": "<string>",
"logo": "<string>",
"linkedin": "<string>",
"twitter": "<string>",
"twitter_followers": 123,
"description": "<string>",
"primary_location": "<string>",
"founded": 5499.5,
"estimated_revenue": 123,
"total_fund_raised": 123,
"employee_range": "<string>",
"type": "<string>",
"tags": [
"<string>"
],
"first_email_interaction": "2023-11-07T05:31:56Z",
"last_email_interaction": "2023-11-07T05:31:56Z",
"first_meeting_interaction": "2023-11-07T05:31:56Z",
"last_meeting_interaction": "2023-11-07T05:31:56Z",
"last_interaction": "2023-11-07T05:31:56Z",
"next_meeting": "2023-11-07T05:31:56Z"
}
]
'import requests
url = "https://api.octolane.com/v1/accounts/bulk"
payload = [
{
"domain": "acme.com",
"name": "Acme",
"industry": "<string>",
"logo": "<string>",
"linkedin": "<string>",
"twitter": "<string>",
"twitter_followers": 123,
"description": "<string>",
"primary_location": "<string>",
"founded": 5499.5,
"estimated_revenue": 123,
"total_fund_raised": 123,
"employee_range": "<string>",
"type": "<string>",
"tags": ["<string>"],
"first_email_interaction": "2023-11-07T05:31:56Z",
"last_email_interaction": "2023-11-07T05:31:56Z",
"first_meeting_interaction": "2023-11-07T05:31:56Z",
"last_meeting_interaction": "2023-11-07T05:31:56Z",
"last_interaction": "2023-11-07T05:31:56Z",
"next_meeting": "2023-11-07T05:31:56Z"
}
]
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
domain: 'acme.com',
name: 'Acme',
industry: '<string>',
logo: '<string>',
linkedin: '<string>',
twitter: '<string>',
twitter_followers: 123,
description: '<string>',
primary_location: '<string>',
founded: 5499.5,
estimated_revenue: 123,
total_fund_raised: 123,
employee_range: '<string>',
type: '<string>',
tags: ['<string>'],
first_email_interaction: '2023-11-07T05:31:56Z',
last_email_interaction: '2023-11-07T05:31:56Z',
first_meeting_interaction: '2023-11-07T05:31:56Z',
last_meeting_interaction: '2023-11-07T05:31:56Z',
last_interaction: '2023-11-07T05:31:56Z',
next_meeting: '2023-11-07T05:31:56Z'
}
])
};
fetch('https://api.octolane.com/v1/accounts/bulk', 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.octolane.com/v1/accounts/bulk",
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([
[
'domain' => 'acme.com',
'name' => 'Acme',
'industry' => '<string>',
'logo' => '<string>',
'linkedin' => '<string>',
'twitter' => '<string>',
'twitter_followers' => 123,
'description' => '<string>',
'primary_location' => '<string>',
'founded' => 5499.5,
'estimated_revenue' => 123,
'total_fund_raised' => 123,
'employee_range' => '<string>',
'type' => '<string>',
'tags' => [
'<string>'
],
'first_email_interaction' => '2023-11-07T05:31:56Z',
'last_email_interaction' => '2023-11-07T05:31:56Z',
'first_meeting_interaction' => '2023-11-07T05:31:56Z',
'last_meeting_interaction' => '2023-11-07T05:31:56Z',
'last_interaction' => '2023-11-07T05:31:56Z',
'next_meeting' => '2023-11-07T05:31:56Z'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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.octolane.com/v1/accounts/bulk"
payload := strings.NewReader("[\n {\n \"domain\": \"acme.com\",\n \"name\": \"Acme\",\n \"industry\": \"<string>\",\n \"logo\": \"<string>\",\n \"linkedin\": \"<string>\",\n \"twitter\": \"<string>\",\n \"twitter_followers\": 123,\n \"description\": \"<string>\",\n \"primary_location\": \"<string>\",\n \"founded\": 5499.5,\n \"estimated_revenue\": 123,\n \"total_fund_raised\": 123,\n \"employee_range\": \"<string>\",\n \"type\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"first_email_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_email_interaction\": \"2023-11-07T05:31:56Z\",\n \"first_meeting_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_meeting_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_interaction\": \"2023-11-07T05:31:56Z\",\n \"next_meeting\": \"2023-11-07T05:31:56Z\"\n }\n]")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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.octolane.com/v1/accounts/bulk")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("[\n {\n \"domain\": \"acme.com\",\n \"name\": \"Acme\",\n \"industry\": \"<string>\",\n \"logo\": \"<string>\",\n \"linkedin\": \"<string>\",\n \"twitter\": \"<string>\",\n \"twitter_followers\": 123,\n \"description\": \"<string>\",\n \"primary_location\": \"<string>\",\n \"founded\": 5499.5,\n \"estimated_revenue\": 123,\n \"total_fund_raised\": 123,\n \"employee_range\": \"<string>\",\n \"type\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"first_email_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_email_interaction\": \"2023-11-07T05:31:56Z\",\n \"first_meeting_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_meeting_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_interaction\": \"2023-11-07T05:31:56Z\",\n \"next_meeting\": \"2023-11-07T05:31:56Z\"\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.octolane.com/v1/accounts/bulk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"domain\": \"acme.com\",\n \"name\": \"Acme\",\n \"industry\": \"<string>\",\n \"logo\": \"<string>\",\n \"linkedin\": \"<string>\",\n \"twitter\": \"<string>\",\n \"twitter_followers\": 123,\n \"description\": \"<string>\",\n \"primary_location\": \"<string>\",\n \"founded\": 5499.5,\n \"estimated_revenue\": 123,\n \"total_fund_raised\": 123,\n \"employee_range\": \"<string>\",\n \"type\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"first_email_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_email_interaction\": \"2023-11-07T05:31:56Z\",\n \"first_meeting_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_meeting_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_interaction\": \"2023-11-07T05:31:56Z\",\n \"next_meeting\": \"2023-11-07T05:31:56Z\"\n }\n]"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>",
"data": "<unknown>"
}{
"success": true,
"message": "<string>",
"data": "<unknown>"
}{
"success": false,
"message": "Validation failed",
"statusCode": 400
}{
"success": false,
"message": "Validation failed",
"statusCode": 400
}{
"success": false,
"message": "Validation failed",
"statusCode": 400
}CRM
Bulk create accounts
Creates or resolves up to 100 account records in one request.
POST
/
v1
/
accounts
/
bulk
Bulk create accounts
curl --request POST \
--url https://api.octolane.com/v1/accounts/bulk \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
[
{
"domain": "acme.com",
"name": "Acme",
"industry": "<string>",
"logo": "<string>",
"linkedin": "<string>",
"twitter": "<string>",
"twitter_followers": 123,
"description": "<string>",
"primary_location": "<string>",
"founded": 5499.5,
"estimated_revenue": 123,
"total_fund_raised": 123,
"employee_range": "<string>",
"type": "<string>",
"tags": [
"<string>"
],
"first_email_interaction": "2023-11-07T05:31:56Z",
"last_email_interaction": "2023-11-07T05:31:56Z",
"first_meeting_interaction": "2023-11-07T05:31:56Z",
"last_meeting_interaction": "2023-11-07T05:31:56Z",
"last_interaction": "2023-11-07T05:31:56Z",
"next_meeting": "2023-11-07T05:31:56Z"
}
]
'import requests
url = "https://api.octolane.com/v1/accounts/bulk"
payload = [
{
"domain": "acme.com",
"name": "Acme",
"industry": "<string>",
"logo": "<string>",
"linkedin": "<string>",
"twitter": "<string>",
"twitter_followers": 123,
"description": "<string>",
"primary_location": "<string>",
"founded": 5499.5,
"estimated_revenue": 123,
"total_fund_raised": 123,
"employee_range": "<string>",
"type": "<string>",
"tags": ["<string>"],
"first_email_interaction": "2023-11-07T05:31:56Z",
"last_email_interaction": "2023-11-07T05:31:56Z",
"first_meeting_interaction": "2023-11-07T05:31:56Z",
"last_meeting_interaction": "2023-11-07T05:31:56Z",
"last_interaction": "2023-11-07T05:31:56Z",
"next_meeting": "2023-11-07T05:31:56Z"
}
]
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
domain: 'acme.com',
name: 'Acme',
industry: '<string>',
logo: '<string>',
linkedin: '<string>',
twitter: '<string>',
twitter_followers: 123,
description: '<string>',
primary_location: '<string>',
founded: 5499.5,
estimated_revenue: 123,
total_fund_raised: 123,
employee_range: '<string>',
type: '<string>',
tags: ['<string>'],
first_email_interaction: '2023-11-07T05:31:56Z',
last_email_interaction: '2023-11-07T05:31:56Z',
first_meeting_interaction: '2023-11-07T05:31:56Z',
last_meeting_interaction: '2023-11-07T05:31:56Z',
last_interaction: '2023-11-07T05:31:56Z',
next_meeting: '2023-11-07T05:31:56Z'
}
])
};
fetch('https://api.octolane.com/v1/accounts/bulk', 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.octolane.com/v1/accounts/bulk",
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([
[
'domain' => 'acme.com',
'name' => 'Acme',
'industry' => '<string>',
'logo' => '<string>',
'linkedin' => '<string>',
'twitter' => '<string>',
'twitter_followers' => 123,
'description' => '<string>',
'primary_location' => '<string>',
'founded' => 5499.5,
'estimated_revenue' => 123,
'total_fund_raised' => 123,
'employee_range' => '<string>',
'type' => '<string>',
'tags' => [
'<string>'
],
'first_email_interaction' => '2023-11-07T05:31:56Z',
'last_email_interaction' => '2023-11-07T05:31:56Z',
'first_meeting_interaction' => '2023-11-07T05:31:56Z',
'last_meeting_interaction' => '2023-11-07T05:31:56Z',
'last_interaction' => '2023-11-07T05:31:56Z',
'next_meeting' => '2023-11-07T05:31:56Z'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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.octolane.com/v1/accounts/bulk"
payload := strings.NewReader("[\n {\n \"domain\": \"acme.com\",\n \"name\": \"Acme\",\n \"industry\": \"<string>\",\n \"logo\": \"<string>\",\n \"linkedin\": \"<string>\",\n \"twitter\": \"<string>\",\n \"twitter_followers\": 123,\n \"description\": \"<string>\",\n \"primary_location\": \"<string>\",\n \"founded\": 5499.5,\n \"estimated_revenue\": 123,\n \"total_fund_raised\": 123,\n \"employee_range\": \"<string>\",\n \"type\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"first_email_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_email_interaction\": \"2023-11-07T05:31:56Z\",\n \"first_meeting_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_meeting_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_interaction\": \"2023-11-07T05:31:56Z\",\n \"next_meeting\": \"2023-11-07T05:31:56Z\"\n }\n]")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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.octolane.com/v1/accounts/bulk")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("[\n {\n \"domain\": \"acme.com\",\n \"name\": \"Acme\",\n \"industry\": \"<string>\",\n \"logo\": \"<string>\",\n \"linkedin\": \"<string>\",\n \"twitter\": \"<string>\",\n \"twitter_followers\": 123,\n \"description\": \"<string>\",\n \"primary_location\": \"<string>\",\n \"founded\": 5499.5,\n \"estimated_revenue\": 123,\n \"total_fund_raised\": 123,\n \"employee_range\": \"<string>\",\n \"type\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"first_email_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_email_interaction\": \"2023-11-07T05:31:56Z\",\n \"first_meeting_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_meeting_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_interaction\": \"2023-11-07T05:31:56Z\",\n \"next_meeting\": \"2023-11-07T05:31:56Z\"\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.octolane.com/v1/accounts/bulk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"domain\": \"acme.com\",\n \"name\": \"Acme\",\n \"industry\": \"<string>\",\n \"logo\": \"<string>\",\n \"linkedin\": \"<string>\",\n \"twitter\": \"<string>\",\n \"twitter_followers\": 123,\n \"description\": \"<string>\",\n \"primary_location\": \"<string>\",\n \"founded\": 5499.5,\n \"estimated_revenue\": 123,\n \"total_fund_raised\": 123,\n \"employee_range\": \"<string>\",\n \"type\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"first_email_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_email_interaction\": \"2023-11-07T05:31:56Z\",\n \"first_meeting_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_meeting_interaction\": \"2023-11-07T05:31:56Z\",\n \"last_interaction\": \"2023-11-07T05:31:56Z\",\n \"next_meeting\": \"2023-11-07T05:31:56Z\"\n }\n]"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>",
"data": "<unknown>"
}{
"success": true,
"message": "<string>",
"data": "<unknown>"
}{
"success": false,
"message": "Validation failed",
"statusCode": 400
}{
"success": false,
"message": "Validation failed",
"statusCode": 400
}{
"success": false,
"message": "Validation failed",
"statusCode": 400
}Authorizations
Public API key for the Octolane organization.
Body
application/json
Array of account payloads. Maximum 100 items.
Required array length:
1 - 100 elementsCompany domain.
Example:
"acme.com"
Example:
"Acme"
Required range:
1000 <= x <= 9999Was this page helpful?
⌘I