Journeys
Tags: journeys, members
Member journey tracking and progression
In the product: Journeys
Resources
Request and response models used by the endpoints on this page.
AbilityConfigIssue
| Field | Type | Required | Description |
|---|---|---|---|
abilityType | String | ✓ | |
code | Literal['missing_resource', 'invalid_state', 'feature_disabled', 'missing_connection', 'external_drift', 'no_qualification_scenarios', 'check_truncated'] | ✓ | |
eventType | String | ||
message | String | ✓ | |
objectType | String | ||
resourceId | int | str | |
resourceName | String | ||
resourceType | String | ||
severity | Literal['warning', 'error'] | ✓ | |
taskId | Integer |
Example:
{
"severity": "warning",
"code": "missing_resource",
"abilityType": "string",
"message": "string"
}
ActivityActorResponse
| Field | Type | Required | Description |
|---|---|---|---|
kind | ActorKind | ✓ | |
uuid | UUID | ||
viaAppUuid | UUID |
Example:
{
"kind": null
}
ActivityEventLine
Example:
{
"id": "00000000-0000-0000-0000-000000000000",
"occurredAt": "2024-01-01T00:00:00Z",
"eventType": null,
"family": null,
"eventVersion": 0,
"visibility": null,
"actor": null,
"subject": null,
"refs": []
}
ActivityEventsResponse
| Field | Type | Required | Description |
|---|---|---|---|
cursorRejected | FeedCursorRejection | ||
envelope | ActivityResponseEnvelope | ✓ | |
grain | <enum ActivityGrain | Default: event | |
hasMore | Boolean | ✓ | |
items | tuple<ActivityEventLine, Ellipsis> | ✓ | |
nextCursor | String | ||
pageSize | Integer | ✓ | |
totalMatched | Integer |
Example:
{
"grain": "event",
"items": null,
"hasMore": false,
"pageSize": 0,
"envelope": null
}
ActivityRefResponse
| Field | Type | Required | Description |
|---|---|---|---|
accountUuid | UUID | ||
kind | <enum EntityKind | ✓ | |
orgUuid | UUID | ||
uuid | UUID | ✓ | |
workspaceUuid | UUID |
Example:
{
"kind": null,
"uuid": "00000000-0000-0000-0000-000000000000"
}
ActivityResponseEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
generatedAt | DateTime | ✓ | |
priorityPolicyVersion | Integer | ✓ | |
vocabularyVersion | Integer | ✓ |
Example:
{
"generatedAt": "2024-01-01T00:00:00Z",
"vocabularyVersion": 0,
"priorityPolicyVersion": 0
}
AggregatePredicate
| Field | Type | Required | Description |
|---|---|---|---|
emptyPolicy | Literal['include', 'exclude'] | Default: exclude | |
kind | Literal['aggregate'] | Default: aggregate | |
metric | Literal['count', 'max', 'sum'] | Default: count | |
of | String | ||
op | Literal['eq', 'neq', 'gt', 'gte', 'lt', 'lte'] | ✓ | |
period | Annotated<CurrentMonthPeriod | NamedMonthPeriod, annotation=null required=True discriminator='type'> | null | ||
periodField | String | ||
source | String | ✓ | |
sourceIds | Array | ||
value | Integer | Number | NowValue | DaysAgoValue | DaysFromNowValue | String | ✓ | |
windowDays | Integer | ||
windowHours | Integer |
Example:
{
"kind": "aggregate",
"source": "string",
"metric": "count",
"op": "eq",
"value": "string",
"emptyPolicy": "exclude"
}
And
| Field | Type | Required | Description |
|---|---|---|---|
children | Array<Annotated<And | Or | Not | MatchAll | Compare | RecordMatch | RelationMatch | AggregatePredicate | SubQueryRef | SavedFilterRef, annotation=null required=True discriminator='kind'>> | ✓ | |
kind | Literal['and'] | Default: and |
Example:
{
"kind": "and",
"children": []
}
AssignmentConcludedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
completedTaskCount | Integer | Default: 0 | |
durationMs | Integer | ||
outcome | <enum AssignmentConclusion | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
taskCount | Integer | Default: 0 | |
type | Literal['assignment.concluded'] | Default: assignment.concluded | |
workflow | EntityRef | null |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "assignment.concluded",
"outcome": null,
"taskCount": 0,
"completedTaskCount": 0
}
AssignmentStartedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
revisionNumber | Integer | ||
schemaVersion | Literal[1] | Default: 1 | |
trigger | AssignmentTrigger | ||
type | Literal['assignment.started'] | Default: assignment.started | |
workflow | EntityRef | null |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "assignment.started"
}
AssignmentTaskEnteredDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
chat | EntityRef | null | ||
member | EntityRef | null | ||
revisionNumber | Integer | ||
schemaVersion | Literal[1] | Default: 1 | |
task | EntityRef | ✓ | |
taskLineageUuid | UUID | ||
type | Literal['assignment.task_entered'] | Default: assignment.task_entered | |
workflow | EntityRef | null |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "assignment.task_entered",
"task": null
}
CallCompletedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
direction | <enum CallDirection | ✓ | |
durationMs | Integer | ||
outcome | <enum CallCompletionDisposition | ✓ | |
phoneNumber | EntityRef | null | ||
recording | EntityRef | null | ||
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['call.completed'] | Default: call.completed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "call.completed",
"direction": null,
"outcome": null
}
CallMissedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
direction | <enum CallDirection | ✓ | |
phoneNumber | EntityRef | null | ||
reason | <enum MissedCallReason | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['call.missed'] | Default: call.missed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "call.missed",
"direction": null,
"reason": null
}
CallNotPlacedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
outboundCallIntent | UUID | ✓ | |
reason | <enum CallNotPlacedReason | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['call.not_placed'] | Default: call.not_placed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "call.not_placed",
"outboundCallIntent": "00000000-0000-0000-0000-000000000000",
"reason": null
}
CallQueuedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
outboundCallIntent | UUID | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['call.queued'] | Default: call.queued |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "call.queued",
"outboundCallIntent": "00000000-0000-0000-0000-000000000000"
}
CallStartedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
direction | <enum CallDirection | ✓ | |
outboundCallIntent | UUID | ||
phoneNumber | EntityRef | null | ||
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['call.started'] | Default: call.started |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "call.started",
"direction": null
}
CallSummaryDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
channel | <enum ChatChannel | ✓ | |
chat | EntityRef | null | ||
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['call.summary'] | Default: call.summary |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "call.summary",
"channel": null
}
ChatAwaitingHumanDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
clearedReasons | tuple[ChatAttentionReason, ...] | Default: () | |
isTest | Boolean | Default: False | |
reasons | tuple[ChatAttentionReason, ...] | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['chat.awaiting_human'] | Default: chat.awaiting_human |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "chat.awaiting_human",
"reasons": null,
"clearedReasons": [],
"isTest": false
}
ChatCallEndedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
clearedReasons | tuple[ChatAttentionReason, ...] | Default: () | |
reasons | tuple[ChatAttentionReason, ...] | Default: () | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['chat.call_ended'] | Default: chat.call_ended |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "chat.call_ended",
"reasons": [],
"clearedReasons": []
}
ChatHumanRepliedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
clearedReasons | tuple[ChatAttentionReason, ...] | Default: () | |
replyMember | EntityRef | null | ||
replyMessageUuid | UUID | ||
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['chat.human_replied'] | Default: chat.human_replied | |
waitedMs | Integer |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "chat.human_replied",
"clearedReasons": []
}
ChatStartedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
channel | <enum ChatChannel | ✓ | |
initiatedBy | <enum ActorKind | ✓ | |
lane | <enum ChatLane | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['chat.started'] | Default: chat.started |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "chat.started",
"lane": null,
"channel": null,
"initiatedBy": null
}
ChatSummaryDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
channel | <enum ChatChannel | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['chat.summary'] | Default: chat.summary |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "chat.summary",
"channel": null
}
Compare
| Field | Type | Required | Description |
|---|---|---|---|
field | String | ✓ | |
kind | Literal['compare'] | Default: compare | |
op | Literal['eq', 'neq', 'contains', 'notContains', 'startsWith', 'in', 'notIn', 'gt', 'gte', 'lt', 'lte', 'between', 'notBetween', 'isEmpty', 'notEmpty', 'exists', 'onDay', 'notOnDay'] | ✓ | |
value | Boolean | Integer | Number | String | NowValue | DaysAgoValue | DaysFromNowValue | DayBoundaryValue | RangeValue | Array<Boolean | Integer | Number | String> | null |
Example:
{
"kind": "compare",
"field": "string",
"op": "eq"
}
ConfigHealthAbilityProvenance
| Field | Type | Required | Description |
|---|---|---|---|
abilityType | String | ✓ | |
kind | Literal['ability'] | Default: ability |
Example:
{
"kind": "ability",
"abilityType": "string"
}
ConfigHealthDetectorProvenance
| Field | Type | Required | Description |
|---|---|---|---|
detector | Literal['task_edge', 'task_guard', 'workflow_voice', 'event_rule', 'journey_edge', 'journey_goal', 'journey_runtime_failure', 'workspace_lint', 'qualification_coverage', 'journey_step_rule', 'task_generation', 'cel_write_field', 'journey_v2_validator', 'runner_file_access', 'journey_auto_enroll'] | ✓ | |
kind | Literal['detector'] | Default: detector |
Example:
{
"kind": "detector",
"detector": "task_edge"
}
ConfigHealthIssue
| Field | Type | Required | Description |
|---|---|---|---|
checkSlug | Literal['workflow.config', 'journey.authoring', 'journey.v2_validation', 'journey.runtime', 'workspace.validation'] | ✓ | |
code | String | ✓ | |
issueKey | String | ✓ | |
message | String | ✓ | |
provenance | Annotated<ConfigHealthAbilityProvenance | ConfigHealthDetectorProvenance, annotation=null required=True discriminator='kind'> | null | ||
remediation | ConfigHealthRemediation | null | ||
severity | Literal['critical', 'warning', 'info'] | ✓ | |
subject | ConfigHealthSubject | ✓ |
Example:
{
"issueKey": "string",
"checkSlug": "workflow.config",
"code": "string",
"severity": "critical",
"message": "string",
"subject": null
}
ConfigHealthRemediation
| Field | Type | Required | Description |
|---|---|---|---|
destination | Literal['workflow_editor', 'journey_editor', 'event_rule_editor', 'member_role_editor'] | ✓ | |
focus | ConfigHealthRemediationFocus | ||
resourceId | String | ✓ | |
resourceKind | Literal['workflow', 'journey', 'routine', 'event_rule', 'data_type', 'member_role'] | ✓ |
Example:
{
"destination": "workflow_editor",
"resourceKind": "workflow",
"resourceId": "string"
}
ConfigHealthRemediationFocus
| Field | Type | Required | Description |
|---|---|---|---|
abilityUuid | String | ||
eventRuleId | Integer | ||
eventType | String | ||
journeyGoalId | Integer | ||
journeyStepConnectionId | Integer | ||
objectType | String | ||
taskAssociationId | Integer | ||
taskId | Integer |
Example:
{}
ConfigHealthSubject
| Field | Type | Required | Description |
|---|---|---|---|
id | String | ✓ | |
name | String | ||
type | String | ✓ |
Example:
{
"type": "string",
"id": "string"
}
ConfigUpdatedDetail
| Field | Type | Required | Description |
|---|---|---|---|
action | <enum ConfigAction | ✓ | |
area | <enum ConfigArea | ✓ | |
backfill | Boolean | Default: False | |
fieldSlugs | tuple[Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[a-z0-9][a-z0-9_.:-]{0,127}$, ascii_only=None)], ...] | Default: () | |
journeyStatusAfter | JourneyLifecycleStatus | ||
journeyStatusBefore | JourneyLifecycleStatus | ||
journeyVersionNumber | Integer | ||
schemaVersion | Literal[1] | Default: 1 | |
timezoneAfter | Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[A-Za-z][A-Za-z0-9.+-]*(?:/[A-Za-z][A-Za-z0-9.+-])$, ascii_only=None), AfterValidator(func=<function _validate_timezone_name at 0x75b86a76ec40)] | ||
timezoneBefore | Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[A-Za-z][A-Za-z0-9.+-]*(?:/[A-Za-z][A-Za-z0-9.+-])$, ascii_only=None), AfterValidator(func=<function _validate_timezone_name at 0x75b86a76ec40)] | ||
type | Literal['config.updated'] | Default: config.updated |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "config.updated",
"area": null,
"action": null,
"fieldSlugs": []
}
ConnectionAuthorizationLostDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
connectionType | <enum AppConnectionType | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['connection.authorization_lost'] | Default: connection.authorization_lost |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "connection.authorization_lost",
"connectionType": null
}
ConnectionAuthorizationRestoredDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
connectionType | <enum AppConnectionType | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['connection.authorization_restored'] | Default: connection.authorization_restored |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "connection.authorization_restored",
"connectionType": null
}
CreateJourneyRequest
| Field | Type | Required | Description |
|---|---|---|---|
activeHours | Object | ||
autoEnrollFilterId | Integer | ||
description | String | ||
enrollmentConditions | Array<JourneyEnrollmentConditionInput> | null | ||
executionModel | Literal[legacy, v2] | ||
firstStepName | String | ||
humanHandoffHoldEnabled | Boolean | Default: False | |
name | String | ✓ | |
ownerId | Integer | ||
status | String |
Example:
{
"name": "string",
"humanHandoffHoldEnabled": false
}
CurrentMonthPeriod
| Field | Type | Required | Description |
|---|---|---|---|
type | Literal['currentMonth'] | Default: currentMonth |
Example:
{
"type": "currentMonth"
}
DataRecordCreatedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
call | EntityRef | null | ||
chat | EntityRef | null | ||
dataType | EntityRef | null | ||
fieldSlugs | tuple[Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[a-z0-9][a-z0-9_.:-]{0,127}$, ascii_only=None)], ...] | Default: () | |
isTest | Boolean | ||
schemaVersion | Literal[1] | Default: 1 | |
sourceChannel | RecordSourceChannel | ||
type | Literal['data_record.created'] | Default: data_record.created |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "data_record.created",
"fieldSlugs": []
}
DataRecordUpdatedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
call | EntityRef | null | ||
chat | EntityRef | null | ||
dataType | EntityRef | null | ||
fieldSlugs | tuple[Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[a-z0-9][a-z0-9_.:-]{0,127}$, ascii_only=None)], ...] | Default: () | |
isTest | Boolean | ||
schemaVersion | Literal[1] | Default: 1 | |
sourceChannel | RecordSourceChannel | ||
type | Literal['data_record.updated'] | Default: data_record.updated |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "data_record.updated",
"fieldSlugs": []
}
DayBoundaryValue
| Field | Type | Required | Description |
|---|---|---|---|
day | String | Default: today | |
edge | Literal['start', 'end'] | Default: start | |
offsetDays | Integer | Default: 0 | |
type | Literal['dayBoundary'] | Default: dayBoundary | |
tz | Literal['workspace', 'utc'] | Default: workspace |
Example:
{
"type": "dayBoundary",
"day": "today",
"edge": "start",
"offsetDays": 0,
"tz": "workspace"
}
DaysAgoValue
| Field | Type | Required | Description |
|---|---|---|---|
days | Integer | ✓ | |
hours | Integer | Default: 0 | |
type | Literal['daysAgo'] | Default: daysAgo |
Example:
{
"type": "daysAgo",
"days": 0,
"hours": 0
}
DaysFromNowValue
| Field | Type | Required | Description |
|---|---|---|---|
days | Integer | ✓ | |
type | Literal['daysFromNow'] | Default: daysFromNow |
Example:
{
"type": "daysFromNow",
"days": 0
}
DomainLinkedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
purpose | <enum DomainPurpose | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['domain.linked'] | Default: domain.linked |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "domain.linked",
"purpose": null
}
DomainVerifiedDetail
| Field | Type | Required | Description |
|---|---|---|---|
attemptCount | Integer | ||
backfill | Boolean | Default: False | |
purpose | <enum DomainPurpose | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['domain.verified'] | Default: domain.verified | |
verification | <enum DomainVerification | ✓ |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "domain.verified",
"purpose": null,
"verification": null
}
EntityRef
| Field | Type | Required | Description |
|---|---|---|---|
accountUuid | UUID | ||
kind | <enum EntityKind | ✓ | |
orgUuid | UUID | ||
uuid | UUID | ✓ | |
workspaceUuid | UUID |
Example:
{
"kind": null,
"uuid": "00000000-0000-0000-0000-000000000000"
}
EscalationOpenedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
chat | EntityRef | null | ||
isTest | Boolean | Default: False | |
reason | <enum EscalationReason | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['escalation.opened'] | Default: escalation.opened |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "escalation.opened",
"reason": null,
"isTest": false
}
EscalationResolvedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
chat | EntityRef | null | ||
openMs | Integer | ||
resolution | <enum EscalationResolution | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['escalation.resolved'] | Default: escalation.resolved |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "escalation.resolved",
"resolution": null
}
EventRuleResponse
| Field | Type | Required | Description |
|---|---|---|---|
actionParams | Dict[str, Any] | ✓ | |
actionSetLocked | Boolean | Default: False | |
actionType | <enum EventRuleActionType | ✓ | |
active | Boolean | ✓ | |
appConnectionId | Integer | ||
calendarEventTypeId | Integer | ✓ | |
calendarId | Integer | ✓ | |
celBlockedAt | DateTime | ||
conditions | String | ✓ | |
createdAt | DateTime | ✓ | |
dataTypeId | Integer | ✓ | |
dataTypeName | String | ||
delay | Integer | ✓ | |
error | String | ✓ | |
errorMessage | String | ✓ | |
eventType | <enum EventRuleEventType | ✓ | |
failedAt | DateTime | ✓ | |
id | Integer | ✓ | |
journeyId | Integer | ||
journeyStepId | Integer | ✓ | |
name | String | ✓ | |
objectType | <enum EventRuleObjectType | ✓ | |
order | Integer | ✓ | |
routineId | Integer | ✓ | |
taskId | Integer | ✓ | |
taskName | String | ||
taskWorkflowId | Integer | ||
triggerParams | Dict[str, Any] | ✓ | |
updatedAt | DateTime | ✓ | |
uuid | String | ✓ | |
workflowRevisionId | Integer | ✓ |
Example:
{
"id": 0,
"uuid": "string",
"objectType": null,
"name": "string",
"eventType": null,
"conditions": "string",
"actionType": null,
"active": false,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
"taskId": 0,
"dataTypeId": 0,
"routineId": 0,
"workflowRevisionId": 0,
"calendarId": 0,
"calendarEventTypeId": 0,
"journeyStepId": 0,
"error": "string",
"errorMessage": "string",
"failedAt": "2024-01-01T00:00:00Z",
"delay": 0,
"order": 0,
"actionSetLocked": false,
"actionParams": {},
"triggerParams": {}
}
ImportCompletedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
connection | EntityRef | null | ||
createdCount | Integer | Default: 0 | |
durationMs | Integer | ||
failedCount | Integer | Default: 0 | |
schemaVersion | Literal[1] | Default: 1 | |
skippedCount | Integer | Default: 0 | |
source | <enum ImportSource | ✓ | |
type | Literal['import.completed'] | Default: import.completed | |
updatedCount | Integer | Default: 0 |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "import.completed",
"source": null,
"createdCount": 0,
"updatedCount": 0,
"skippedCount": 0,
"failedCount": 0
}
ImportStartedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
connection | EntityRef | null | ||
expectedRows | Integer | ||
schemaVersion | Literal[1] | Default: 1 | |
source | <enum ImportSource | ✓ | |
type | Literal['import.started'] | Default: import.started |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "import.started",
"source": null
}
JourneyActivatedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
schemaVersion | Literal[1] | Default: 1 | |
stepCount | Integer | Default: 0 | |
type | Literal['journey.activated'] | Default: journey.activated |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "journey.activated",
"stepCount": 0
}
JourneyAuthoringResponse
| Field | Type | Required | Description |
|---|---|---|---|
activeHours | Object | ||
archived | Boolean | ✓ | |
authoringDraft | dict[str, JsonValue] | ||
autoEnrollFilterId | Integer | ✓ | |
createdAt | DateTime | ✓ | |
decisionRules | Array<JourneyDecisionRuleAuthoringResponse> | ||
description | String | ✓ | |
enrollmentConditions | Array<JourneyEnrollmentConditionAuthoringResponse> | ||
executionModel | String | Default: legacy | |
goals | Array<JourneyGoalAuthoringResponse> | ||
humanHandoffHoldEnabled | Boolean | Default: False | |
id | Integer | ✓ | |
name | String | ✓ | |
ownedPredicateWritesEnabled | Boolean | Default: False | |
ownerId | Integer | ✓ | |
startStepId | Integer | ||
status | String | ✓ | |
steps | Array<JourneyStepAuthoringResponse> | ||
updatedAt | DateTime | ✓ | |
uuid | String | ✓ |
Example:
{
"id": 0,
"uuid": "string",
"name": "string",
"description": "string",
"status": "string",
"ownerId": 0,
"autoEnrollFilterId": 0,
"humanHandoffHoldEnabled": false,
"executionModel": "legacy",
"archived": false,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
"ownedPredicateWritesEnabled": false
}
JourneyCompletedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
durationMs | Integer | ||
journey | EntityRef | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
stepCount | Integer | Default: 0 | |
type | Literal['journey.completed'] | Default: journey.completed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "journey.completed",
"journey": null,
"stepCount": 0
}
JourneyDecisionRuleAuthoringResponse
| Field | Type | Required | Description |
|---|---|---|---|
canEditMemberPredicate | Boolean | Default: False | |
celCondition | String | ✓ | |
createdAt | DateTime | ✓ | |
filterId | Integer | ||
filterName | String | ||
hasMemberPredicate | Boolean | Default: False | |
id | Integer | ✓ | |
isEnding | Boolean | ✓ | |
isOtherwise | Boolean | Default: False | |
journeyId | Integer | ✓ | |
memberPredicate | Object | ||
memberPredicateInvalid | Boolean | Default: False | |
name | String | ✓ | |
order | Integer | ✓ | |
sourceStepId | Integer | ✓ | |
subsumedConnectionIds | Array | ||
targetStepId | Integer | ✓ | |
updatedAt | DateTime | ✓ | |
uuid | String | ✓ |
Example:
{
"id": 0,
"uuid": "string",
"journeyId": 0,
"sourceStepId": 0,
"targetStepId": 0,
"name": "string",
"order": 0,
"isEnding": false,
"hasMemberPredicate": false,
"isOtherwise": false,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
"celCondition": "string",
"canEditMemberPredicate": false,
"memberPredicateInvalid": false
}
JourneyDecisionRuleResponse
| Field | Type | Required | Description |
|---|---|---|---|
createdAt | DateTime | ✓ | |
filterId | Integer | ||
filterName | String | ||
hasMemberPredicate | Boolean | Default: False | |
id | Integer | ✓ | |
isEnding | Boolean | ✓ | |
isOtherwise | Boolean | Default: False | |
journeyId | Integer | ✓ | |
name | String | ✓ | |
order | Integer | ✓ | |
sourceStepId | Integer | ✓ | |
subsumedConnectionIds | Array | ||
targetStepId | Integer | ✓ | |
updatedAt | DateTime | ✓ | |
uuid | String | ✓ |
Example:
{
"id": 0,
"uuid": "string",
"journeyId": 0,
"sourceStepId": 0,
"targetStepId": 0,
"name": "string",
"order": 0,
"isEnding": false,
"hasMemberPredicate": false,
"isOtherwise": false,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}
JourneyEnrolledDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
journey | EntityRef | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
trigger | JourneyEnrollmentTrigger | ||
type | Literal['journey.enrolled'] | Default: journey.enrolled |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "journey.enrolled",
"journey": null
}
JourneyEnrollmentConditionAuthoringResponse
| Field | Type | Required | Description |
|---|---|---|---|
canEditMemberPredicate | Boolean | Default: False | |
filterId | Integer | ||
filterName | String | ||
hasMemberPredicate | Boolean | Default: False | |
memberPredicate | Object | ||
memberPredicateInvalid | Boolean | Default: False | |
name | String | ||
uuid | String | ✓ |
Example:
{
"uuid": "string",
"hasMemberPredicate": false,
"memberPredicateInvalid": false,
"canEditMemberPredicate": false
}
JourneyEnrollmentConditionInput
| Field | Type | Required | Description |
|---|---|---|---|
filterId | Integer | ||
memberPredicate | Annotated<And | Or | Not | MatchAll | Compare | RecordMatch | RelationMatch | AggregatePredicate | SubQueryRef | SavedFilterRef, annotation=null required=True discriminator='kind'> | null | ||
name | String | ||
uuid | String |
Example:
{}
JourneyEnrollmentConditionResponse
| Field | Type | Required | Description |
|---|---|---|---|
filterId | Integer | ||
filterName | String | ||
hasMemberPredicate | Boolean | Default: False | |
name | String | ||
uuid | String | ✓ |
Example:
{
"uuid": "string",
"hasMemberPredicate": false
}
JourneyFilterOptionResponse
| Field | Type | Required | Description |
|---|---|---|---|
id | Integer | ✓ | |
name | String | ✓ | |
uuid | String | ✓ |
Example:
{
"id": 0,
"uuid": "string",
"name": "string"
}
JourneyGiveUpPeriod
| Field | Type | Required | Description |
|---|---|---|---|
amount | Integer | ✓ | |
unit | Literal['days', 'hours'] | ✓ |
Example:
{
"amount": 0,
"unit": "days"
}
JourneyGoalAuthoringResponse
| Field | Type | Required | Description |
|---|---|---|---|
achievedCount | Integer | ||
completionCel | String | ✓ | |
description | String | ✓ | |
experimentBreakdown | Array<JourneyGoalExperimentBreakdown> | null | ||
goalStepId | Integer | ✓ | |
id | Integer | ✓ | |
name | String | ✓ | |
order | Integer | ✓ | |
totalEnrolled | Integer | ||
uuid | String | ✓ | |
value | Number | ✓ |
Example:
{
"id": 0,
"uuid": "string",
"name": "string",
"description": "string",
"goalStepId": 0,
"value": 0.0,
"order": 0,
"completionCel": "string"
}
JourneyGoalExperimentBreakdown
| Field | Type | Required | Description |
|---|---|---|---|
achievedCount | int | str | ✓ |
conversionRate | Number | ||
exposedCount | int | str | ✓ |
groupId | Integer | ✓ | |
groupName | String | ✓ | |
groupSlug | String | ✓ | |
isControl | Boolean | ✓ |
Example:
{
"groupId": 0,
"groupSlug": "string",
"groupName": "string",
"isControl": false,
"achievedCount": "string",
"exposedCount": "string"
}
JourneyGoalResponse
| Field | Type | Required | Description |
|---|---|---|---|
achievedCount | Integer | ||
description | String | ✓ | |
experimentBreakdown | Array<JourneyGoalExperimentBreakdown> | null | ||
goalStepId | Integer | ✓ | |
id | Integer | ✓ | |
name | String | ✓ | |
order | Integer | ✓ | |
totalEnrolled | Integer | ||
uuid | String | ✓ | |
value | Number | ✓ |
Example:
{
"id": 0,
"uuid": "string",
"name": "string",
"description": "string",
"goalStepId": 0,
"value": 0.0,
"order": 0
}
JourneyHealthResponse
| Field | Type | Required | Description |
|---|---|---|---|
authoringIssues | Array<AbilityConfigIssue> | ||
configHealthAuthoringIssues | Array<ConfigHealthIssue> | ||
configHealthRuntimeFailures | Array<ConfigHealthIssue> | ||
runtimeFailures | Array<AbilityConfigIssue> | ||
sendEstimate | JourneySendEstimateResponse | null |
Example:
{}
JourneyResponse
| Field | Type | Required | Description |
|---|---|---|---|
activeHours | Object | ||
archived | Boolean | ✓ | |
autoEnrollFilterId | Integer | ✓ | |
createdAt | DateTime | ✓ | |
decisionRules | Array<JourneyDecisionRuleResponse> | ||
description | String | ✓ | |
enrollmentConditions | Array<JourneyEnrollmentConditionResponse> | ||
executionModel | String | Default: legacy | |
goals | Array<JourneyGoalResponse> | ||
humanHandoffHoldEnabled | Boolean | Default: False | |
id | Integer | ✓ | |
name | String | ✓ | |
ownerId | Integer | ✓ | |
startStepId | Integer | ||
status | String | ✓ | |
steps | Array<JourneyStepResponse> | ||
updatedAt | DateTime | ✓ | |
uuid | String | ✓ |
Example:
{
"id": 0,
"uuid": "string",
"name": "string",
"description": "string",
"status": "string",
"ownerId": 0,
"autoEnrollFilterId": 0,
"humanHandoffHoldEnabled": false,
"executionModel": "legacy",
"archived": false,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}
JourneySendEstimateResponse
| Field | Type | Required | Description |
|---|---|---|---|
carrierLimitKnown | Boolean | ✓ | |
dailyCapacity | Integer | ✓ | |
days | Integer | ✓ | |
hasActiveHours | Boolean | ✓ | |
messages | Integer | ✓ | |
segmentsPerMessage | Integer | ✓ | |
worstCase | Boolean | ✓ |
Example:
{
"messages": 0,
"segmentsPerMessage": 0,
"dailyCapacity": 0,
"days": 0,
"worstCase": false,
"hasActiveHours": false,
"carrierLimitKnown": false
}
JourneyStepAuthoringResponse
| Field | Type | Required | Description |
|---|---|---|---|
archived | Boolean | ✓ | |
assigneeId | Integer | ✓ | |
backfilledEnrollmentCount | Integer | ||
childConnections | Array<JourneyStepConnectionAuthoringResponse> | ||
createdAt | DateTime | ✓ | |
description | String | ✓ | |
eventRules | Array<EventRuleResponse> | ✓ | |
id | Integer | ✓ | |
memberCount | Integer | ||
name | String | ✓ | |
order | Integer | ✓ | |
parentConnections | Array<JourneyStepConnectionAuthoringResponse> | ||
posX | Number | ✓ | |
posY | Number | ✓ | |
stepType | String | ✓ | |
updatedAt | DateTime | ✓ | |
uuid | String | ✓ |
Example:
{
"id": 0,
"uuid": "string",
"name": "string",
"description": "string",
"order": 0,
"stepType": "string",
"assigneeId": 0,
"posX": 0.0,
"posY": 0.0,
"archived": false,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
"eventRules": []
}
JourneyStepConnectionAuthoringResponse
| Field | Type | Required | Description |
|---|---|---|---|
canEditMemberPredicate | Boolean | Default: False | |
celCondition | String | ✓ | |
childStepId | Integer | ✓ | |
displayOnly | Boolean | Default: False | |
filterId | Integer | ✓ | |
giveUpAfter | JourneyGiveUpPeriod | null | ||
hasMemberPredicate | Boolean | Default: False | |
id | Integer | ✓ | |
memberPredicate | Object | ||
memberPredicateInvalid | Boolean | Default: False | |
order | Integer | ✓ | |
parentStepId | Integer | ✓ | |
required | Boolean | ✓ | |
timeoutSeconds | Integer | ✓ |
Example:
{
"id": 0,
"parentStepId": 0,
"childStepId": 0,
"order": 0,
"required": false,
"timeoutSeconds": 0,
"filterId": 0,
"celCondition": "string",
"displayOnly": false,
"hasMemberPredicate": false,
"canEditMemberPredicate": false,
"memberPredicateInvalid": false
}
JourneyStepConnectionResponse
| Field | Type | Required | Description |
|---|---|---|---|
celCondition | String | ✓ | |
childStepId | Integer | ✓ | |
displayOnly | Boolean | Default: False | |
filterId | Integer | ✓ | |
giveUpAfter | JourneyGiveUpPeriod | null | ||
hasMemberPredicate | Boolean | Default: False | |
id | Integer | ✓ | |
order | Integer | ✓ | |
parentStepId | Integer | ✓ | |
required | Boolean | ✓ | |
timeoutSeconds | Integer | ✓ |
Example:
{
"id": 0,
"parentStepId": 0,
"childStepId": 0,
"order": 0,
"required": false,
"timeoutSeconds": 0,
"filterId": 0,
"celCondition": "string",
"displayOnly": false,
"hasMemberPredicate": false
}
JourneyStepResponse
| Field | Type | Required | Description |
|---|---|---|---|
archived | Boolean | ✓ | |
assigneeId | Integer | ✓ | |
backfilledEnrollmentCount | Integer | ||
childConnections | Array<JourneyStepConnectionResponse> | ||
createdAt | DateTime | ✓ | |
description | String | ✓ | |
eventRules | Array<EventRuleResponse> | ✓ | |
id | Integer | ✓ | |
memberCount | Integer | ||
name | String | ✓ | |
order | Integer | ✓ | |
parentConnections | Array<JourneyStepConnectionResponse> | ||
posX | Number | ✓ | |
posY | Number | ✓ | |
stepType | String | ✓ | |
updatedAt | DateTime | ✓ | |
uuid | String | ✓ |
Example:
{
"id": 0,
"uuid": "string",
"name": "string",
"description": "string",
"order": 0,
"stepType": "string",
"assigneeId": 0,
"posX": 0.0,
"posY": 0.0,
"archived": false,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z",
"eventRules": []
}
JourneyStepTransitionedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
fromStatus | JourneyStepStatus | ||
journey | EntityRef | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
step | EntityRef | ✓ | |
toStatus | <enum JourneyStepStatus | ✓ | |
transition | <enum JourneyTransition | ✓ | |
type | Literal['journey.step_transitioned'] | Default: journey.step_transitioned |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "journey.step_transitioned",
"journey": null,
"step": null,
"transition": null,
"toStatus": null
}
JourneyUnenrolledDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
journey | EntityRef | ✓ | |
reason | JourneyExitReason | ||
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['journey.unenrolled'] | Default: journey.unenrolled |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "journey.unenrolled",
"journey": null
}
MatchAll
| Field | Type | Required | Description |
|---|---|---|---|
kind | Literal['all'] | Default: all |
Example:
{
"kind": "all"
}
MemberAttributesChangedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
dataType | EntityRef | null | ||
fieldSlugs | tuple[Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[a-z0-9][a-z0-9_.:-]{0,127}$, ascii_only=None)], ...] | Default: () | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['member.attributes_changed'] | Default: member.attributes_changed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "member.attributes_changed",
"fieldSlugs": []
}
MemberCreatedDetail
| Field | Type | Required | Description |
|---|---|---|---|
account | EntityRef | null | ||
backfill | Boolean | Default: False | |
capabilities | tuple[ActivityCapability, ...] | Default: () | |
connection | EntityRef | null | ||
origin | MemberOrigin | ||
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['member.created'] | Default: member.created |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "member.created",
"capabilities": []
}
MemberLabelsChangedDetail
| Field | Type | Required | Description |
|---|---|---|---|
added | tuple<EntityRef, Ellipsis> | Default: () | |
backfill | Boolean | Default: False | |
removed | tuple<EntityRef, Ellipsis> | Default: () | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['member.labels_changed'] | Default: member.labels_changed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "member.labels_changed",
"added": [],
"removed": []
}
MemberMessageReceivedDetail
| Field | Type | Required | Description |
|---|---|---|---|
assignment | EntityRef | null | ||
backfill | Boolean | Default: False | |
channel | <enum ChatChannel | ✓ | |
chat | EntityRef | null | ||
messageUuid | UUID | ||
schemaVersion | Literal[1] | Default: 1 | |
task | EntityRef | null | ||
type | Literal['member.message_received'] | Default: member.message_received | |
workflow | EntityRef | null |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "member.message_received",
"channel": null
}
MemberRemovedDetail
| Field | Type | Required | Description |
|---|---|---|---|
account | EntityRef | null | ||
backfill | Boolean | Default: False | |
reason | <enum MemberRemovalReason | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['member.removed'] | Default: member.removed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "member.removed",
"reason": null
}
MemberRoleChangedDetail
| Field | Type | Required | Description |
|---|---|---|---|
account | EntityRef | null | ||
backfill | Boolean | Default: False | |
capabilities | tuple[ActivityCapability, ...] | Default: () | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['member.role_changed'] | Default: member.role_changed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "member.role_changed",
"capabilities": []
}
MemberSubscriptionCanceledDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
planSlug | Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[a-z0-9][a-z0-9_.:-]{0,127}$, ascii_only=None)] | ||
reason | <enum SubscriptionCancelReason | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['member_subscription.canceled'] | Default: member_subscription.canceled |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "member_subscription.canceled",
"reason": null
}
MemberSubscriptionStartedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
interval | <enum BillingInterval | ✓ | |
planSlug | String | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['member_subscription.started'] | Default: member_subscription.started |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "member_subscription.started",
"planSlug": "string",
"interval": 0
}
MessageSendFailedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
channel | <enum ChatChannel | ✓ | |
count | Integer | Default: 1 | |
failureClass | <enum MessageSendFailureClass | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['message.send_failed'] | Default: message.send_failed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "message.send_failed",
"channel": null,
"failureClass": null,
"count": 1
}
MessageSentDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
channel | <enum ChatChannel | ✓ | |
chat | EntityRef | null | ||
messageUuid | UUID | ||
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['message.sent'] | Default: message.sent |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "message.sent",
"channel": null
}
NamedMonthPeriod
| Field | Type | Required | Description |
|---|---|---|---|
type | Literal['month'] | Default: month | |
value | String | ✓ |
Example:
{
"type": "month",
"value": "string"
}
Not
| Field | Type | Required | Description |
|---|---|---|---|
child | And | Or | Not | MatchAll | Compare | RecordMatch | RelationMatch | AggregatePredicate | SubQueryRef | SavedFilterRef | ✓ | |
kind | Literal['not'] | Default: not |
Example:
{
"kind": "not",
"child": null
}
NotificationDeliveredDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
notificationId | Integer | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['notification.delivered'] | Default: notification.delivered |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "notification.delivered",
"notificationId": 0
}
NowValue
| Field | Type | Required | Description |
|---|---|---|---|
type | Literal['now'] | Default: now |
Example:
{
"type": "now"
}
OperatorGroupMemberAddedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
group | EntityRef | ✓ | |
member | EntityRef | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['operator_group.member_added'] | Default: operator_group.member_added |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "operator_group.member_added",
"group": null,
"member": null
}
OperatorGroupMemberRemovedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
group | EntityRef | ✓ | |
member | EntityRef | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['operator_group.member_removed'] | Default: operator_group.member_removed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "operator_group.member_removed",
"group": null,
"member": null
}
Or
| Field | Type | Required | Description |
|---|---|---|---|
children | Array<Annotated<And | Or | Not | MatchAll | Compare | RecordMatch | RelationMatch | AggregatePredicate | SubQueryRef | SavedFilterRef, annotation=null required=True discriminator='kind'>> | ✓ | |
kind | Literal['or'] | Default: or |
Example:
{
"kind": "or",
"children": []
}
PaginatedResponse[JourneyResponse]
| Field | Type | Required | Description |
|---|---|---|---|
items | Array<JourneyResponse> | ✓ | |
page | Integer | ✓ | |
pageSize | Integer | ✓ | |
total | Integer | ✓ | |
totalPages | Integer | ✓ |
Example:
{
"items": [],
"total": 0,
"page": 0,
"pageSize": 0,
"totalPages": 0
}
PhoneNumberArchivedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
reason | <enum PhoneNumberArchiveReason | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['phone_number.archived'] | Default: phone_number.archived |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "phone_number.archived",
"reason": null
}
PhoneNumberProvisionedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
capabilities | tuple[PhoneCapability, ...] | Default: () | |
country | Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[A-Z]{2}$, ascii_only=None)] | ||
numberKind | PhoneNumberKind | ||
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['phone_number.provisioned'] | Default: phone_number.provisioned |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "phone_number.provisioned",
"capabilities": []
}
PresenceWentOfflineDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
device | <enum PresenceDevice | Default: unknown | |
onlineDurationMs | Integer | ✓ | |
reason | <enum PresenceOfflineReason | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['presence.went_offline'] | Default: presence.went_offline |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "presence.went_offline",
"device": "unknown",
"onlineDurationMs": 0,
"reason": null
}
PresenceWentOnlineDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
device | <enum PresenceDevice | Default: unknown | |
liveWorkspaces | tuple<EntityRef, Ellipsis> | Default: () | |
operatorGroups | tuple<EntityRef, Ellipsis> | Default: () | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['presence.went_online'] | Default: presence.went_online |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "presence.went_online",
"device": "unknown",
"operatorGroups": [],
"liveWorkspaces": []
}
PurchaseCompletedDetail
| Field | Type | Required | Description |
|---|---|---|---|
amountMinor | Integer | ||
backfill | Boolean | Default: False | |
currency | Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[a-z]{3}$, ascii_only=None)] | ||
item | <enum PurchaseItem | ✓ | |
quantity | Integer | Default: 1 | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['purchase.completed'] | Default: purchase.completed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "purchase.completed",
"item": null,
"quantity": 1
}
RangeValue
| Field | Type | Required | Description |
|---|---|---|---|
max | Boolean | Integer | Number | String | NowValue | DaysAgoValue | DaysFromNowValue | DayBoundaryValue | ✓ | |
min | Boolean | Integer | Number | String | NowValue | DaysAgoValue | DaysFromNowValue | DayBoundaryValue | ✓ | |
type | Literal['range'] | Default: range |
Example:
{
"type": "range",
"min": "string",
"max": "string"
}
RecordMatch
| Field | Type | Required | Description |
|---|---|---|---|
dataType | int | str | ✓ |
kind | Literal['recordMatch'] | Default: recordMatch | |
mode | Literal['any', 'none', 'noneWithRecord'] | Default: any | |
selection | RecordSelection | null | ||
where | Annotated<And | Or | Not | MatchAll | Compare | RecordMatch | RelationMatch | AggregatePredicate | SubQueryRef | SavedFilterRef, annotation=null required=True discriminator='kind'> | null |
Example:
{
"kind": "recordMatch",
"dataType": "string",
"mode": "any"
}
RecordSelection
| Field | Type | Required | Description |
|---|---|---|---|
criterion | Literal['newest', 'oldest', 'highest', 'lowest', 'earliest', 'latest', 'true', 'false'] | ✓ | |
field | String | ✓ |
Example:
{
"field": "string",
"criterion": "newest"
}
RelationMatch
| Field | Type | Required | Description |
|---|---|---|---|
kind | Literal['relationMatch'] | Default: relationMatch | |
mode | Literal['any', 'none'] | Default: any | |
relation | String | ✓ | |
where | Annotated<And | Or | Not | MatchAll | Compare | RecordMatch | RelationMatch | AggregatePredicate | SubQueryRef | SavedFilterRef, annotation=null required=True discriminator='kind'> | null |
Example:
{
"kind": "relationMatch",
"relation": "string",
"mode": "any"
}
RoutineCompletedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
durationMs | Integer | ||
outcome | <enum RoutineOutcome | ✓ | |
routine | EntityRef | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['routine.completed'] | Default: routine.completed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "routine.completed",
"routine": null,
"outcome": null
}
RoutineFailedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
durationMs | Integer | ||
failure | <enum RoutineFailure | ✓ | |
routine | EntityRef | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['routine.failed'] | Default: routine.failed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "routine.failed",
"routine": null,
"failure": null
}
RoutineStartedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
routine | EntityRef | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
trigger | <enum RoutineTrigger | ✓ | |
type | Literal['routine.started'] | Default: routine.started |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "routine.started",
"routine": null,
"trigger": null
}
SavedFilterRef
| Field | Type | Required | Description |
|---|---|---|---|
combine | Literal['union', 'intersect'] | Default: union | |
filterIds | Array | ✓ | |
filterType | Literal['member'] | Default: member | |
kind | Literal['savedFilterRef'] | Default: savedFilterRef |
Example:
{
"kind": "savedFilterRef",
"filterType": "member",
"filterIds": [],
"combine": "union"
}
SubQueryRef
| Field | Type | Required | Description |
|---|---|---|---|
entity | Literal['member'] | Default: member | |
kind | Literal['subquery'] | Default: subquery | |
link | String | ✓ | |
negate | Boolean | Default: False | |
where | Annotated<And | Or | Not | MatchAll | Compare | RecordMatch | RelationMatch | AggregatePredicate | SubQueryRef | SavedFilterRef, annotation=null required=True discriminator='kind'> | null |
Example:
{
"kind": "subquery",
"entity": "member",
"link": "string",
"negate": false
}
SubscriptionCanceledDetail
| Field | Type | Required | Description |
|---|---|---|---|
atPeriodEnd | Boolean | Default: False | |
backfill | Boolean | Default: False | |
reason | <enum SubscriptionCancelReason | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['subscription.canceled'] | Default: subscription.canceled |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "subscription.canceled",
"reason": null,
"atPeriodEnd": false
}
SubscriptionStartedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
interval | <enum BillingInterval | ✓ | |
planSlug | String | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
seatCount | Integer | ||
type | Literal['subscription.started'] | Default: subscription.started |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "subscription.started",
"planSlug": "string",
"interval": 0
}
SubscriptionUpdatedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
change | <enum SubscriptionChange | ✓ | |
planSlug | Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[a-z0-9][a-z0-9_.:-]{0,127}$, ascii_only=None)] | ||
schemaVersion | Literal[1] | Default: 1 | |
seatCount | Integer | ||
type | Literal['subscription.updated'] | Default: subscription.updated |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "subscription.updated",
"change": null
}
UpdateJourneyRequest
| Field | Type | Required | Description |
|---|---|---|---|
activeHours | Object | ||
autoEnrollFilterId | Integer | ||
description | String | ||
enrollmentConditions | Array<JourneyEnrollmentConditionInput> | null | ||
humanHandoffHoldEnabled | Boolean | ||
name | String | ||
ownerId | Integer | ||
startStepId | Integer | ||
status | String |
Example:
{}
VoicemailListenedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['voicemail.listened'] | Default: voicemail.listened | |
waitedMs | Integer |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "voicemail.listened"
}
VoicemailReceivedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
durationMs | Integer | ||
phoneNumber | EntityRef | null | ||
schemaVersion | Literal[1] | Default: 1 | |
transcribed | Boolean | Default: False | |
type | Literal['voicemail.received'] | Default: voicemail.received |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "voicemail.received",
"transcribed": false
}
VoicemailTranscribedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
durationMs | Integer | ||
outcome | <enum VoicemailTranscriptionOutcome | ✓ | |
phoneNumber | EntityRef | null | ||
recording | EntityRef | null | ||
schemaVersion | Literal[1] | Default: 1 | |
type | Literal['voicemail.transcribed'] | Default: voicemail.transcribed |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "voicemail.transcribed",
"outcome": null
}
WorkflowPublishedDetail
| Field | Type | Required | Description |
|---|---|---|---|
backfill | Boolean | Default: False | |
revision | EntityRef | null | ||
revisionNumber | Integer | ✓ | |
schemaVersion | Literal[1] | Default: 1 | |
taskCount | Integer | Default: 0 | |
type | Literal['workflow.published'] | Default: workflow.published |
Example:
{
"schemaVersion": 1,
"backfill": false,
"type": "workflow.published",
"revisionNumber": 0,
"taskCount": 0
}
Endpoints
GET /api/v2/w/{workspace_uuid}/journeys- ListPOST /api/v2/w/{workspace_uuid}/journeys- CreateGET /api/v2/w/{workspace_uuid}/journeys/filter-options- Filter OptionsDELETE /api/v2/w/{workspace_uuid}/journeys/{journey_id}- Delete Journey IdGET /api/v2/w/{workspace_uuid}/journeys/{journey_id}- Get Journey IdPUT /api/v2/w/{workspace_uuid}/journeys/{journey_id}- Update Journey IdGET /api/v2/w/{workspace_uuid}/journeys/{journey_id}/authoring- AuthoringGET /api/v2/w/{workspace_uuid}/journeys/{journey_id}/health- HealthGET /api/v2/w/{workspace_uuid}/journeys/{journey_id}/history- History
List
GET /api/v2/w/{workspace_uuid}/journeys
Description:
List all journeys, paginated.
Authorization: Requires journeys:read scope
Parameters:
include_archived(Boolean)archived_only(Boolean) — default: FalsesortBy(JourneySortField)sortOrder(SortOrder)page(Integer) — default: 1, min: 1pageSize(Integer) — default: 25, min: 1, max: 500search(String)
Response: See PaginatedResponse[JourneyResponse]
Create
POST /api/v2/w/{workspace_uuid}/journeys
Description:
Create a new journey.
Authorization: Requires journeys:write scope
Parameters:
request- See CreateJourneyRequest
Response: See JourneyResponse
Filter Options
GET /api/v2/w/{workspace_uuid}/journeys/filter-options
Description:
MemberFilter identifiers and names, for the Journey authoring picker.
A Journey wait, route or Ending may be gated on a MemberFilter, and the
author selects one by name. This returns the workspace's filters as id,
uuid and name only — no query predicate, no rules, no member counts.
The uuid is the literal an authored member_in_filter("…") expression
names.
Requires journeys:write, and deliberately nothing more. It is narrower
than the Members surface's GET /member-filters (members:read), which
returns each filter's query: authoring a Journey does not require read
access to Member data.
Authorization: Requires journeys:write scope
Response: List of JourneyFilterOptionResponse
Delete Journey Id
DELETE /api/v2/w/{workspace_uuid}/journeys/{journey_id}
Description:
Archive a journey (soft delete).
Authorization: Requires journeys:admin scope
Parameters:
journey_id(Integer)
Response: dict[str, str]
Get Journey Id
GET /api/v2/w/{workspace_uuid}/journeys/{journey_id}
Description:
Get a journey by ID with steps and goals.
Authorization: Requires journeys:read scope
Parameters:
journey_id(Integer)experimentId(Integer)
Response: See JourneyResponse
Update Journey Id
PUT /api/v2/w/{workspace_uuid}/journeys/{journey_id}
Description:
Update an existing journey.
Authorization: Requires journeys:write scope
Parameters:
journey_id(Integer)request- See UpdateJourneyRequest
Response: See JourneyResponse
Authoring
GET /api/v2/w/{workspace_uuid}/journeys/{journey_id}/authoring
Description:
Get a journey's write-authorized authoring projection.
Authorization: Requires journeys:write scope
Parameters:
journey_id(Integer)experimentId(Integer)
Response: See JourneyAuthoringResponse
Health
GET /api/v2/w/{workspace_uuid}/journeys/{journey_id}/health
Description:
Return Journey Health diagnostics — authoring issues + runtime failures.
Authorization: requires Scope.JOURNEYS_WRITE because every
primary action exposed by the Health UI mutates the journey (the
edge editor for authoring issues; the same editor for runtime
failures). Read-only viewers should not see the surface at all.
configHealthAuthoringIssues/configHealthRuntimeFailures: canonicalConfigHealthIssueentriesauthoringIssues/runtimeFailures: the legacyAbilityConfigIssuelists, removed in Phase 3C
PHI policy: both projections carry only PHI-safe entries — IDs,
operator-set names, counts, error_type strings, and timestamps. No
CEL text, no exception messages, no Member data.
Authorization: Requires journeys:write scope
Parameters:
journey_id(Integer)
Response: See JourneyHealthResponse
History
GET /api/v2/w/{workspace_uuid}/journeys/{journey_id}/history
Description:
A Journey's audit trail: who changed it, what changed, and when. Newest first.
One row per change to the Journey's lifecycle or configuration: created;
activated, paused, resumed or archived (with the status before and after);
a settings change (name, owner, automatic enrollment, active hours,
human-handoff hold); a definition save; and each new version (with its
number). Each row names its actor — a Member, an Agent, an Account or
system — and carries field codes and closed values only, never names
or authored text.
Requires journeys:read and workspace:read: the rows are the
workspace Activity feed's config.updated events for this Journey, and
that feed admits them on workspace:read. Pass nextCursor back with
the same window to read the next page.
Authorization: Requires scopes: journeys:read, workspace:read
Parameters:
journey_id(Integer)occurredFrom(AwareDatetime)occurredBefore(AwareDatetime)cursor(String)pageSize(Integer) — default: 50, min: 1, max: 200
Response: See ActivityEventsResponse