List cohort snapshots
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/CohortSnapshots
Base url: https://audiences.twilio.com (base url)
Retrieves a paginated list of cohort snapshots.
- Use
labelsto filter by labels (format:key1:value1,key2:value2) - Use
cohortIdto filter COHORT-sourced snapshots for a specific cohort - Use
storeIdto filter STORE-sourced snapshots for a specific store
Use orderBy (CREATED_AT or COMPLETED_AT) and orderDirection (ASC
or DESC). Default: CREATED_AT DESC.
Token-based pagination via pageSize and pageToken.
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 to cohort snapshots for a specific store (STORE-sourced only)
mem_store_01h9d8r0vte3hz8tykdj329t7rPattern: ^mem_store_[a-zA-Z0-9]{26}$Min length: 36Max length: 36Optional
Filter to cohort snapshots for a specific cohort (COHORT-sourced only)
cmp_cohort_01h9d8r0vte3hz8tykdj329t7rPattern: ^cmp_cohort_[a-zA-Z0-9]{26}$Max length: 100Optional
Field to order results by
CREATED_ATPossible values: CREATED_ATCOMPLETED_ATOptional
Sort direction for results
DESCPossible values: ASCDESCOptional
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 snapshots
Optional
List of cohort snapshots
100Optional
Pagination metadata for list responses
1curl -X GET "https://audiences.twilio.com/preview/CohortSnapshots?orderBy=CREATED_AT&orderDirection=DESC&PageSize=20" \2-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
Response
1{2"cohortSnapshots": [3{4"cohortSnapshotId": "cmp_cohortsnapshot_01h9d8r0vte3hz8tykdj329t7r",5"source": {6"cohortId": "cmp_cohort_01h9d8r0vte3hz8tykdj329t7r"7},8"profileCount": 15420,9"partitionCount": 4,10"variables": [11{12"expression": "profile.address.email",13"displayName": "email"14},15{16"expression": "profile.trait.Contact.firstName",17"displayName": "first_name"18}19],20"labels": {21"environment": "production"22},23"createdAt": "2026-01-15T10:00:00Z",24"completedAt": "2026-01-15T10:03:45Z",25"profilesExpiresAt": "2026-01-22T10:00:00Z"26}27],28"meta": {29"key": "cohortSnapshots",30"pageSize": 131}32}