Skip to content

Audience

An Audience is a saved query over Visitors, Leads, Prospects, or Customers, used to target Ads and Messages.

Properties

PropertyTypeRequiredDescription
sizeintegerHow many people match.
Inherited from Collection: 1 property
PropertyTypeRequiredDescription
queryjsonThe saved query that defines a dynamic Collection.
Inherited from Thing: 4 properties
PropertyTypeRequiredDescription
idstringrequiredThe stable identifier, which never changes.
typelist of NounrequiredThe Nouns this Thing is an instance of.
statestringThe current state in its lifecycle.
outsidejsonThe ids this Thing has in outside tools, one per Integration, so a re-run matches instead of duplicating.

Object

JSON
{
  "$id": "https://api.sb/tutorloop.com/audiences/audience_1",
  "$type": "Audience",
  "id": "Example id",
  "type": [
    "noun_1"
  ],
  "state": "Example state",
  "outside": {},
  "query": {},
  "size": 1
}

Relationships

  • An Audience is targeted by many Ads: an Ad is shown to the people its Audiences select. targetedBy, inverse targets.

Verbs

  1. createCreates an Audience.
    POST /{namespace}/audiencesdoAudience.created
  2. getReturns one Audience by id.
    GET /{namespace}/audiences/{id}readNo Event
  3. listReturns Audiences, newest first, one page at a time.
    GET /{namespace}/audiencesreadNo Event
  4. updateChanges the given properties of an Audience.
    PATCH /{namespace}/audiences/{id}doAudience.updated
  5. deleteDeletes an Audience; its history is kept.
    DELETE /{namespace}/audiences/{id}doAudience.deleted

Permissions

Which Access level may call each Verb. One-way Verbs wait their delay window.

Operationowneradminmemberviewer
Audience.createYesYesYesNo
Audience.getYesYesYesYes
Audience.listYesYesYesYes
Audience.updateYesYesYesNo
Audience.deleteYesYesYesNo

Call it

Text
Add an audience to QuietCopy with a noun.

Example

The Audience of trial users with no API call in 7 days feeds a reminder Message each morning. It drops anyone who becomes a Customer.