Think Pickle
  • Pickle Help
  • Flows
    • Triggers
      • Incoming SMS
      • Incoming Call
      • Contact Subscribed
      • Contact Tagged
    • Conditions
      • AB Split
      • Time is
      • Date-time is
      • Day is
      • Caller's number is
      • Caller's postcode is
      • Caller's state is
    • Actions
      • Say/Play
      • Pause
      • Forward Call
      • Record Voicemail
      • Gather input
      • Reject Call
      • Send Analytics Event
      • Send Email
      • Send SMS Message
    • Examples
      • Redirect calls to voicemail
      • IVR Menus
      • Forward calls to the closest store
      • A/B test 2 paths
      • Block a number
      • Track performance of TV ads
      • Forward and whisper
    • Variables
  • Flow Logs
  • Numbers
  • Contacts
    • Adding Contacts
  • API
    • Auth
    • Contacts
Powered by GitBook
On this page
  1. API

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
}

PreviousAuth

Last updated 6 years ago