v1

latestOpenAPI 3.1.02026-07-1451089.2 KB

Update a contact

Update a contact by providing the contact key.

post/contacts/{contactKey}

Path parameters

contactKeystring required

Contact key

Request body

givenNamestring

First name

familyNamestring

Last name

emailAddressesstring[]

The only email addresses associated with the contact will be the ones you include here; make sure to include any previously associated addresses as well as the new one(s).

titlestring

Contact's title/description

otherstring

Notes or other uncategorized information.

addressesstring[]

The only addresses associated with the contact will be the ones you include here; make sure to include any previously associated addresses as well as the new one(s).

phoneNumbersstring[]

The only phone numbers associated with the contact will be the ones you include here; make sure to include any previously associated numbers as well as the new one(s).

twitterHandlestring
facebookHandlestring
linkedinHandlestring
photoUrlstring
teamKeystring

Streak team key

Response

200

teamKeystring
givenNamestring
familyNamestring
titlestring
emailAddressesstring[]
phoneNumbersstring[]
addressesstring[]
twitterHandlestring
creationDateinteger
keystring

Example response

{
  "teamKey": "agxzfm1haWxmb29nYWVyEQsSBFRlYW0YgICIvJO1pQgM",
  "givenName": "Billie",
  "familyName": "Jean",
  "title": "Not my lover",
  "emailAddresses": [
    "mike.jackson@gmail.com"
  ],
  "phoneNumbers": [
    "919.989.9909"
  ],
  "addresses": [
    "4406 W Beach Park Drive"
  ],
  "twitterHandle": "@justagirlwhothinksthatIamtheone",
  "creationDate": 1501633590512,
  "key": "VGVhbUNvbnRhY3Qsfn5zdHJlYWtsb25naWR-fjc1MTg3NDcyMDY"
}