Skip to content

Create an audience

POST
/api/v1/audience
curl --request POST \
--url https://renotify.app/api/v1/audience \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "VIP Customers", "filter_criteria": [ { "field": "marketing_consent", "operator": "=", "value": true } ] }'

Create a saved segment for the current team.

Media typeapplication/json
object
name
required

The segment name.

string
Example
VIP Customers
filter_criteria

The filter criteria to save with the audience.

Array<string>
Example
[
{
"field": "marketing_consent",
"operator": "=",
"value": true
}
]