Audience segments
Create an audience segment
Changed onCreate a new audience segment.
post/v1/audience-segments
Request
- Base URLhttps://app.loops.so/api
- AuthHTTP bearer
Request body
Example request
{
"name": "Active users",
"description": "Contacts on the pro plan",
"filter": {
"match": "all",
"conditions": [
{
"type": "property",
"key": "plan",
"operator": "equals",
"value": "pro"
}
]
}
}Response
Audience segment created.
Example response
{
"id": "cls6e8g0i2k4m6o8q0s2u4w6",
"name": "Power users",
"description": "Contacts on the pro plan",
"createdAt": "2025-06-29T07:47:39.370Z",
"updatedAt": "2025-06-29T07:47:39.370Z",
"filter": {
"match": "all",
"conditions": [
{
"type": "property",
"key": "plan",
"operator": "equals",
"value": "pro"
}
]
}
}Changes
- breaking
removed
subschema #1subschema #2subschema #3from the///////request propertyoneOflist - info
added
subschema #1: Stringsubschema #2: Numbersubschema #3: Date rangeto the///////request propertyoneOflist
- breaking
- info
api operation id
createAudienceSegmentwas added
- info