Chatwoot/swagger/definitions/request/public/contact/create_update_payload.yml
Shivam Chahar c1cc94e37c
Fix: Accept phone number in public contact api (#4580)
This PR makes it possible to pass a phone number to the public contacts API.

Fixes #4023
2022-04-29 20:54:12 +05:30

24 lines
No EOL
599 B
YAML

type: object
properties:
identifier:
type: string
description: External identifier of the contact
identifier_hash:
type: string
description: Identifier hash prepared for HMAC authentication
email:
type: string
description: Email of the contact
name:
type: string
description: Name of the contact
phone_number:
type: string
description: Phone number of the contact
avatar_url:
type: string
description: The url to a jpeg, png file for the user avatar
custom_attributes:
type: object
description: Custom attributes of the customer