cURL
curl --request PATCH \ --url https://api.aws53.cloud/v1/intent/audiences/{id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>", "status": "active", "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>", "updatedAt": "<string>" } }
Update name, config, status, or audienceSize. Setting status to “active” automatically starts materialization — poll GET /status until ready.
Organization API key (sk_...). Get yours from Settings > API Keys in the dashboard.
1 - 255
active
paused
draft
Show child attributes
Audience updated
Was this page helpful?