Create or update a contact by phone number
Updates the contact that has the phone number, or creates one if the account has none. The API changes only the fields that you send. custom_attributes and additional_attributes merge into the stored values. Each value in notes adds a note. The API does the whole request as 1 unit: if a field is not valid, it changes nothing.
Authentication
An API key that an administrator creates in Settings > Developer. The personal access token of a user does not work. A key reaches every inbox, conversation, and contact in the account that created it, and nothing in other accounts.
Path parameters
The id of your account. It is the number after /accounts/ in the dashboard URL.
Request
Response
The API updated a contact. created is false.
A contact, without contact_inboxes, with its 10 newest notes.
true if the API created the contact.