Stream cohort
Stream a cohort as JSON with two fields:
- `name` - Cohort name (1-50 characters)
- `users` - Array of user records (1-1000)
**When to use**
Stream cohort adds known callers to an inbound deployment programmatically. When a matched phone number calls in, the agent receives personalized variables for that contact.
- **CRM integration** - keep caller context in sync from Salesforce, HubSpot, Zoho, or your own database
- **Webhooks and automation** - update caller profiles when account data changes in your systems
- **Incremental batches** - add or refresh contacts over time without CSV uploads
For CSV files, use **Upload cohort** instead.
Processing is asynchronous - poll **Get cohort** until `status` is `completed` or `failed`.
Path parameters
org_id
workspace_id
deployment_id
Request
This endpoint expects an object.
name
Cohort name (1-50 characters). Letters, numbers, spaces, underscores, and hyphens only.
users
List of user records (1-1000).
Response
Successful Response
name
Name of the resource
cohort_id
Unique identifier for the cohort
status
Current status
source_type
How the cohort was uploaded
created_by
User who created this resource
created_at
Timestamp when the resource was created (ISO 8601)
updated_at
Timestamp when the resource was last updated (ISO 8601)
result
Processing result with record counts
updated_by
User who last updated this resource
Errors
422
Unprocessable Entity Error