conversationsChangeStatus
Changes the status of one or more conversations. Use ‘closed’ to resolve conversations, ‘open’ to reopen them. When setting status to ‘snoozed’, optionally provide snoozedUntil to auto-reopen at that time.
conversationsChangeStatus(_ids: [String]!, status: ConversationStatus!, snoozedUntil: Date): [Conversation]Arguments
List of conversation IDs to update
New status for the conversations
Optional auto-reopen datetime (only used when status is 'snoozed'). Conversation will auto-reopen after this time.
Returns
The latest text content or snippet of the conversation.
The integration (channel) this conversation originated from.
The customer participating in this conversation.
The department this conversation is routed to.
The user/agent who created or owns this conversation.
The user/agent currently assigned to handle this conversation.
User IDs of agents participating in this conversation.
User IDs of agents who have read this conversation.
When this conversation was created.
When this conversation was last updated.
SLA elapsed idle time in minutes (time since customer started waiting for a response).
Configured SLA threshold in minutes.
Idle time in minutes (deprecated — use slaTime).
Configured idle time threshold in minutes (deprecated — use slaConfig).
Whether the customer sent the most recent message.
Timestamp of the last customer message.
Timestamp of the last agent message.
When the customer started waiting for a response.
Average agent response time in seconds.
Total cumulative response time in seconds.
Number of agent responses in this conversation.
Current workflow status: 'open', 'closed', 'pending', 'snoozed', or 'bot'.
When a snoozed conversation will auto-reopen (null if indefinite or not snoozed).
Total number of messages in this conversation.
Auto-incremented conversation number for display.
Tag IDs applied to this conversation.
The most recent message in this conversation, resolved from the appropriate service (inbox, whatsapp, facebook, etc.).
Resolved tags applied to this conversation.
The customer associated with this conversation.
The integration (channel) this conversation came from.
The user/agent who owns this conversation.
The agent currently assigned to this conversation.
The department this conversation is routed to.
Users participating in this conversation.
Users who have read this conversation.
Number of participants in this conversation.
Related topics
conversationResolveAllconversationsConversationStatusStatusChangedPayloadconversationMessageUpdate