List cohort definitions
Beta
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. 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.
Not a HIPAA Eligible Service or PCI Compliant
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.
GET/preview/Cohorts
Base url: https://audiences.twilio.com (base url)
Retrieves a list of cohort definitions with optional filtering.
All filters are optional and combine with AND logic.
Use labels to filter by one or many labels. Format: key1:value1,key2:value2
Use storeType and storeId together to filter cohorts by their profile store.
Token-based pagination via pageSize and pageToken (see meta.nextToken).
Optional
Match resources by one or many labels. If more than one label is specified in the query, the search returns resources that have all the labels (AND logic).
Format: key1:value1,key2:value2
Example: labels=environment:production,campaign:q1-2026
Filter character set: label keys and values must match [a-zA-Z0-9._~-]+
(URL-safe unreserved characters). This is the same character set enforced when
labels are written, so every label that can be stored on a resource can also be
filtered on here.
Reserved (twilio__) label keys are rejected; filter on those through their
dedicated query parameters (e.g. storeType/storeId) instead.
^[a-zA-Z0-9._~-]+:[a-zA-Z0-9._~-]+(,[a-zA-Z0-9._~-]+:[a-zA-Z0-9._~-]+)*$Optional
Filter by profile store type. Must be used together with storeId.
TWILIOPossible values: TWILIOOptional
Filter by profile store ID. Must be used together with storeType.
mem_store_01h9d8r0vte3hz8tykdj329t7rPattern: ^mem_store_[a-zA-Z0-9]{26}$Min length: 36Max length: 36Optional
Maximum number of items to return in a single response. Must be between 1 and 100. Defaults to 20 when omitted.
20Minimum: 1Maximum: 100Optional
An opaque, URL-safe cursor identifying the page of results to return. Pass
back the meta.nextToken value from the previous response. If omitted, the
API returns the first page of results.
The token's encoding and contents are an implementation detail and may change without notice, so do not decode, construct or modify one -- a malformed token is rejected. Carry it through unchanged.
500OK - List of cohort definitions
Optional
List of cohort definitions
100Optional
Pagination metadata for list responses
1curl -X GET "https://audiences.twilio.com/preview/Cohorts?PageSize=20" \2-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
Response
1{2"cohorts": [3{4"id": "cmp_cohort_01h9d8r0vte3hz8tykdj329t7r",5"displayName": "Active US Adults",6"description": "US-based adults aged 18 and older who have an email address",7"storeId": "mem_store_01h9d8r0vte3hz8tykdj329t7r",8"storeType": "TWILIO",9"criteria": "profile.trait.Contact.age >= 18 && profile.trait.Contact.country == \"US\" && has(profile.address.email)",10"labels": {11"environment": "production",12"campaign": "q1-2026"13},14"createdAt": "2026-01-15T10:00:00Z",15"updatedAt": "2026-01-15T10:00:00Z"16}17],18"meta": {19"key": "cohorts",20"pageSize": 1,21"previousToken": "previousToken",22"nextToken": "nextToken"23}24}