SegmentFolders
Test dynamic segments
Changed onDetermines whether the specified user matches the specified dynamic segment
post/channel/v1/segments/dynamicSegments/matchUser/{userEmail}
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userEmailstring required
User email address
Request body
Example request
{
"name": "Canada",
"code": "XXYU",
"filters": [
[
{
"conditions": [
{
"parameter": "company.state",
"operator": "matches",
"values": [
"Quebec"
]
},
{
"parameter": "company.city",
"operator": "matches",
"values": [
"Montreal"
]
}
]
},
{
"conditions": [
{
"parameter": "company.state",
"operator": "matches",
"values": [
"Quebec"
]
},
{
"parameter": "company.city",
"operator": "matches",
"values": [
"Montreal"
]
}
]
}
]
]
}Response
OK
Example response
{
"matches": "true"
}Changes
- info
endpoint added
- info