reseller
Get reseller tiers
reseller
- GETGet all teams for a reseller
- POSTCreate a new team
- GETGet information about a team
- PUTUpdate a new team
- DELRemove a team from the reseller
- PUTUpdate a new team
- POSTCreate new inboxes and users for a team
- GETGet all users on a team
- POSTAdd a user to a team
- DELRemove users from a team
- GETGets all inboxes for a team
- POSTCreate a new inbox for a team
- DELRemove inboxes from a team
- POSTCreate new inboxes and users for a team
- POSTAssign multiple Users to an Inbox
- DELRemove users from an inbox
- GETReturn the whitelist domains for the reseller team
- POSTCreate a new whitelisted domain for a team
- DELRemove a whitelisted domain from the team
- GETGet Resellers under a Platform
- POSTCreate a new Reseller
- GETGet reseller tiers
- POSTImport team users
- GETGet import team users job status
reseller
Get reseller tiers
Get tiers available for current reseller.
GET
/
reseller
/
tiers
curl --request GET \
--url https://partners.clerk.chat/reseller/tiers
{
"tiers": [
{
"id": "<string>",
"name": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"description": "<string>",
"smsSegmentRate": 123,
"planSegments": 123,
"billingCycle": "month",
"licenseCost": 123,
"teams": [
{
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{
"id": "<string>",
"microsoftId": "<string>",
"microsoftGraphAccessToken": "<string>",
"microsoftGraphRefreshToken": "<string>",
"microsoftTenantId": "<string>",
"stytchId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"usecase": "<string>",
"company": "<string>",
"avatarId": "<string>",
"blocked": true,
"canProvision": true,
"acceptedTermsOfService": true,
"phone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"mutedInboxIds": [
"<string>"
],
"teams": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"avatar": {
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
},
"assignedTo": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"resellers": [
{
"id": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"username": "<string>",
"password": "<string>",
"stripeCustomerId": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"subscriptionType": "automatic",
"acceptedTermsOfService": true,
"teams": [
{}
],
"platform": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"billingEmail": "<string>",
"password": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"stripeCustomerId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"resellers": [
{}
],
"users": [
{}
],
"tiers": [
{}
]
},
"users": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"teamNotificationIcon": "<string>",
"teamNotificationTitle": "<string>",
"teamNotificationMessage": "<string>"
}
],
"platforms": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"billingEmail": "<string>",
"password": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"stripeCustomerId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"resellers": [
{}
],
"users": [
{}
],
"tiers": [
{}
]
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"createdInboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"notificationDevices": [
{
"id": "<string>",
"deviceId": "<string>",
"userId": "<string>",
"errorCounter": 123,
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"externalIdentifiers": [
{
"id": "<string>",
"userId": "<string>",
"externalId": "<string>",
"externalSystem": "azure",
"externalOrgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"activeTeam": {
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {
"id": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"username": "<string>",
"password": "<string>",
"stripeCustomerId": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"subscriptionType": "automatic",
"acceptedTermsOfService": true,
"teams": [
{}
],
"platform": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"billingEmail": "<string>",
"password": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"stripeCustomerId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"resellers": [
{}
],
"users": [
{}
],
"tiers": [
{}
]
},
"users": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"teamNotificationIcon": "<string>",
"teamNotificationTitle": "<string>",
"teamNotificationMessage": "<string>"
},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"emailAddress": "<string>",
"emailSentAt": "2023-11-07T05:31:56Z",
"verifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"inboxCount": 123,
"userCount": 123,
"isAbleToSend": true
},
"activeRole": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"role": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"backgroundJobs": [
"<string>"
]
}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {
"id": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"username": "<string>",
"password": "<string>",
"stripeCustomerId": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"subscriptionType": "automatic",
"acceptedTermsOfService": true,
"teams": [
{}
],
"platform": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"billingEmail": "<string>",
"password": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"stripeCustomerId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"resellers": [
{}
],
"users": [
{}
],
"tiers": [
{}
]
},
"users": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"teamNotificationIcon": "<string>",
"teamNotificationTitle": "<string>",
"teamNotificationMessage": "<string>"
},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"emailAddress": "<string>",
"emailSentAt": "2023-11-07T05:31:56Z",
"verifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"inboxCount": 123,
"userCount": 123
}
],
"platform": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"billingEmail": "<string>",
"password": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"stripeCustomerId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"resellers": [
{}
],
"users": [
{}
],
"tiers": [
{}
]
}
}
],
"total": 123
}
Response
200 - application/json
Available options:
month
, annual
Available options:
shopify
, stripe
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
phone
Available options:
twilio
, bandwidth
, msteams
, other
, non_voip
, whatsapp
, telnyx
, webex
, rcs
Available options:
active
, disabled
, pending
, pending_hosting
, port_failed
, port_submitted
, pending_validation
, validation_failed
Available options:
pending
, registered
, failed
Available options:
USER
, IVR
Available options:
workspace_owner
, admin
, agent
, manager
, member
Available options:
add_inbox
, add_team_members
, brand_access
, create_team
, delete_conversation
, delete_message
, delete_restricted_word
, delete_team
, export_inbox_logs
, modify_billing
, modify_private_inbox
, modify_public_inbox
, modify_team
, modify_team_member
, remove_inbox
, remove_team_members
, send_inbox_messages
, update_contact
, update_property
, update_scheduled_message
, view_analytics
, view_inbox_messages
, view_private_inbox
, view_public_inbox
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
contact
, lead
, Contact
Available options:
signature
, inboxes_order
Available options:
ok
, scheduled
, running
, error
Available options:
archived
, active
, deleted
, unread
Minimum length:
5
Minimum length:
8
Available options:
automatic
, fixed_and_enforced
, fixed_not_enforced
Required range:
x >= 1
Required range:
x >= 1
Required range:
x >= 1
Available options:
phone
Available options:
twilio
, bandwidth
, msteams
, other
, non_voip
, whatsapp
, telnyx
, webex
, rcs
Available options:
active
, disabled
, pending
, pending_hosting
, port_failed
, port_submitted
, pending_validation
, validation_failed
Available options:
pending
, registered
, failed
Available options:
USER
, IVR
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
incoming_message
, schedule
, outbound_message
, outbound_message_pre_send
Available options:
ai_pipeline
, assistant
, user
, campaign
, campaign_message
, workflow
Available options:
sending
, scheduled
, sent
, delivered
, failed
, read
Available options:
archived
, active
, deleted
, unread
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
workspace_owner
, admin
, agent
, manager
, member
Available options:
add_inbox
, add_team_members
, brand_access
, create_team
, delete_conversation
, delete_message
, delete_restricted_word
, delete_team
, export_inbox_logs
, modify_billing
, modify_private_inbox
, modify_public_inbox
, modify_team
, modify_team_member
, remove_inbox
, remove_team_members
, send_inbox_messages
, update_contact
, update_property
, update_scheduled_message
, view_analytics
, view_inbox_messages
, view_private_inbox
, view_public_inbox
Available options:
workspace_owner
, admin
, agent
, manager
, member
Available options:
add_inbox
, add_team_members
, brand_access
, create_team
, delete_conversation
, delete_message
, delete_restricted_word
, delete_team
, export_inbox_logs
, modify_billing
, modify_private_inbox
, modify_public_inbox
, modify_team
, modify_team_member
, remove_inbox
, remove_team_members
, send_inbox_messages
, update_contact
, update_property
, update_scheduled_message
, view_analytics
, view_inbox_messages
, view_private_inbox
, view_public_inbox
Available options:
phone
Available options:
twilio
, bandwidth
, msteams
, other
, non_voip
, whatsapp
, telnyx
, webex
, rcs
Available options:
active
, disabled
, pending
, pending_hosting
, port_failed
, port_submitted
, pending_validation
, validation_failed
Available options:
pending
, registered
, failed
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
incoming_message
, schedule
, outbound_message
, outbound_message_pre_send
Available options:
archived
, active
, deleted
, unread
Available options:
Afghanistan
, AlandIslands
, Albania
, Algeria
, American Samoa
, Andorra
, Angola
, Anguilla
, Antarctica
, Antigua and Barbuda
, Argentina
, Armenia
, Aruba
, Australia
, Austria
, Azerbaijan
, Bahamas
, Bahrain
, Bangladesh
, Barbados
, Belarus
, Belgium
, Belize
, Benin
, Bermuda
, Bhutan
, Bolivia
, Bosnia and Herzegovina
, Botswana
, Bouvet Island
, Brazil
, British Indian Ocean Territory
, Brunei Darussalam
, Bulgaria
, Burkina Faso
, Burundi
, Cambodia
, Cameroon
, Canada
, Cape Verde
, Cayman Islands
, Central African Republic
, Chad
, Chile
, China
, Christmas Island
, Cocos Keeling Islands
, Colombia
, Comoros
, Congo
, Congo Democratic Republic
, Cook Islands
, Costa Rica
, CoteDIvoire
, Croatia
, Cuba
, CuraƧao
, Cyprus
, CzechRepublic
, Denmark
, Djibouti
, Dominica
, Dominican Republic
, Ecuador
, Egypt
, El Salvador
, Equatorial Guinea
, Eritrea
, Estonia
, Ethiopia
, Falkland Islands
, Faroe Islands
, Fiji
, Finland
, France
, French Guiana
, French Polynesia
, French Southern Territories
, Gabon
, Gambia
, Georgia
, Germany
, Ghana
, Gibraltar
, Greece
, Greenland
, Grenada
, Guadeloupe
, Guam
, Guatemala
, Guernsey
, Guinea
, Guinea Bissau
, Guyana
, Haiti
, Heard Island Mcdonald Islands
, Holy See Vatican City State
, Honduras
, HongKong
, Hungary
, Iceland
, India
, Indonesia
, Iran
, Iraq
, Ireland
, Isle Of Man
, Israel
, Italy
, Jamaica
, Japan
, Jersey
, Jordan
, Kazakhstan
, Kenya
, Kiribati
, Korea, Republic of
, Korea, Democratic People's Republic of
, Kuwait
, Kyrgyzstan
, Lao Peoples Democratic Republic
, Latvia
, Lebanon
, Lesotho
, Liberia
, Libyan Arab Jamahiriya
, Liechtenstein
, Lithuania
, Luxembourg
, Macao
, Madagascar
, Malawi
, Malaysia
, Maldives
, Mali
, Malta
, Marshall Islands
, Martinique
, Mauritania
, Mauritius
, Mayotte
, Mexico
, Micronesia
, Moldova
, Monaco
, Mongolia
, Montenegro
, Montserrat
, Morocco
, Mozambique
, Myanmar
, Namibia
, Nauru
, Nepal
, Netherlands
, New Caledonia
, New Zealand
, Nicaragua
, Niger
, Nigeria
, Niue
, Norfolk Island
, Northern Mariana Islands
, Norway
, Oman
, Pakistan
, Palau
, Palestinian Territory
, Panama
, Papua New Guinea
, Paraguay
, Peru
, Philippines
, Pitcairn
, Poland
, Portugal
, Puerto Rico
, Qatar
, Reunion
, Republic of North Macedonia
, Romania
, Russian Federation
, Rwanda
, Saint Barthelemy
, Saint Helena
, Saint Kitts And Nevis
, Saint Lucia
, Saint Martin
, Saint Pierre And Miquelon
, Saint Vincent And Grenadines
, Samoa
, San Marino
, Sao Tome And Principe
, Saudi Arabia
, Senegal
, Serbia
, Seychelles
, Sierra Leone
, Singapore
, Slovakia
, Slovenia
, Solomon Islands
, Somalia
, South Africa
, South Georgia And Sandwich Island
, Spain
, Sri Lanka
, Sudan
, South Sudan
, Suriname
, Svalbard And Jan Mayen
, Swaziland
, Sweden
, Switzerland
, Sint Maarten (Dutch part)
, Syrian Arab Republic
, Taiwan
, Tajikistan
, Tanzania
, Thailand
, TimorLeste
, Togo
, Tokelau
, Tonga
, Trinidad And Tobago
, Tunisia
, Turkey
, Turkmenistan
, Turks And Caicos Islands
, Tuvalu
, Uganda
, Ukraine
, United Arab Emirates
, United Kingdom
, United States
, United States Outlying Islands
, Uruguay
, Uzbekistan
, Vanuatu
, Venezuela
, Vietnam
, Virgin Islands British
, Virgin Islands US
, Wallis And Futuna
, Western Sahara
, Yemen
, Zambia
, Zimbabwe
Available options:
bandwidth
, twilio
, nonoip
Available options:
contact
, connection
, logs
, templates
, data
, user
, calls
, remote_cohorts
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
fail
, syncing
, success
, disconnected
Available options:
USER
, IVR
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
contact
, lead
, Contact
Available options:
boolean
, created_time
, date
, email
, files
, last_contacted_by
, last_edited_by
, last_edited_time
, multi_select
, number
, person
, phone
, select
, text
, url
Available options:
clerk
, google
, microsoft
, salesforce
, shopify
, hubspot
, pipedrive
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
workspace_owner
, admin
, agent
, manager
, member
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
add_inbox
, add_team_members
, brand_access
, create_team
, delete_conversation
, delete_message
, delete_restricted_word
, delete_team
, export_inbox_logs
, modify_billing
, modify_private_inbox
, modify_public_inbox
, modify_team
, modify_team_member
, remove_inbox
, remove_team_members
, send_inbox_messages
, update_contact
, update_property
, update_scheduled_message
, view_analytics
, view_inbox_messages
, view_private_inbox
, view_public_inbox
Available options:
incoming_message
, schedule
, outbound_message
, outbound_message_pre_send
Available options:
failed
, success
, running
, waiting
Available options:
phone
Available options:
twilio
, bandwidth
, msteams
, other
, non_voip
, whatsapp
, telnyx
, webex
, rcs
Available options:
active
, disabled
, pending
, pending_hosting
, port_failed
, port_submitted
, pending_validation
, validation_failed
Available options:
pending
, registered
, failed
Available options:
USER
, IVR
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
signature
, inboxes_order
Available options:
url
, pdf
, doc
, csv
, raw
, sitemap
Available options:
url
, pdf
, doc
, csv
, raw
, sitemap
Available options:
init
, parsed
, parse_fail
, split_fail
, split_finished
, embed_failed
, done
Available options:
url
, pdf
, doc
, csv
, raw
, sitemap
Available options:
init
, parsed
, parse_fail
, split_fail
, split_finished
, embed_failed
, done
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
init
, parsed
, parse_fail
, split_fail
, split_finished
, embed_failed
, done
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
created
, planned
, running
, fulfilled
, sms_exceeded
, no_contacts
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
ok
, scheduled
, running
, error
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
archived
, active
, deleted
, unread
Available options:
ai_pipeline
, assistant
, user
, campaign
, campaign_message
, workflow
Available options:
sending
, scheduled
, sent
, delivered
, failed
, read
Available options:
phone
Available options:
twilio
, bandwidth
, msteams
, other
, non_voip
, whatsapp
, telnyx
, webex
, rcs
Available options:
active
, disabled
, pending
, pending_hosting
, port_failed
, port_submitted
, pending_validation
, validation_failed
Available options:
pending
, registered
, failed
Available options:
USER
, IVR
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
ai_pipeline
, assistant
, user
, campaign
, campaign_message
, workflow
Available options:
sending
, scheduled
, sent
, delivered
, failed
, read
Available options:
PENDING
, IN_PROGRESS
, COMPLETED
, FAILED
Available options:
new
, running
, success
, failed
Required range:
1 <= x <= 12
Required range:
2024 <= x <= 9999
Required range:
x >= 0
Required range:
x >= 0
Required range:
x >= 0
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
sms_post_pay
, subscription
, sms_pre_pay
Required range:
x >= 0
Available options:
canceled
, paid
, pending
Available options:
fraud
, free
, starter
, unlimited
, mfa_nonvoip
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Required range:
x >= 1
Required range:
x >= 1
Required range:
x >= 1
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
month
, annual
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
workspace_owner
, admin
, agent
, manager
, member
Minimum length:
5
Minimum length:
8
Available options:
automatic
, fixed_and_enforced
, fixed_not_enforced
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
microsoft_teams
, webex
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
SOLE_PROPRIETOR
, PRIVATE_PROFIT
, PUBLIC_PROFIT
, NON_PROFIT
, GOVERNMENT
Available options:
DUNS
, GIIN
, LEI
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
init
, running
, failed
, success
Available options:
init
, added
, vetted
, failed
Available options:
PROFESSIONAL
, REAL_ESTATE
, HEALTHCARE
, HUMAN_RESOURCES
, ENERGY
, ENTERTAINMENT
, RETAIL
, TRANSPORTATION
, AGRICULTURE
, INSURANCE
, POSTAL
, EDUCATION
, HOSPITALITY
, FINANCIAL
, POLITICAL
, GAMBLING
, LEGAL
, CONSTRUCTION
, NGO
, MANUFACTURING
, GOVERNMENT
, TECHNOLOGY
, COMMUNICATION
Available options:
FAILED
, SELF_DECLARED
, UNVERIFIED
, VERIFIED
, PENDING
, VETTED_VERIFIED
Minimum length:
5
Minimum length:
8
Available options:
automatic
, fixed_and_enforced
, fixed_not_enforced
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
phone
Available options:
twilio
, bandwidth
, msteams
, other
, non_voip
, whatsapp
, telnyx
, webex
, rcs
Available options:
active
, disabled
, pending
, pending_hosting
, port_failed
, port_submitted
, pending_validation
, validation_failed
Available options:
pending
, registered
, failed
Available options:
USER
, IVR
Available options:
workspace_owner
, admin
, agent
, manager
, member
Available options:
add_inbox
, add_team_members
, brand_access
, create_team
, delete_conversation
, delete_message
, delete_restricted_word
, delete_team
, export_inbox_logs
, modify_billing
, modify_private_inbox
, modify_public_inbox
, modify_team
, modify_team_member
, remove_inbox
, remove_team_members
, send_inbox_messages
, update_contact
, update_property
, update_scheduled_message
, view_analytics
, view_inbox_messages
, view_private_inbox
, view_public_inbox
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
contact
, lead
, Contact
Available options:
signature
, inboxes_order
Available options:
ok
, scheduled
, running
, error
Available options:
archived
, active
, deleted
, unread
Minimum length:
5
Minimum length:
8
Available options:
automatic
, fixed_and_enforced
, fixed_not_enforced
Required range:
x >= 1
Required range:
x >= 1
Required range:
x >= 1
Available options:
phone
Available options:
twilio
, bandwidth
, msteams
, other
, non_voip
, whatsapp
, telnyx
, webex
, rcs
Available options:
active
, disabled
, pending
, pending_hosting
, port_failed
, port_submitted
, pending_validation
, validation_failed
Available options:
pending
, registered
, failed
Available options:
USER
, IVR
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
incoming_message
, schedule
, outbound_message
, outbound_message_pre_send
Available options:
ai_pipeline
, assistant
, user
, campaign
, campaign_message
, workflow
Available options:
sending
, scheduled
, sent
, delivered
, failed
, read
Available options:
archived
, active
, deleted
, unread
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
Available options:
workspace_owner
, admin
, agent
, manager
, member
Available options:
add_inbox
, add_team_members
, brand_access
, create_team
, delete_conversation
, delete_message
, delete_restricted_word
, delete_team
, export_inbox_logs
, modify_billing
, modify_private_inbox
, modify_public_inbox
, modify_team
, modify_team_member
, remove_inbox
, remove_team_members
, send_inbox_messages
, update_contact
, update_property
, update_scheduled_message
, view_analytics
, view_inbox_messages
, view_private_inbox
, view_public_inbox
Available options:
workspace_owner
, admin
, agent
, manager
, member
Available options:
add_inbox
, add_team_members
, brand_access
, create_team
, delete_conversation
, delete_message
, delete_restricted_word
, delete_team
, export_inbox_logs
, modify_billing
, modify_private_inbox
, modify_public_inbox
, modify_team
, modify_team_member
, remove_inbox
, remove_team_members
, send_inbox_messages
, update_contact
, update_property
, update_scheduled_message
, view_analytics
, view_inbox_messages
, view_private_inbox
, view_public_inbox
Available options:
month
, annual
Available options:
shopify
, stripe
Available options:
azure
, dynamics
, global_relay
, google
, hubspot
, microsoft
, pipedrive
, purview
, salesforce
, salesforce_sandbox
, shopify
, slack
, smarsh
, whatsapp
, webex
curl --request GET \
--url https://partners.clerk.chat/reseller/tiers
{
"tiers": [
{
"id": "<string>",
"name": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"description": "<string>",
"smsSegmentRate": 123,
"planSegments": 123,
"billingCycle": "month",
"licenseCost": 123,
"teams": [
{
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{
"id": "<string>",
"microsoftId": "<string>",
"microsoftGraphAccessToken": "<string>",
"microsoftGraphRefreshToken": "<string>",
"microsoftTenantId": "<string>",
"stytchId": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"email": "<string>",
"usecase": "<string>",
"company": "<string>",
"avatarId": "<string>",
"blocked": true,
"canProvision": true,
"acceptedTermsOfService": true,
"phone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"mutedInboxIds": [
"<string>"
],
"teams": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"avatar": {
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
},
"assignedTo": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"resellers": [
{
"id": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"username": "<string>",
"password": "<string>",
"stripeCustomerId": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"subscriptionType": "automatic",
"acceptedTermsOfService": true,
"teams": [
{}
],
"platform": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"billingEmail": "<string>",
"password": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"stripeCustomerId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"resellers": [
{}
],
"users": [
{}
],
"tiers": [
{}
]
},
"users": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"teamNotificationIcon": "<string>",
"teamNotificationTitle": "<string>",
"teamNotificationMessage": "<string>"
}
],
"platforms": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"billingEmail": "<string>",
"password": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"stripeCustomerId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"resellers": [
{}
],
"users": [
{}
],
"tiers": [
{}
]
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"createdInboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"notificationDevices": [
{
"id": "<string>",
"deviceId": "<string>",
"userId": "<string>",
"errorCounter": 123,
"lastUsedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"externalIdentifiers": [
{
"id": "<string>",
"userId": "<string>",
"externalId": "<string>",
"externalSystem": "azure",
"externalOrgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {}
}
],
"activeTeam": {
"id": "<string>",
"name": "<string>",
"countryCode": {},
"tierId": "<string>",
"planTier": {},
"tier": "<string>",
"twilioAccount": "<string>",
"twilioToken": "<string>",
"bandwidthLocationId": "<string>",
"bandwidthIVRLocationId": "<string>",
"apiKeyHash": "<string>",
"apiKeySecret": "<string>",
"brandId": 123,
"resellerId": "<string>",
"externalId": "<string>",
"contactsPublicByDefault": true,
"integrationsHiddenByDefault": true,
"dlcCampaignId": "<string>",
"whitelistedIntegrations": [
"azure"
],
"microsoftTenantId": "<string>",
"slackTeamId": "<string>",
"teamAvatarURL": "<string>",
"stripeSubscriptionId": "<string>",
"stripeCustomerId": "<string>",
"shopifyID": "<string>",
"billingProvider": "shopify",
"fixedLicenses": 123,
"deleted": true,
"deletedAt": "2023-11-07T05:31:56Z",
"widgetId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"assistantResponseDelaySeconds": 123,
"assistantInstruction": "<string>",
"assistantModel": "<string>",
"smsSegmentRate": 123,
"onboarding": {},
"purchaseOrder": "<string>",
"whitelistDomains": [
"<string>"
],
"whitelistDisabled": true,
"users": [
{}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {
"id": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"username": "<string>",
"password": "<string>",
"stripeCustomerId": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"subscriptionType": "automatic",
"acceptedTermsOfService": true,
"teams": [
{}
],
"platform": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"billingEmail": "<string>",
"password": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"stripeCustomerId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"resellers": [
{}
],
"users": [
{}
],
"tiers": [
{}
]
},
"users": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"teamNotificationIcon": "<string>",
"teamNotificationTitle": "<string>",
"teamNotificationMessage": "<string>"
},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"emailAddress": "<string>",
"emailSentAt": "2023-11-07T05:31:56Z",
"verifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"inboxCount": 123,
"userCount": 123,
"isAbleToSend": true
},
"activeRole": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"role": {
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
},
"backgroundJobs": [
"<string>"
]
}
],
"inboxes": [
{
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"teamId": "<string>",
"type": "phone",
"provider": "twilio",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"phone": "<string>",
"status": "active",
"webhooks": [
"<string>"
],
"public": true,
"verified": true,
"credentialTwilioSid": "<string>",
"credentialTwilioKey": "<string>",
"telnyxApiKey": "<string>",
"telnyxPublicKey": "<string>",
"dlcCampaignId": "<string>",
"modemPort": 123,
"modemHost": "<string>",
"whatsappPhoneId": "<string>",
"whatsappAccessToken": "<string>",
"bandwidthAccountId": "<string>",
"bandwidthApplicationId": "<string>",
"locationType": "USER",
"pin": "<string>",
"requestedActivationDate": "2023-11-07T05:31:56Z",
"assistantEnabled": true,
"createdByUserId": "<string>",
"integrationId": "<string>",
"registrationStatus": "pending",
"registrationError": "<string>",
"team": {},
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"phones": [
{
"id": "<string>",
"e164format": "<string>",
"country": "Afghanistan",
"provider": "bandwidth",
"inbox": {}
}
],
"users": [
{}
],
"aiPipelineSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdByUser": {},
"externalId": "<string>",
"loaAgreedAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"externalId": "<string>",
"externalSource": "azure",
"externalEntityType": "contact",
"phone": "<string>",
"email": "<string>",
"optOut": true,
"avatarURL": "<string>",
"createdByUserId": "<string>",
"public": true,
"data": {},
"attributes": [
{
"id": "<string>",
"contactId": "<string>",
"attributeTypeId": "<string>",
"contact": {},
"attributeType": {
"integration": {
"id": "<string>",
"integrationType": "contact",
"integrationSource": "azure",
"userId": "<string>",
"teamId": "<string>",
"public": true,
"user": {},
"team": {},
"credentials": {},
"lastSyncedAt": "2023-11-07T05:31:56Z",
"lastSuccessfulSyncAt": "2023-11-07T05:31:56Z",
"lastFullSyncAt": "2023-11-07T05:31:56Z",
"lastSyncStatus": "fail",
"settings": {},
"syncFailureMessage": "<string>",
"syncFailures": 123,
"externalIdentifiers": {},
"phoneColumnName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"exports": [
{
"integration": {},
"id": 123,
"conversationId": "<string>",
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"started": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"integrationId": "<string>",
"error": "<string>",
"conversation": {
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
}
],
"inboxes": [
{}
],
"dataBackfilled": true,
"call_exports": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"status": "PENDING",
"recordsExported": 123,
"recordsWithoutContact": 123,
"recordsWithoutUser": 123,
"callRecordQueryDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"remoteCohorts": [
{
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"id": "<string>",
"constraints": {},
"name": "<string>",
"icon": "<string>",
"readonly": true,
"source": "clerk",
"integrationId": "<string>",
"externalEntityType": "contact",
"externalId": "<string>",
"allowExternalSync": true,
"externalUpdateBehavior": "if_empty",
"teamId": "<string>",
"team": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"value": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdBy": {},
"team": {},
"phones": [
{
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"primaryPhone": {
"id": "<string>",
"phone": "<string>",
"contactId": "<string>",
"label": "<string>",
"isPrimary": true,
"contact": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"properties": [
{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"icon": "<string>",
"options": [
"<string>"
],
"readonly": true,
"source": "clerk",
"externalId": "<string>",
"teamId": "<string>",
"team": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
],
"invites": [
{
"id": "<string>",
"email": "<string>",
"teamId": "<string>",
"team": {},
"role": "workspace_owner",
"inboxIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z"
}
],
"integrations": [
"<string>"
],
"roles": [
{
"id": "<string>",
"userId": "<string>",
"teamId": "<string>",
"type": "workspace_owner",
"user": {},
"team": {},
"permissions": [
"add_inbox"
]
}
],
"workflows": [
{
"id": 123,
"name": "<string>",
"enabled": true,
"teamId": "<string>",
"userId": "<string>",
"public": true,
"trigger": "incoming_message",
"spec": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"system": true,
"createdBy": {},
"executions": [
{
"id": 123,
"status": "failed",
"payload": {},
"workflowStepResults": [
{}
],
"error": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": 123,
"workflow": {}
}
],
"inboxes": [
{}
],
"team": {},
"schedules": [
{
"id": 123,
"workflowId": 123,
"dayOfWeek": 123,
"time": "<string>",
"timezone": "<string>",
"enabled": true,
"workflow": {}
}
]
}
],
"settings": [
{
"id": 123,
"userId": "<string>",
"teamId": "<string>",
"user": {},
"team": {},
"type": "signature",
"enabled": true,
"data": {}
}
],
"reseller": {
"id": "<string>",
"externalId": "<string>",
"platformId": "<string>",
"username": "<string>",
"password": "<string>",
"stripeCustomerId": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"subscriptionType": "automatic",
"acceptedTermsOfService": true,
"teams": [
{}
],
"platform": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"billingEmail": "<string>",
"password": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"stripeCustomerId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"resellers": [
{}
],
"users": [
{}
],
"tiers": [
{}
]
},
"users": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"teamNotificationIcon": "<string>",
"teamNotificationTitle": "<string>",
"teamNotificationMessage": "<string>"
},
"teamProvider": {
"id": "<string>",
"teamId": "<string>",
"externalId": "<string>",
"providerSource": "microsoft_teams",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
},
"brand": {
"id": 123,
"brandId": "<string>",
"companyName": "<string>",
"brandName": "<string>",
"registrationCountry": "<string>",
"organizationLegalForm": "SOLE_PROPRIETOR",
"organizationIdentifyType": "DUNS",
"organizationVertical": "PROFESSIONAL",
"companyAddress": "<string>",
"companyZip": "<string>",
"ein": "<string>",
"einCountry": "<string>",
"companyCountry": "<string>",
"companyInfo": "<string>",
"contactEmail": "<string>",
"contactFirstName": "<string>",
"contactLastName": "<string>",
"contactPhone": "<string>",
"website": "<string>",
"state": "<string>",
"city": "<string>",
"teams": [
{}
],
"monthlyFee": 123,
"status": "FAILED",
"submittedAt": "2023-11-07T05:31:56Z",
"optInStatus": "init",
"campaignStatus": "init",
"optInVerifiedAt": "2023-11-07T05:31:56Z",
"registrationErrors": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
},
"knowledgeSources": [
{
"id": 123,
"type": "url",
"teamId": "<string>",
"parentId": 123,
"parent": {},
"children": [
{}
],
"team": {},
"sections": [
{
"id": 123,
"content": "<string>",
"contentLength": 123,
"embedding": "<string>",
"source": {},
"sourceId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"title": "<string>",
"input": "<string>",
"output": "<string>",
"status": "init",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assistantStopPhrases": [
{
"id": 123,
"phrase": "<string>",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"assistantLLMBaseURL": "<string>",
"assistantSupervisorPrompt": "<string>",
"metadata": {},
"paymentFailedAt": "2023-11-07T05:31:56Z",
"paymentFailedCount": 123,
"cohorts": [
{
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"name": "<string>",
"icon": "<string>",
"isPublic": true,
"readonly": true,
"query": [
{}
],
"queryTerm": "<string>",
"included": [
"<string>"
],
"excluded": [
"<string>"
],
"contactIds": [
"<string>"
],
"contactsCount": 123,
"status": "ok",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"lastRecalculation": "2023-11-07T05:31:56Z",
"team": {},
"user": {}
}
],
"conversations": [
{
"id": "<string>",
"members": [
"<string>"
],
"lastMessageSent": "2023-11-07T05:31:56Z",
"lastMessageBody": "<string>",
"isLastMessageInbound": true,
"archived": true,
"inboxId": "<string>",
"hasUnread": true,
"teamId": "<string>",
"status": "archived",
"type": {},
"created": "2023-11-07T05:31:56Z",
"assistantTimestamp": "2023-11-07T05:31:56Z",
"assistantMessageId": 123,
"updated": "2023-11-07T05:31:56Z",
"assistantDisabled": true,
"assistantNextRunAt": "2023-11-07T05:31:56Z",
"unreadMessageCount": 123,
"lastMessageAttachmentsCount": 123,
"assistantMessage": {
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
},
"inbox": {},
"team": {},
"createdBy": {},
"messages": [
{
"id": 123,
"body": "<string>",
"unfurl": {},
"conversationId": "<string>",
"userId": "<string>",
"campaignMessageId": 123,
"campaignId": 123,
"channelId": "<string>",
"inbound": true,
"members": [
"<string>"
],
"sender": "<string>",
"senderType": "ai_pipeline",
"status": "sending",
"error": "<string>",
"sentByName": "<string>",
"errorCode": 123,
"timestamp": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"seen": true,
"externalId": "<string>",
"clerkChatUUID": "<string>",
"segments": 123,
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"user": {},
"campaign": {
"id": 123,
"teamId": "<string>",
"userId": "<string>",
"inboxId": "<string>",
"name": "<string>",
"cohortId": 123,
"remoteCohortId": "<string>",
"contactIds": [
"<string>"
],
"body": "<string>",
"type": "instant",
"status": "ok",
"executionDuration": 123,
"sendAt": "2023-11-07T05:31:56Z",
"latestTimestamp": "2023-11-07T05:31:56Z",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"user": {},
"team": {},
"inbox": {},
"attachments": [
{
"id": "<string>",
"url": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"messageId": 123,
"message": {},
"comments": {
"id": 123,
"discussionId": 123,
"userId": "<string>",
"text": "<string>",
"mentionedUserIds": [
"<string>"
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"user": {},
"attachments": [
{}
]
},
"scheduledMessage": {
"id": 123,
"teamId": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"body": "<string>",
"sendAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "ok",
"error": "<string>",
"deleted": true,
"user": {},
"attachments": [
{}
]
}
}
],
"contacts": [
{
"id": "<string>",
"campaignId": 123,
"originalContactId": "<string>",
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"avatarURL": "<string>",
"campaign": {}
}
],
"messages": {},
"campaignMessages": [
{
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
}
],
"remoteCohort": {
"integration": {},
"id": "<string>",
"integrationId": "<string>",
"externalId": "<string>",
"externalType": "dynamic_segment",
"memberCount": 123,
"name": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"campaignMessage": {
"id": 123,
"campaignId": 123,
"userId": "<string>",
"campaign": {},
"messages": [
{}
],
"body": "<string>",
"sentCount": 123,
"timestamp": "2023-11-07T05:31:56Z",
"status": "created",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"user": {}
},
"conversation": {},
"discussion": {
"id": 123,
"messageId": 123,
"replies": 123,
"lastReplyDate": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"message": {},
"comments": [
{}
]
},
"attached": [
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"type": "<string>",
"size": 123,
"teamId": "<string>",
"team": {},
"campaignMessages": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"inboxId": "<string>"
}
],
"exports": [
{}
],
"assignee": [
{}
],
"classifications": [
{
"id": "<string>",
"value": "<string>",
"classifierId": "<string>",
"conversationId": "<string>",
"conversation": {},
"classifier": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pipelineExecutions": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"error": "<string>",
"aiTokensUsed": 123,
"nodesStarted": 123,
"conversationHistory": [
{}
],
"contactDetails": {},
"environment": {},
"conversationId": "<string>",
"hash": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {
"id": "<string>",
"pipelineId": "<string>",
"number": 123,
"defaultTimezone": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipeline": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
},
"nodes": [
{
"id": "<string>",
"pipelineVersionId": "<string>",
"type": "ai_bot",
"name": "<string>",
"description": "<string>",
"triggeredBy": [
"scheduledRun"
],
"responseType": "json",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"aiBotConfig": {
"id": "<string>",
"nodeId": "<string>",
"modelProvider": "<string>",
"modelVersion": "<string>",
"maxTokens": 123,
"temperature": 123,
"variables": {},
"prompt": "<string>",
"promptSections": [
"<string>"
],
"sectionTemplates": {},
"responseSchema": {},
"opts": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"toolConfig": {
"id": "<string>",
"nodeId": "<string>",
"type": "contact_tools",
"config": {},
"enabledTools": [
"<string>"
],
"tools": {},
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"knowledgeBaseConfig": {
"id": "<string>",
"nodeId": "<string>",
"limit": 123,
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"templateConfig": {
"id": "<string>",
"nodeId": "<string>",
"template": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {}
},
"messagesSent": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"messagesReceived": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"outputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"inputEdges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
],
"executions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
]
}
],
"edges": [
{
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
]
},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
],
"nodeExecutions": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"nodeId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"status": "new",
"aiTokensUsed": 123,
"input": {},
"output": {},
"errorMessage": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"node": {},
"pipelineExecution": {},
"messages": [
{
"id": "<string>",
"pipelineExecutionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"edgeId": "<string>",
"destinations": {},
"content": {},
"messageType": "json",
"status": "new",
"error": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineExecution": {},
"sourceNode": {},
"destinationNode": {},
"edge": {
"id": "<string>",
"name": "<string>",
"pipelineVersionId": "<string>",
"sourceNodeId": "<string>",
"destinationNodeId": "<string>",
"sourceVariables": [
"<string>"
],
"filters": [
{}
],
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"pipelineVersion": {},
"sourceNode": {},
"destinationNode": {},
"messages": [
{}
]
}
}
]
}
],
"conversation": {}
}
]
}
],
"billingPeriods": [
{
"id": "<string>",
"teamId": "<string>",
"month": 6.5,
"year": 6011.5,
"planSegments": 1,
"segmentsPurchased": 1,
"balanceCarriedForward": 123,
"segmentsUsed": 1,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {},
"payments": [
{
"id": "<string>",
"teamBillingPeriodId": "<string>",
"stripeInvoiceId": "<string>",
"stripeCustomerId": "<string>",
"productType": "sms_post_pay",
"smsSegments": 1,
"smsSegmentRate": 123,
"amount": 123,
"status": "canceled",
"breakdownS3Key": "<string>",
"paidAt": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"teamBillingPeriod": {}
}
]
}
],
"subscriptionUpdates": [
{
"id": "<string>",
"teamId": "<string>",
"activeInboxes": 123,
"nonAdminUsers": 123,
"tier": "fraud",
"tierId": "<string>",
"fixedLicenses": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"team": {}
}
],
"pipelines": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"description": "<string>",
"maxRuntime": 2,
"maxTokensPerRun": 2,
"maxNodeCallsPerRun": 2,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"team": {},
"versions": [
{}
],
"inboxSubscriptions": [
{
"id": "<string>",
"inboxId": "<string>",
"pipelineId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"inbox": {},
"pipeline": {}
}
],
"createdBy": {}
}
],
"classifiers": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"options": [
"<string>"
],
"team": {},
"values": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"blockList": [
{
"phone": "<string>",
"teamId": "<string>",
"team": {},
"createdById": "<string>",
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"backgroundJobs": [
"<string>"
],
"domains": [
{
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"emailAddress": "<string>",
"emailSentAt": "2023-11-07T05:31:56Z",
"verifiedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"team": {}
}
],
"inboxCount": 123,
"userCount": 123
}
],
"platform": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"billingEmail": "<string>",
"password": "<string>",
"companyName": "<string>",
"houseNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"stateCode": "<string>",
"zip": "<string>",
"stripeCustomerId": "<string>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"resellers": [
{}
],
"users": [
{}
],
"tiers": [
{}
]
}
}
],
"total": 123
}