POST https://api.iphub.com.au/api/v1/contacts
POST
https://api.iphub.com.au/api/v1/contacts
Creates a contact or updates an existing contact.
updateExisting
string
'phoneNumber' | 'email' | 'userId' If a contact is found with the matching field above, it will be updated instead of created.
Authorization
Authentication token of the form `bearer ${sessionToken}`
firstName
First Name
lastName
Last Name
company
Company
email
Email
phoneNumbers
array
Array of phone numbers eg) ['+61404123456', '+61433222444']
customFields
object
Key Value object of custom fields {'example': 'some_value'}
userId
User ID in your database or CRM
tags
Array of custom tags. This can be used to trigger flows.
{ id: string }
Last updated 7 years ago