Contact Object
The object required for sharing contact(s) information.
Example
[ {
"addresses": [ {
"street": "STREET",
"city": "CITY",
"state": "STATE",
"zip": "ZIP",
"country": "COUNTRY",
"country_code": "COUNTRY_CODE",
"type": "HOME"
} ],
"birthday": "1911-01-11",
"emails": [ {
"email": "EMAIL@EXAMPLE.COM",
"type": "WORK"
} ],
"name": {
"formatted_name": "NAME",
"first_name": "FIRST_NAME",
"last_name": "LAST_NAME",
"middle_name": "MIDDLE_NAME",
"suffix": "SUFFIX",
"prefix": "PREFIX"
},
"org": {
"company": "COMPANY",
"department": "DEPARTMENT",
"title": "TITLE"
},
"phones": [ {
"phone": "PHONE_NUMBER",
"type": "HOME"
},
{
"phone": "PHONE_NUMBER",
"type": "WORK",
"wa_id": "PHONE_OR_WA_ID"
} ],
"urls": [ {
"url": new URL( "https://wwww.example.com" ).href,
"type": "WORK"
} ]
} ]
Properties
addresses
: AddressesObject[] (optional) — array of the contact's addresses.birthday
: string (optional) — birthday in YYYY-MM-DD format.emails
: EmailObject[] (optional) — array of the contact's emails.name
: NameObject — contact's name.org
: OrgObject (optional) — the contact's organization.phones
: PhoneObject[] (optional) — array of the contact's phone numbers.urls
[] : URLObject[] (optional) — array of the contact's URLs.