Fetch a cohort snapshot by ID
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/{cohortSnapshotId}
Base url: https://audiences.twilio.com (base url)
Retrieves cohort snapshot metadata by its ID.
Works for snapshots from any source (COHORT or STORE).
Use ListCohortSnapshotProfiles to retrieve paginated profile data.
The cohortSnapshotId identifier
OK - Cohort snapshot metadata retrieved
Optional
Represents an immutable point-in-time snapshot of cohort profiles with variable data.
The snapshot's source field determines the source of profiles:
- COHORT source: Profiles from an existing cohort definition
- STORE source: Profiles directly from a store using inline criteria
1curl -X GET "https://audiences.twilio.com/preview/CohortSnapshots/cohortSnapshotId" \2-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
Response
1{2"cohortSnapshot": {3"cohortSnapshotId": "cmp_cohortsnapshot_01h9d8r0vte3hz8tykdj329t7r",4"source": {5"cohortId": "cmp_cohort_01h9d8r0vte3hz8tykdj329t7r"6},7"profileCount": 15420,8"partitionCount": 4,9"variables": [10{11"expression": "profile.address.email",12"displayName": "email"13},14{15"expression": "profile.trait.Contact.firstName",16"displayName": "first_name"17}18],19"labels": {20"environment": "production"21},22"createdAt": "2026-01-15T10:00:00Z",23"completedAt": "2026-01-15T10:03:45Z",24"profilesExpiresAt": "2026-01-22T10:00:00Z"25}26}