Preview an intent audience
curl --request POST \
--url https://api.aws53.cloud/v1/intent/audiences/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"topicIds": [
502909,
502955
],
"minScore": 50,
"maxScore": 99,
"minTopicOverlap": 1,
"filters": {
"role": {
"isDecisionMaker": true
},
"contact": {
"hasBusinessEmail": true
},
"jobTitle": {
"include": [
"chief financial officer",
"cfo"
],
"includeMode": "any"
}
},
"sourceUrl": "https://example.com"
}
'import requests
url = "https://api.aws53.cloud/v1/intent/audiences/preview"
payload = {
"topicIds": [502909, 502955],
"minScore": 50,
"maxScore": 99,
"minTopicOverlap": 1,
"filters": {
"role": { "isDecisionMaker": True },
"contact": { "hasBusinessEmail": True },
"jobTitle": {
"include": ["chief financial officer", "cfo"],
"includeMode": "any"
}
},
"sourceUrl": "https://example.com"
}
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({
topicIds: [502909, 502955],
minScore: 50,
maxScore: 99,
minTopicOverlap: 1,
filters: {
role: {isDecisionMaker: true},
contact: {hasBusinessEmail: true},
jobTitle: {include: ['chief financial officer', 'cfo'], includeMode: 'any'}
},
sourceUrl: 'https://example.com'
})
};
fetch('https://api.aws53.cloud/v1/intent/audiences/preview', 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.aws53.cloud/v1/intent/audiences/preview",
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([
'topicIds' => [
502909,
502955
],
'minScore' => 50,
'maxScore' => 99,
'minTopicOverlap' => 1,
'filters' => [
'role' => [
'isDecisionMaker' => true
],
'contact' => [
'hasBusinessEmail' => true
],
'jobTitle' => [
'include' => [
'chief financial officer',
'cfo'
],
'includeMode' => 'any'
]
],
'sourceUrl' => 'https://example.com'
]),
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.aws53.cloud/v1/intent/audiences/preview"
payload := strings.NewReader("{\n \"topicIds\": [\n 502909,\n 502955\n ],\n \"minScore\": 50,\n \"maxScore\": 99,\n \"minTopicOverlap\": 1,\n \"filters\": {\n \"role\": {\n \"isDecisionMaker\": true\n },\n \"contact\": {\n \"hasBusinessEmail\": true\n },\n \"jobTitle\": {\n \"include\": [\n \"chief financial officer\",\n \"cfo\"\n ],\n \"includeMode\": \"any\"\n }\n },\n \"sourceUrl\": \"https://example.com\"\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.aws53.cloud/v1/intent/audiences/preview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"topicIds\": [\n 502909,\n 502955\n ],\n \"minScore\": 50,\n \"maxScore\": 99,\n \"minTopicOverlap\": 1,\n \"filters\": {\n \"role\": {\n \"isDecisionMaker\": true\n },\n \"contact\": {\n \"hasBusinessEmail\": true\n },\n \"jobTitle\": {\n \"include\": [\n \"chief financial officer\",\n \"cfo\"\n ],\n \"includeMode\": \"any\"\n }\n },\n \"sourceUrl\": \"https://example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aws53.cloud/v1/intent/audiences/preview")
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 \"topicIds\": [\n 502909,\n 502955\n ],\n \"minScore\": 50,\n \"maxScore\": 99,\n \"minTopicOverlap\": 1,\n \"filters\": {\n \"role\": {\n \"isDecisionMaker\": true\n },\n \"contact\": {\n \"hasBusinessEmail\": true\n },\n \"jobTitle\": {\n \"include\": [\n \"chief financial officer\",\n \"cfo\"\n ],\n \"includeMode\": \"any\"\n }\n },\n \"sourceUrl\": \"https://example.com\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"configHash": "<string>",
"dataDate": "2023-12-25",
"totalCount": 123,
"breakdowns": {
"industries": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"seniorities": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"departments": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"companySizes": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"states": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"exportGrades": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"contactTiers": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
]
},
"sample": [
{
"hashedEmail": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"fullName": "<string>",
"businessEmail": "<string>",
"personalEmail": "<string>",
"email": "<string>",
"primaryContactEmail": "<string>",
"phone": "<string>",
"mobilePhone": "<string>",
"directPhone": "<string>",
"personalPhone": "<string>",
"linkedinUrl": "<string>",
"headline": "<string>",
"jobTitle": "<string>",
"roleBucket": "<string>",
"seniority": "<string>",
"department": "<string>",
"profile": {
"profilePidAll": "<string>",
"duplicateProfileCount": 123,
"sourcePriority": 123,
"hemRecordRank": 123,
"isBestProfileForHem": true
},
"company": {
"name": "<string>",
"domain": "<string>",
"linkedinUrl": "<string>",
"domainTld": "<string>",
"industry": "<string>",
"industryGroup": "<string>",
"naics": "<string>",
"sic": "<string>",
"description": "<string>",
"revenueRange": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>"
},
"geo": {
"city": "<string>",
"state": "<string>",
"stateCode": "<string>",
"country": "<string>",
"countryCode": "<string>",
"zip": "<string>",
"region": "<string>"
},
"contact": {
"hasBusinessEmail": true,
"hasPersonalEmail": true,
"hasAnyPhone": true,
"businessEmailStatus": "<string>",
"personalEmailStatus": "<string>",
"phoneStatus": "<string>"
},
"demographics": {
"gender": "<string>",
"ageRange": "<string>",
"incomeRange": "<string>",
"netWorth": "<string>"
},
"role": {
"signals": {}
},
"profileSignals": {},
"companySignals": {},
"geoSignals": {},
"compliance": {},
"source": {},
"siteActivity": {
"alreadyOnSite": true,
"sessions": 123,
"pageviews": 123,
"pixelIds": [
"<string>"
],
"domains": [
"<string>"
],
"firstSeenAt": "2023-11-07T05:31:56Z",
"lastSeenAt": "2023-11-07T05:31:56Z",
"lastLandingPage": "<string>",
"lastReferrerDomain": "<string>",
"lastUtmSource": "<string>",
"lastUtmMedium": "<string>",
"lastUtmCampaign": "<string>"
},
"intent": {
"score": 123,
"topicOverlap": 123,
"matchedTopics": [
{
"topicId": 123,
"topicName": "<string>",
"type": "<string>",
"industry": "<string>",
"category": "<string>"
}
]
}
}
],
"appliedFilters": [
"<string>"
],
"normalizedConfig": {
"topicIds": [
123
],
"minScore": 49,
"maxScore": 99,
"minTopicOverlap": 1,
"filters": {},
"sourceUrl": "<string>",
"topics": [
{
"topicId": 123,
"topicName": "<string>",
"type": "<string>",
"industry": "<string>",
"category": "<string>"
}
]
}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>"
}
}Audience builder
Preview an intent audience
Counts and samples an intent-led audience using latest dt, cityHash64(hem), and hem_hash IN query strategy. Preview rows are masked.
POST
/
v1
/
intent
/
audiences
/
preview
Preview an intent audience
curl --request POST \
--url https://api.aws53.cloud/v1/intent/audiences/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"topicIds": [
502909,
502955
],
"minScore": 50,
"maxScore": 99,
"minTopicOverlap": 1,
"filters": {
"role": {
"isDecisionMaker": true
},
"contact": {
"hasBusinessEmail": true
},
"jobTitle": {
"include": [
"chief financial officer",
"cfo"
],
"includeMode": "any"
}
},
"sourceUrl": "https://example.com"
}
'import requests
url = "https://api.aws53.cloud/v1/intent/audiences/preview"
payload = {
"topicIds": [502909, 502955],
"minScore": 50,
"maxScore": 99,
"minTopicOverlap": 1,
"filters": {
"role": { "isDecisionMaker": True },
"contact": { "hasBusinessEmail": True },
"jobTitle": {
"include": ["chief financial officer", "cfo"],
"includeMode": "any"
}
},
"sourceUrl": "https://example.com"
}
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({
topicIds: [502909, 502955],
minScore: 50,
maxScore: 99,
minTopicOverlap: 1,
filters: {
role: {isDecisionMaker: true},
contact: {hasBusinessEmail: true},
jobTitle: {include: ['chief financial officer', 'cfo'], includeMode: 'any'}
},
sourceUrl: 'https://example.com'
})
};
fetch('https://api.aws53.cloud/v1/intent/audiences/preview', 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.aws53.cloud/v1/intent/audiences/preview",
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([
'topicIds' => [
502909,
502955
],
'minScore' => 50,
'maxScore' => 99,
'minTopicOverlap' => 1,
'filters' => [
'role' => [
'isDecisionMaker' => true
],
'contact' => [
'hasBusinessEmail' => true
],
'jobTitle' => [
'include' => [
'chief financial officer',
'cfo'
],
'includeMode' => 'any'
]
],
'sourceUrl' => 'https://example.com'
]),
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.aws53.cloud/v1/intent/audiences/preview"
payload := strings.NewReader("{\n \"topicIds\": [\n 502909,\n 502955\n ],\n \"minScore\": 50,\n \"maxScore\": 99,\n \"minTopicOverlap\": 1,\n \"filters\": {\n \"role\": {\n \"isDecisionMaker\": true\n },\n \"contact\": {\n \"hasBusinessEmail\": true\n },\n \"jobTitle\": {\n \"include\": [\n \"chief financial officer\",\n \"cfo\"\n ],\n \"includeMode\": \"any\"\n }\n },\n \"sourceUrl\": \"https://example.com\"\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.aws53.cloud/v1/intent/audiences/preview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"topicIds\": [\n 502909,\n 502955\n ],\n \"minScore\": 50,\n \"maxScore\": 99,\n \"minTopicOverlap\": 1,\n \"filters\": {\n \"role\": {\n \"isDecisionMaker\": true\n },\n \"contact\": {\n \"hasBusinessEmail\": true\n },\n \"jobTitle\": {\n \"include\": [\n \"chief financial officer\",\n \"cfo\"\n ],\n \"includeMode\": \"any\"\n }\n },\n \"sourceUrl\": \"https://example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aws53.cloud/v1/intent/audiences/preview")
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 \"topicIds\": [\n 502909,\n 502955\n ],\n \"minScore\": 50,\n \"maxScore\": 99,\n \"minTopicOverlap\": 1,\n \"filters\": {\n \"role\": {\n \"isDecisionMaker\": true\n },\n \"contact\": {\n \"hasBusinessEmail\": true\n },\n \"jobTitle\": {\n \"include\": [\n \"chief financial officer\",\n \"cfo\"\n ],\n \"includeMode\": \"any\"\n }\n },\n \"sourceUrl\": \"https://example.com\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"configHash": "<string>",
"dataDate": "2023-12-25",
"totalCount": 123,
"breakdowns": {
"industries": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"seniorities": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"departments": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"companySizes": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"states": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"exportGrades": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
],
"contactTiers": [
{
"value": "<string>",
"label": "<string>",
"count": 123
}
]
},
"sample": [
{
"hashedEmail": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"fullName": "<string>",
"businessEmail": "<string>",
"personalEmail": "<string>",
"email": "<string>",
"primaryContactEmail": "<string>",
"phone": "<string>",
"mobilePhone": "<string>",
"directPhone": "<string>",
"personalPhone": "<string>",
"linkedinUrl": "<string>",
"headline": "<string>",
"jobTitle": "<string>",
"roleBucket": "<string>",
"seniority": "<string>",
"department": "<string>",
"profile": {
"profilePidAll": "<string>",
"duplicateProfileCount": 123,
"sourcePriority": 123,
"hemRecordRank": 123,
"isBestProfileForHem": true
},
"company": {
"name": "<string>",
"domain": "<string>",
"linkedinUrl": "<string>",
"domainTld": "<string>",
"industry": "<string>",
"industryGroup": "<string>",
"naics": "<string>",
"sic": "<string>",
"description": "<string>",
"revenueRange": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>"
},
"geo": {
"city": "<string>",
"state": "<string>",
"stateCode": "<string>",
"country": "<string>",
"countryCode": "<string>",
"zip": "<string>",
"region": "<string>"
},
"contact": {
"hasBusinessEmail": true,
"hasPersonalEmail": true,
"hasAnyPhone": true,
"businessEmailStatus": "<string>",
"personalEmailStatus": "<string>",
"phoneStatus": "<string>"
},
"demographics": {
"gender": "<string>",
"ageRange": "<string>",
"incomeRange": "<string>",
"netWorth": "<string>"
},
"role": {
"signals": {}
},
"profileSignals": {},
"companySignals": {},
"geoSignals": {},
"compliance": {},
"source": {},
"siteActivity": {
"alreadyOnSite": true,
"sessions": 123,
"pageviews": 123,
"pixelIds": [
"<string>"
],
"domains": [
"<string>"
],
"firstSeenAt": "2023-11-07T05:31:56Z",
"lastSeenAt": "2023-11-07T05:31:56Z",
"lastLandingPage": "<string>",
"lastReferrerDomain": "<string>",
"lastUtmSource": "<string>",
"lastUtmMedium": "<string>",
"lastUtmCampaign": "<string>"
},
"intent": {
"score": 123,
"topicOverlap": 123,
"matchedTopics": [
{
"topicId": 123,
"topicName": "<string>",
"type": "<string>",
"industry": "<string>",
"category": "<string>"
}
]
}
}
],
"appliedFilters": [
"<string>"
],
"normalizedConfig": {
"topicIds": [
123
],
"minScore": 49,
"maxScore": 99,
"minTopicOverlap": 1,
"filters": {},
"sourceUrl": "<string>",
"topics": [
{
"topicId": 123,
"topicName": "<string>",
"type": "<string>",
"industry": "<string>",
"category": "<string>"
}
]
}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>"
}
}Authorizations
bearerAuthapiKeyAuth
Dashboard access token. Send as Authorization: Bearer .
Body
application/json
Required array length:
1 - 250 elementsExample:
[502909, 502955]
perc_score minimum. Values below 50 are accepted and clamped to 50.
Required range:
0 <= x <= 99Example:
50
Required range:
50 <= x <= 99Example:
99
Required range:
1 <= x <= 250Example:
1
Show child attributes
Show child attributes
Example:
{ "role": { "isDecisionMaker": true }, "contact": { "hasBusinessEmail": true }, "jobTitle": { "include": ["chief financial officer", "cfo"], "includeMode": "any" } }
Example:
"https://example.com"
Was this page helpful?
⌘I