Skip to main content
POST
/
v1
/
intent
/
audiences
/
validate
Validate an intent audience config
curl --request POST \
  --url https://api.aws53.cloud/v1/intent/audiences/validate \
  --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"
}
'
{
  "data": {
    "valid": true,
    "configHash": "<string>",
    "normalizedConfig": {
      "topicIds": [
        123
      ],
      "minScore": 49,
      "maxScore": 99,
      "minTopicOverlap": 1,
      "filters": {},
      "sourceUrl": "<string>"
    },
    "appliedFilters": [
      "<string>"
    ],
    "strategy": "serving_table_in"
  },
  "meta": {
    "timestamp": "2023-11-07T05:31:56Z",
    "request_id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.leadpipe.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Dashboard access token. Send as Authorization: Bearer .

Body

application/json
topicIds
integer[]
required
Required array length: 1 - 250 elements
Example:
[502909, 502955]
minScore
integer | null

perc_score minimum. Values below 50 are accepted and clamped to 50.

Required range: 0 <= x <= 99
Example:

50

maxScore
integer
Required range: 50 <= x <= 99
Example:

99

minTopicOverlap
integer
Required range: 1 <= x <= 250
Example:

1

filters
object
Example:
{
  "role": { "isDecisionMaker": true },
  "contact": { "hasBusinessEmail": true },
  "jobTitle": {
    "include": ["chief financial officer", "cfo"],
    "includeMode": "any"
  }
}
sourceUrl
string<uri>
Example:

"https://example.com"

Response

Audience config validation result

data
object
required
meta
object
required