Create a contact

Creates a new Contact object.

Path parameters

account_idstringRequired
The account for which the contact should be created.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

Contact params
phone_numberstringRequiredformat: "phone_number"
The contact's phone number in E.164 format.
emailstringOptionalformat: "email"
The contact's email address.
first_namestringOptional
The contact's first name.
last_namestringOptional
The contact's last name.
metadatamap from strings to anyOptional
Additional metadata about the contact.

Response

Contact
emailstring or nullformat: "email"
The contact's email address.
first_namestring or null
The contact's first name.
idstring or null
Unique identifier for the object.
last_namestring or null
The contact's last name.
metadatamap from strings to any or null
Additional metadata about the contact.
phone_numberstring or nullformat: "phone_number"
The contact's phone number in E.164 format.