---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/cohorts#article
headline: Twilio Cohorts
description: Define reusable audience segments with Twilio Cohorts and generate point-in-time snapshots of matching profiles for your campaigns.
url: https://www.twilio.com/docs/cohorts
inLanguage: en
dateModified: 2026-10-01T16:19:20.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Twilio Cohorts

## Twilio Cohorts

> \[!IMPORTANT]
>
> Twilio Cohorts is currently available as a Private Beta product and the information contained in this document is subject to change. You acknowledge and agree that your use of Twilio Cohorts is subject to the terms of the [Services in Private Beta](https://www.twilio.com/en-us/legal/service-country-specific-terms/private-beta). This means that some features are not yet implemented and others may be changed before the product is declared as Generally Available. Private Beta products are not covered by the Twilio Support Terms or Twilio Service Level Agreement.

> \[!IMPORTANT]
>
> Request access to the private beta through [this form](https://airtable.com/appRfMcPhtbqS6n2A/pagrrzSGrvqgGjjEu/form).

> \[!WARNING]
>
> Twilio Cohorts is not a HIPAA Eligible Service or PCI compliant and should not be enabled in workflows that are subject to HIPAA or PCI.

You can define reusable audience segments for your customer profiles and then generate point-in-time snapshots of the profiles that match those segments. Use Cohorts to create lists for messaging, operational workflows, system notifications, or data exports, so you do not need to maintain your own segmentation logic.

[Get started now](/docs/cohorts/getting-started)

## Tutorial

```bash !sample
curl -X POST 'https://audiences.twilio.com/preview/Cohorts' \
-H 'Content-Type: application/json' \
-d '{
    "displayName": "Active US customers",
    "description": "US-based customers with an active account",
    "storeType": "TWILIO",
    "storeId": "mem_store_01h9d8r0vte3hz8tykdj329t7r",
    "criteria": "profile.trait.Account.status == \"active\" && profile.trait.Account.country == \"US\"",
    "labels": {
        "key": "value"
    }
}' \
-u $TWILIO_API_KEY:$TWILIO_API_SECRET
```

1. Write filter criteria that describe the profiles you want to target
2. Save the expression as a cohort so you can reuse it across campaigns
3. Generate a snapshot to materialize the profiles that currently match

Tutorial code output: "Define your first cohort in minutes."

## Start building cohorts

Define your first cohort, generate a snapshot, and page through the matching profiles.

```http
HTTP/1.1 201 Created

{
    "id": "cmp_cohort_01h9d8r0vte3hz8tykdj329t7r",
    "displayName": "Active US customers",
    "description": "US-based customers with an active account",
    "storeType": "TWILIO",
    "storeId": "mem_store_01h9d8r0vte3hz8tykdj329t7r",
    "criteria": "profile.trait.Account.status == \"active\" && profile.trait.Account.country == \"US\"",
    "labels": {
        "key": "value"
    },
    "createdAt": "2026-01-15T10:00:00Z",
    "updatedAt": "2026-01-15T10:00:00Z"
}
```

### Get started

* [Getting started guide](/docs/cohorts/getting-started)
* [Core concepts](/docs/cohorts/concepts/cohorts)
* [Writing filter criteria](/docs/cohorts/cel/overview)

## Learn more

Explore the guides and API references to build your audience segmentation.

### Core concepts

* [Cohorts](/docs/cohorts/concepts/cohorts)
* [Snapshots](/docs/cohorts/concepts/snapshots)
* [Operations](/docs/cohorts/concepts/operations)
* [Retrieving profiles](/docs/cohorts/concepts/retrieving-profiles)
* [Labels](/docs/cohorts/concepts/labels)

### Filter criteria

* [Overview](/docs/cohorts/cel/overview)
* [Operators and precedence](/docs/cohorts/cel/operators-and-precedence)
* [Functions](/docs/cohorts/cel/functions)
* [Null handling](/docs/cohorts/cel/null-handling)
* [Type matching](/docs/cohorts/cel/type-matching)
* [Common filtering patterns](/docs/cohorts/cel/common-filtering-patterns)

### Guides

* [Validate cohort criteria with snapshots](/docs/cohorts/validating-cohort-criteria)
* [Using Cohorts with Bulk Messaging and Email](/docs/cohorts/bulk-messaging-and-email)

### API reference

* [Cohorts API](/docs/api/audiences/preview)
* [Rate limits](/docs/cohorts/api/rate-limits)

## Related Products

Twilio offers other tools you can use alongside Cohorts to reach your customers.

### Bulk Messaging

Send personalized messages at scale across SMS, MMS, RCS, and WhatsApp.

[Product Docs](/docs/bulk-messaging)

### Twilio Email

Send transactional and marketing email with domain authentication and delivery tracking.

[Product Docs](/docs/email)
