Chatwoot/swagger/definitions/resource/contact.yml

26 lines
749 B
YAML
Raw Normal View History

2020-02-23 07:24:29 +00:00
type: object
properties:
email:
type: string
2020-03-11 10:49:13 +00:00
description: Email address of the contact
2020-02-23 07:24:29 +00:00
name:
type: string
2020-03-11 10:49:13 +00:00
description: The name of the contact
2020-02-23 07:24:29 +00:00
phone_number:
type: string
2020-03-11 10:49:13 +00:00
description: Phone number of the contact
2020-02-23 07:24:29 +00:00
thumbnail:
type: string
2020-03-11 10:49:13 +00:00
description: Avatar URL of the contact
2020-02-23 07:24:29 +00:00
additional_attributes:
type: object
2020-03-11 10:49:13 +00:00
description: The object containing additional attributes related to the contact
custom_attributes:
type: object
description: The object to save custom attributes for contact, accepts custom attributes key and value
example: { attribute_key: attribute_value, signed_up_at: dd/mm/yyyy }
2020-08-18 06:44:37 +00:00
contact_inboxes:
type: array
items:
$ref: '#/definitions/contact_inboxes'