Menu
Get audiences for given filters
Get audiences for given filters
GET
/promotions/audiencesUse it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Get audiences for given filters action (under Promotions).
- Fill in the fields below, then reference the result from later steps as
{{getAudiencesForGivenFilters.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getAudiencesForGivenFilters.response.data.<field>}}.
{
"entities": [
{
"name": "VIP customers",
"description": "German VIP Customers from Hamburg only",
"companyIds": [
100
],
"customerIds": [
345,
456,
567
],
"id": "645e0c241a93369ff53f26e0",
"createdAt": "2023-05-10T10:00:00+00:00",
"updatedAt": "2023-05-10T10:00:00+00:00"
}
],
"cursor": {
"next": "MQ=="
}
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?