younifyd
Menu

Get an audience

Get an audience

GET/promotions/audiences/{audienceId}

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Get an audience action (under Promotions).
  3. Fill in the fields below, then reference the result from later steps as {{getAnAudience.response.data}}.

Request

Path parameters

audienceIdstringrequired

Audience id

Response

Returns 200 with an object. Read it in later steps with {{getAnAudience.response.data.<field>}}.

idstring

Audience id

namestring

Internal name of the audience

descriptionstring

Internal description of the audience

companyIdsarray<integer>

The list of company ids where the audience takes place

customerIdsarray<integer>

The list of customer ids

createdAtstring

Created at date

updatedAtstring

Updated at date

json
{
  "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"
}

Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.

Get an audience — SCAYLE Admin — Documentation