Create a new contact. All contacts are scoped to a particular team so a
teamKey is required. When creating a contact you can provide all of the contact info in a single call. See the possible parameters below.
Contacts must have at least one of
Note: Including the parameter
getIfExisting limits the parameters you can include in the call.
Content Type and Auth
Make sure to include
-H "Content-Type: application/json"and your authorization in any request you make on your own.
|Missing parameters||You might be missing the teamKey, emailAddresses, givenName, or familyName|
|Incorrect teamKey, API path has something mis-spelled or missing|
|We can't find the teamKey you've provided.|
|Need more information on the contact||We require one of the following to create a contact:|
|Need appropriate header||If you do not have the header|
|Duplicate email addresses||You can not pass duplicate email addresses, ie |
Check if contact exists?
getIfExistingparameter is included, you can ONLY pass the parameter of