Chatwoot/swagger/definitions/resource/conversation.yml

37 lines
1,013 B
YAML
Raw Normal View History

2020-02-23 07:24:29 +00:00
type: object
properties:
2020-03-11 10:49:13 +00:00
id:
type: number
description: ID of the conversation
2020-02-23 07:24:29 +00:00
messages:
type: array
items:
$ref: '#/definitions/message'
account_id:
type: number
description: Account Id
2020-02-23 07:24:29 +00:00
inbox_id:
type: number
2020-03-11 10:49:13 +00:00
description: ID of the inbox
2020-02-23 07:24:29 +00:00
status:
type: string
enum: ['open', 'resolved', 'pending']
2020-03-11 10:49:13 +00:00
description: The status of the conversation
2020-02-23 07:24:29 +00:00
timestamp:
type: string
2020-03-11 10:49:13 +00:00
description: The time at which conversation was created
contact_last_seen_at:
2020-02-23 07:24:29 +00:00
type: string
agent_last_seen_at:
type: string
2020-02-23 07:24:29 +00:00
unread_count:
type: number
2020-03-11 10:49:13 +00:00
description: The number of unread messages
additional_attributes:
type: object
description: The object containing additional attributes related to the conversation
custom_attributes:
type: object
description: The object to save custom attributes for conversation, accepts custom attributes key and value
example: { attribute_key: attribute_value, priority_conversation_number: 3 }