Bulk create accounts
curl --request POST \
--url https://api.reply.io/v3/contact-accounts/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"name": "<string>",
"description": "<string>",
"domainName": "<string>",
"domainSecondary": "<string>",
"industry": "<string>",
"country": "<string>",
"state": "<string>",
"city": "<string>",
"timeZoneId": "<string>",
"linkedInUrl": "<string>",
"phone": "<string>",
"twitterUrl": "<string>",
"logoUrl": "<string>",
"email": "<string>"
}
]
}
'import requests
url = "https://api.reply.io/v3/contact-accounts/bulk"
payload = { "items": [
{
"name": "<string>",
"description": "<string>",
"domainName": "<string>",
"domainSecondary": "<string>",
"industry": "<string>",
"country": "<string>",
"state": "<string>",
"city": "<string>",
"timeZoneId": "<string>",
"linkedInUrl": "<string>",
"phone": "<string>",
"twitterUrl": "<string>",
"logoUrl": "<string>",
"email": "<string>"
}
] }
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({
items: [
{
name: '<string>',
description: '<string>',
domainName: '<string>',
domainSecondary: '<string>',
industry: '<string>',
country: '<string>',
state: '<string>',
city: '<string>',
timeZoneId: '<string>',
linkedInUrl: '<string>',
phone: '<string>',
twitterUrl: '<string>',
logoUrl: '<string>',
email: '<string>'
}
]
})
};
fetch('https://api.reply.io/v3/contact-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.reply.io/v3/contact-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([
'items' => [
[
'name' => '<string>',
'description' => '<string>',
'domainName' => '<string>',
'domainSecondary' => '<string>',
'industry' => '<string>',
'country' => '<string>',
'state' => '<string>',
'city' => '<string>',
'timeZoneId' => '<string>',
'linkedInUrl' => '<string>',
'phone' => '<string>',
'twitterUrl' => '<string>',
'logoUrl' => '<string>',
'email' => '<string>'
]
]
]),
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.reply.io/v3/contact-accounts/bulk"
payload := strings.NewReader("{\n \"items\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"domainName\": \"<string>\",\n \"domainSecondary\": \"<string>\",\n \"industry\": \"<string>\",\n \"country\": \"<string>\",\n \"state\": \"<string>\",\n \"city\": \"<string>\",\n \"timeZoneId\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"phone\": \"<string>\",\n \"twitterUrl\": \"<string>\",\n \"logoUrl\": \"<string>\",\n \"email\": \"<string>\"\n }\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.reply.io/v3/contact-accounts/bulk")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"items\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"domainName\": \"<string>\",\n \"domainSecondary\": \"<string>\",\n \"industry\": \"<string>\",\n \"country\": \"<string>\",\n \"state\": \"<string>\",\n \"city\": \"<string>\",\n \"timeZoneId\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"phone\": \"<string>\",\n \"twitterUrl\": \"<string>\",\n \"logoUrl\": \"<string>\",\n \"email\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/contact-accounts/bulk")
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 \"items\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"domainName\": \"<string>\",\n \"domainSecondary\": \"<string>\",\n \"industry\": \"<string>\",\n \"country\": \"<string>\",\n \"state\": \"<string>\",\n \"city\": \"<string>\",\n \"timeZoneId\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"phone\": \"<string>\",\n \"twitterUrl\": \"<string>\",\n \"logoUrl\": \"<string>\",\n \"email\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body[
{
"id": 123,
"error": 123,
"errorDetails": "<string>"
}
]Accounts
Bulk create accounts
Requires the
contacts:write scope (or a broader one that includes it).
Creates multiple accounts. Non-atomic — some may succeed while others fail. Each item in the response array contains the created ID or error details.
POST
/
v3
/
contact-accounts
/
bulk
Bulk create accounts
curl --request POST \
--url https://api.reply.io/v3/contact-accounts/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"name": "<string>",
"description": "<string>",
"domainName": "<string>",
"domainSecondary": "<string>",
"industry": "<string>",
"country": "<string>",
"state": "<string>",
"city": "<string>",
"timeZoneId": "<string>",
"linkedInUrl": "<string>",
"phone": "<string>",
"twitterUrl": "<string>",
"logoUrl": "<string>",
"email": "<string>"
}
]
}
'import requests
url = "https://api.reply.io/v3/contact-accounts/bulk"
payload = { "items": [
{
"name": "<string>",
"description": "<string>",
"domainName": "<string>",
"domainSecondary": "<string>",
"industry": "<string>",
"country": "<string>",
"state": "<string>",
"city": "<string>",
"timeZoneId": "<string>",
"linkedInUrl": "<string>",
"phone": "<string>",
"twitterUrl": "<string>",
"logoUrl": "<string>",
"email": "<string>"
}
] }
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({
items: [
{
name: '<string>',
description: '<string>',
domainName: '<string>',
domainSecondary: '<string>',
industry: '<string>',
country: '<string>',
state: '<string>',
city: '<string>',
timeZoneId: '<string>',
linkedInUrl: '<string>',
phone: '<string>',
twitterUrl: '<string>',
logoUrl: '<string>',
email: '<string>'
}
]
})
};
fetch('https://api.reply.io/v3/contact-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.reply.io/v3/contact-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([
'items' => [
[
'name' => '<string>',
'description' => '<string>',
'domainName' => '<string>',
'domainSecondary' => '<string>',
'industry' => '<string>',
'country' => '<string>',
'state' => '<string>',
'city' => '<string>',
'timeZoneId' => '<string>',
'linkedInUrl' => '<string>',
'phone' => '<string>',
'twitterUrl' => '<string>',
'logoUrl' => '<string>',
'email' => '<string>'
]
]
]),
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.reply.io/v3/contact-accounts/bulk"
payload := strings.NewReader("{\n \"items\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"domainName\": \"<string>\",\n \"domainSecondary\": \"<string>\",\n \"industry\": \"<string>\",\n \"country\": \"<string>\",\n \"state\": \"<string>\",\n \"city\": \"<string>\",\n \"timeZoneId\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"phone\": \"<string>\",\n \"twitterUrl\": \"<string>\",\n \"logoUrl\": \"<string>\",\n \"email\": \"<string>\"\n }\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.reply.io/v3/contact-accounts/bulk")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"items\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"domainName\": \"<string>\",\n \"domainSecondary\": \"<string>\",\n \"industry\": \"<string>\",\n \"country\": \"<string>\",\n \"state\": \"<string>\",\n \"city\": \"<string>\",\n \"timeZoneId\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"phone\": \"<string>\",\n \"twitterUrl\": \"<string>\",\n \"logoUrl\": \"<string>\",\n \"email\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/contact-accounts/bulk")
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 \"items\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"domainName\": \"<string>\",\n \"domainSecondary\": \"<string>\",\n \"industry\": \"<string>\",\n \"country\": \"<string>\",\n \"state\": \"<string>\",\n \"city\": \"<string>\",\n \"timeZoneId\": \"<string>\",\n \"linkedInUrl\": \"<string>\",\n \"phone\": \"<string>\",\n \"twitterUrl\": \"<string>\",\n \"logoUrl\": \"<string>\",\n \"email\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body[
{
"id": 123,
"error": 123,
"errorDetails": "<string>"
}
]Authorizations
Authenticate every request with a Bearer token. Pass your Reply API key in the
Authorization header:
Authorization: Bearer <your-api-key>
Get your API key from the Reply dashboard: Settings → API Key.
Body
application/json
Request body for bulk creating accounts
List of contact accounts to create
Show child attributes
Show child attributes
Response
Array of creation results, one per input item.
Per-item error codes:
| error | Meaning |
|---|---|
| 3 | InvalidInput — validation failed for this item |
⌘I