curl --request POST \
--url https://api.aws53.cloud/v1/intent/audiences/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"topicIds": [
1001,
1002
],
"minScore": 60,
"maxScore": 100,
"minTopicOverlap": 1
}
'import requests
url = "https://api.aws53.cloud/v1/intent/audiences/validate"
payload = {
"topicIds": [1001, 1002],
"minScore": 60,
"maxScore": 100,
"minTopicOverlap": 1
}
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: [1001, 1002], minScore: 60, maxScore: 100, minTopicOverlap: 1})
};
fetch('https://api.aws53.cloud/v1/intent/audiences/validate', 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/validate",
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' => [
1001,
1002
],
'minScore' => 60,
'maxScore' => 100,
'minTopicOverlap' => 1
]),
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/validate"
payload := strings.NewReader("{\n \"topicIds\": [\n 1001,\n 1002\n ],\n \"minScore\": 60,\n \"maxScore\": 100,\n \"minTopicOverlap\": 1\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/validate")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"topicIds\": [\n 1001,\n 1002\n ],\n \"minScore\": 60,\n \"maxScore\": 100,\n \"minTopicOverlap\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aws53.cloud/v1/intent/audiences/validate")
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 1001,\n 1002\n ],\n \"minScore\": 60,\n \"maxScore\": 100,\n \"minTopicOverlap\": 1\n}"
response = http.request(request)
puts response.read_body{
"data": {
"valid": true,
"configHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"normalizedConfig": {
"topicIds": [
1001
],
"minScore": 60,
"maxScore": 100,
"minTopicOverlap": 1,
"filters": {}
},
"appliedFilters": [],
"strategy": "serving_table_in"
},
"meta": {
"timestamp": "2026-01-15T12:00:00.000Z",
"request_id": "example-request"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>"
}
}{
"error": {
"code": "AUTHENTICATION_ERROR",
"message": "Missing Authorization header or x-api-key"
},
"meta": {
"timestamp": "2026-01-15T12:00:00.000Z",
"request_id": "example-request"
}
}Validate an intent audience config
Validates and normalizes a topic, score, and filter definition without saving an audience or materializing contacts. Requires an authenticated organization member or organization API key. Returns the normalized configuration, configuration hash, and applied filter fields. Dedicated admin API credentials also authorize platform-wide management, including white-label targets; customer bearer/API-key restrictions described above remain unchanged. Existing resource validation and business-state rules still apply.
curl --request POST \
--url https://api.aws53.cloud/v1/intent/audiences/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"topicIds": [
1001,
1002
],
"minScore": 60,
"maxScore": 100,
"minTopicOverlap": 1
}
'import requests
url = "https://api.aws53.cloud/v1/intent/audiences/validate"
payload = {
"topicIds": [1001, 1002],
"minScore": 60,
"maxScore": 100,
"minTopicOverlap": 1
}
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: [1001, 1002], minScore: 60, maxScore: 100, minTopicOverlap: 1})
};
fetch('https://api.aws53.cloud/v1/intent/audiences/validate', 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/validate",
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' => [
1001,
1002
],
'minScore' => 60,
'maxScore' => 100,
'minTopicOverlap' => 1
]),
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/validate"
payload := strings.NewReader("{\n \"topicIds\": [\n 1001,\n 1002\n ],\n \"minScore\": 60,\n \"maxScore\": 100,\n \"minTopicOverlap\": 1\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/validate")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"topicIds\": [\n 1001,\n 1002\n ],\n \"minScore\": 60,\n \"maxScore\": 100,\n \"minTopicOverlap\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aws53.cloud/v1/intent/audiences/validate")
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 1001,\n 1002\n ],\n \"minScore\": 60,\n \"maxScore\": 100,\n \"minTopicOverlap\": 1\n}"
response = http.request(request)
puts response.read_body{
"data": {
"valid": true,
"configHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"normalizedConfig": {
"topicIds": [
1001
],
"minScore": 60,
"maxScore": 100,
"minTopicOverlap": 1,
"filters": {}
},
"appliedFilters": [],
"strategy": "serving_table_in"
},
"meta": {
"timestamp": "2026-01-15T12:00:00.000Z",
"request_id": "example-request"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>"
}
}{
"error": {
"code": "AUTHENTICATION_ERROR",
"message": "Missing Authorization header or x-api-key"
},
"meta": {
"timestamp": "2026-01-15T12:00:00.000Z",
"request_id": "example-request"
}
}Authorizations
Headers
Optional tenant context for admin-key operations without an organization target, such as creating an organization. Defaults to the master tenant. Must match an explicit target organization when both are supplied. Does not limit the key’s platform authority.
1 - 100Target organization for admin-key requests on organization-context routes, including Data API, intent audiences and dashboard routes without an organization path parameter. Required on those routes. When supplied with an organization path parameter, both must identify the same organization; conflicting targets return 400. Does not grant access to customer credentials.
Body
Was this page helpful?