DialogueCreate
Low-level payload to create a dialogue record directly. Most dialogues are created automatically by the platform when a message is received or outreach is sent; use this only for advanced/manual scenarios.
ID of the product (workspace) that owns this record. Most endpoints scope access by product.
ID of the agent (a configured AI assistant / bot persona) this record belongs to.
ID of the contact this record relates to.
ID of the messaging channel this record relates to.
Initial dialogue stage; defaults to "initial".
Possible values: [initial, attempted, started, ongoing, pending, failed, redirected, finished, refused, success, disqualified, escalated]
initialThe channel-specific chat identifier to bind the dialogue to.
last_user_msg_id object
- integer
- null
last_user_msg_at object
- date-time
- null
last_bot_msg_id object
- integer
- null
Whether this dialogue is the primary one for the agent/contact pair. Defaults to true.
trueWhether the bot starts muted in this dialogue.
falsepending_until object
- date-time
- null
pending_type object
- PendingType
- null
Possible values: [follow_up, human_clarification, n8n_async_tool, custom_follow_up, future_meeting]
pending_ref object
- string
- null
started_at object
- date-time
- null
ext_id object
- string
- null
waba_opener_sent_after_window_num object
- integer
- null
falsewarmup_pair_id object
- integer
- null
falsefalseskip_response_for_user_msg_id object
- integer
- null
skip_response_until object
- date-time
- null
last_tree_node_id object
- integer
- null
subject object
- string
- null
{
"product_id": 0,
"agent_id": 0,
"contact_id": 0,
"channel_id": 0,
"stage": "initial",
"chat_id": "string",
"last_user_msg_id": 0,
"last_user_msg_at": "2024-07-29T15:51:28.071Z",
"last_bot_msg_id": 0,
"is_main": true,
"bot_muted": false,
"pending_until": "2024-07-29T15:51:28.071Z",
"pending_type": "follow_up",
"pending_ref": "string",
"started_at": "2024-07-29T15:51:28.071Z",
"ext_id": "string",
"waba_opener_sent_after_window_num": 0,
"is_sub_outreach": false,
"warmup_pair_id": 0,
"is_incoming": false,
"is_group_chat": false,
"skip_response_for_user_msg_id": 0,
"skip_response_until": "2024-07-29T15:51:28.071Z",
"last_tree_node_id": 0,
"subject": "string"
}