Space Docs
API ReferenceConversation

conversation.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
workspaceIdstringYes—ID of the associated workspace
providerenum(telegram, whatsapp, discord, slack, microsoft_teams, ai_agent, email)Yes—Provider
channelEndpointIdstringYes—ID of the associated channel endpoint
subjectstringNo—Subject
linkedRecordTypestringNo—Linked record type
linkedRecordIdstringNo—ID of the associated linked record
stateenum(open, waiting_on_customer, waiting_on_agent, escalated, resolved, closed)Yes"open"State
ownerUserIdstringNo—ID of the associated owner user
assignedAgentIdstringNo—ID of the associated assigned agent
requireSessionVerificationbooleanYesfalseRequire session verification
visibilityModeunknownNo—Visibility mode
accountResolutionStatusenum(auto_matched, confirmed, corrected)No—Account resolution status
accountResolutionConfidencenumberNo—Account resolution confidence

Example

{
  "workspaceId": "550e8400-e29b-41d4-a716-446655440000",
  "provider": "telegram",
  "channelEndpointId": "550e8400-e29b-41d4-a716-446655440000",
  "subject": "example",
  "linkedRecordType": "example",
  "linkedRecordId": "550e8400-e29b-41d4-a716-446655440000",
  "state": "open",
  "requireSessionVerification": false
}

On this page