Skip to content

Update an audience

PATCH
/api/v1/audience/{targetGroup_id}
curl --request PATCH \
--url https://renotify.app/api/v1/audience/architecto \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "VIP Customers", "filter_criteria": null, "include_contact_ids": [ 16 ], "exclude_contact_ids": [ 16 ] }'

Update an existing saved audience.

targetGroup_id
required
string

The ID of the targetGroup.

Example
architecto
Media typeapplication/json
object
name
required

The segment name.

string
Example
VIP Customers
filter_criteria
object
Example
null
include_contact_ids
Array<integer>
Example
[
16
]
exclude_contact_ids
Array<integer>
Example
[
16
]