Add Audience Contacts
curl --request POST \
--url https://api.example.com/api/public/tools/add_audience_contacts \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"audienceId": "<string>",
"contacts": [
{
"firstName": "<string>",
"lastName": "<string>",
"companyDomain": "<string>",
"linkedinUrl": "<string>",
"email": "<string>",
"phone": "<string>",
"role": null,
"companyName": null
}
]
}
'import requests
url = "https://api.example.com/api/public/tools/add_audience_contacts"
payload = {
"audienceId": "<string>",
"contacts": [
{
"firstName": "<string>",
"lastName": "<string>",
"companyDomain": "<string>",
"linkedinUrl": "<string>",
"email": "<string>",
"phone": "<string>",
"role": None,
"companyName": None
}
]
}
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({
audienceId: '<string>',
contacts: [
{
firstName: '<string>',
lastName: '<string>',
companyDomain: '<string>',
linkedinUrl: '<string>',
email: '<string>',
phone: '<string>',
role: null,
companyName: null
}
]
})
};
fetch('https://api.example.com/api/public/tools/add_audience_contacts', 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.example.com/api/public/tools/add_audience_contacts",
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([
'audienceId' => '<string>',
'contacts' => [
[
'firstName' => '<string>',
'lastName' => '<string>',
'companyDomain' => '<string>',
'linkedinUrl' => '<string>',
'email' => '<string>',
'phone' => '<string>',
'role' => null,
'companyName' => null
]
]
]),
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.example.com/api/public/tools/add_audience_contacts"
payload := strings.NewReader("{\n \"audienceId\": \"<string>\",\n \"contacts\": [\n {\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"companyDomain\": \"<string>\",\n \"linkedinUrl\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"role\": null,\n \"companyName\": null\n }\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.example.com/api/public/tools/add_audience_contacts")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"audienceId\": \"<string>\",\n \"contacts\": [\n {\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"companyDomain\": \"<string>\",\n \"linkedinUrl\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"role\": null,\n \"companyName\": null\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/public/tools/add_audience_contacts")
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 \"audienceId\": \"<string>\",\n \"contacts\": [\n {\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"companyDomain\": \"<string>\",\n \"linkedinUrl\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"role\": null,\n \"companyName\": null\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}FirstTouch tools
Add Audience Contacts
Add one or more contacts to an existing manual, HubSpot-list, or Sales Navigator audience.
Usage notes
- Each contact must have email, linkedinUrl, or all of firstName, lastName, and companyDomain.
- Duplicate contacts are skipped.
- Adding contacts does not immediately enroll them; linked auto-enrollment flows may process them in the background, while manual flows require a separate enrollment action.
POST
/
api
/
public
/
tools
/
add_audience_contacts
Add Audience Contacts
curl --request POST \
--url https://api.example.com/api/public/tools/add_audience_contacts \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"audienceId": "<string>",
"contacts": [
{
"firstName": "<string>",
"lastName": "<string>",
"companyDomain": "<string>",
"linkedinUrl": "<string>",
"email": "<string>",
"phone": "<string>",
"role": null,
"companyName": null
}
]
}
'import requests
url = "https://api.example.com/api/public/tools/add_audience_contacts"
payload = {
"audienceId": "<string>",
"contacts": [
{
"firstName": "<string>",
"lastName": "<string>",
"companyDomain": "<string>",
"linkedinUrl": "<string>",
"email": "<string>",
"phone": "<string>",
"role": None,
"companyName": None
}
]
}
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({
audienceId: '<string>',
contacts: [
{
firstName: '<string>',
lastName: '<string>',
companyDomain: '<string>',
linkedinUrl: '<string>',
email: '<string>',
phone: '<string>',
role: null,
companyName: null
}
]
})
};
fetch('https://api.example.com/api/public/tools/add_audience_contacts', 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.example.com/api/public/tools/add_audience_contacts",
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([
'audienceId' => '<string>',
'contacts' => [
[
'firstName' => '<string>',
'lastName' => '<string>',
'companyDomain' => '<string>',
'linkedinUrl' => '<string>',
'email' => '<string>',
'phone' => '<string>',
'role' => null,
'companyName' => null
]
]
]),
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.example.com/api/public/tools/add_audience_contacts"
payload := strings.NewReader("{\n \"audienceId\": \"<string>\",\n \"contacts\": [\n {\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"companyDomain\": \"<string>\",\n \"linkedinUrl\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"role\": null,\n \"companyName\": null\n }\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.example.com/api/public/tools/add_audience_contacts")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"audienceId\": \"<string>\",\n \"contacts\": [\n {\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"companyDomain\": \"<string>\",\n \"linkedinUrl\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"role\": null,\n \"companyName\": null\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/public/tools/add_audience_contacts")
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 \"audienceId\": \"<string>\",\n \"contacts\": [\n {\n \"firstName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"companyDomain\": \"<string>\",\n \"linkedinUrl\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"role\": null,\n \"companyName\": null\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}Authorizations
Body
application/json
Existing audience id. Manual, HubSpot-list, and Sales Navigator audiences are supported. Use the exact id returned by list_audiences or create_audience.
One or more contacts to add. Each contact requires email, linkedinUrl, or all of firstName, lastName, and companyDomain.
Show child attributes
Show child attributes
Response
Tool result.

