For the endpoint spec (URL, auth, request/response shapes, examples), see Filter Send Audience. This page covers when to use audience filtering, how to configure it on a send, and the rules that apply when the filter event lands.Documentation Index
Fetch the complete documentation index at: https://docs.trysetter.com/llms.txt
Use this file to discover all available pages before exploring further.
Why
Most sends go to your full uploaded audience. Sometimes you want to narrow a specific send based on signals that aren’t known at upload time — e.g. “for tomorrow’s send, only message leads who completed step X by tonight.” Audience filtering lets your system POST a list of leads to include or exclude for a specific send, up until 5 minutes before that send fires.Enabling on a send
When adding a send to your campaign sequence, toggle “Apply filter from inbound webhook” on. The send will then accept filter events at the audience-filter endpoint until its filter deadline (5 min before its scheduled time). A send with the filter off ignores any incoming filter events targeting it.Authentication setup
Pick the auth mode for inbound endpoints once per organization, in Settings → Webhooks:- API key (default) — bearer-token auth using any active org-level API key.
- HMAC — generate a signing key, sign the raw request body with HMAC-SHA256, send as
X-Setter-Signature: sha256=<hex>. Multiple signing keys can be active concurrently for rotation.
When the filter is applied
The send’s recipient list is materialized about 60 seconds beforescheduledFor. At that moment, the materializer:
- Loads every lead in the campaign’s audience whose ingest status is
ok - Drops opted-out phone numbers
- If the send has the audience filter enabled, applies the most recent filter event for that send:
includekeeps only listed leads;excluderemoves them - Inserts one row per remaining lead into the per-recipient send queue
Lead matching
A lead in your filter payload matches an audience lead if either of these is true:- The payload’s
externalIdmatches the audience lead’sexternal_idcolumn from the CSV (case-sensitive). - The payload’s
phoneE164matches the normalized E.164 stored on the audience lead.

