Audiences
Create an audience
Creates a saved audience from a name + filter set ({ filters: [{ field, operator, value? }], logicalOperator: "and" | "or" }). Returns 201 with the bare audience row.
post/v1/audiences
Request
- Base URLhttps://brew.new/api
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring
Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.
Request body
Response
Created.
Changes
No recorded changes to this operation across all 1 revision of this API.