Contacts

Create Contact

POST https://api.iphub.com.au/api/v1/contacts

Creates a contact or updates an existing contact.

Query Parameters

Name
Type
Description

updateExisting

string

'phoneNumber' | 'email' | 'userId' If a contact is found with the matching field above, it will be updated instead of created.

Headers

Name
Type
Description

Authorization

string

Authentication token of the form `bearer ${sessionToken}`

Request Body

Name
Type
Description

firstName

string

First Name

lastName

string

Last Name

company

string

Company

email

string

Email

phoneNumbers

array

Array of phone numbers eg) ['+61404123456', '+61433222444']

customFields

object

Key Value object of custom fields {'example': 'some_value'}

userId

string

User ID in your database or CRM

tags

array

Array of custom tags. This can be used to trigger flows.

{
    id: string
}

Last updated