Audiences

Audiences are groups of contacts. Instead of selecting contacts individually for each campaign, you organize them into audiences and target entire groups.

Why audiences matter

Audiences solve several problems:

  • Reusability - Create an audience once, use it across multiple campaigns

  • Segmentation - Target different groups with different messages

  • Maintenance - Update audience membership without changing programs

  • Overlap - The same contact can belong to multiple audiences

Think of audiences as dynamic lists that you can modify independently of your campaigns.

Creating audiences

Create an audience with a name and optional description:

curl -X POST https://api.gomobile.io/audience \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Premium Customers",
    "description": "Customers on premium subscription plans"
  }'

Response:

Adding contacts to audiences

Once you have an audience, add contacts to it:

You can add contacts in bulk—useful when importing from external systems.

Listing audiences

View all audiences in your organization:

Search and sort options:

  • Searchable fields: name, description

  • Sortable fields: name, createdAt, updatedAt

Example with filters:

Updating audiences

Modify audience details:

Audience strategies

By customer value

By geography

By engagement

Overlapping audiences

Contacts can belong to multiple audiences. This is intentional and useful:

  • A contact might be in both "Premium Customers" and "Casablanca Region"

  • You can target them with region-specific campaigns AND premium-specific campaigns

  • When the same contact appears in multiple executions, Gomobile handles deduplication

Audience size and campaigns

When you launch a program, Gomobile snapshots the audience at that moment. This means:

  • Contacts added after launch won't be included in that execution

  • Contacts removed after launch will still be called (they were in the snapshot)

  • This ensures predictable behavior for running campaigns

To include new contacts, launch a new execution of the program.

Deleting audiences

Remove an audience when it's no longer needed:

Deleting an audience doesn't delete the contacts—they remain in the system and can be added to other audiences.

Best practices

  • Keep audiences focused - One clear purpose per audience

  • Use descriptive names - Future you will thank present you

  • Document in descriptions - Explain the criteria for membership

  • Review periodically - Remove stale audiences, update membership

  • Consider audience size - Very large audiences may need multiple executions

  • Contacts - The people who belong to audiences

  • Programs - Campaigns that target audiences

  • Executions - Running instances that process audiences

Last updated