Skip to main content
POST
/
v1
/
intent
/
audiences
Save an audience definition
curl --request POST \
  --url https://api.aws53.cloud/v1/intent/audiences \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "config": {
    "topicIds": [
      123
    ],
    "minScore": 50,
    "maxScore": 50,
    "minTopicOverlap": 5,
    "filters": {
      "companyIndustry": [
        "<string>"
      ],
      "seniority": [
        "<string>"
      ],
      "companySize": [
        "<string>"
      ],
      "department": [
        "<string>"
      ],
      "state": "<string>",
      "companyRevenueRange": [
        "<string>"
      ],
      "ageRange": [
        "<string>"
      ],
      "gender": "<string>",
      "isB2b": "y",
      "jobTitle": "<string>",
      "hasBusinessEmail": true,
      "hasPersonalEmail": true,
      "hasLinkedin": true,
      "hasPhone": true,
      "companyDomain": "<string>",
      "companyName": "<string>"
    },
    "sourceUrl": "<string>"
  },
  "audienceSize": 123
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "status": "<string>",
    "config": {
      "topicIds": [
        123
      ],
      "minScore": 50,
      "maxScore": 50,
      "minTopicOverlap": 5,
      "filters": {
        "companyIndustry": [
          "<string>"
        ],
        "seniority": [
          "<string>"
        ],
        "companySize": [
          "<string>"
        ],
        "department": [
          "<string>"
        ],
        "state": "<string>",
        "companyRevenueRange": [
          "<string>"
        ],
        "ageRange": [
          "<string>"
        ],
        "gender": "<string>",
        "isB2b": "y",
        "jobTitle": "<string>",
        "hasBusinessEmail": true,
        "hasPersonalEmail": true,
        "hasLinkedin": true,
        "hasPhone": true,
        "companyDomain": "<string>",
        "companyName": "<string>"
      },
      "sourceUrl": "<string>"
    },
    "audienceSize": 123,
    "lastRefreshedAt": "<string>",
    "createdAt": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Organization API key (sk_...). Get yours from Settings > API Keys in the dashboard.

Body

application/json
name
string
required
Required string length: 1 - 255
config
object
required
audienceSize
integer

Response

201 - application/json

Audience created

data
object
required