Skip to main content
PATCH
/
contacts
/
{contactId}
Update contact
curl --request PATCH \
  --url https://api.getarbol.com/v1/contacts/{contactId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "givenName": "<string>",
  "familyName": "<string>",
  "contactPoints": [
    {}
  ],
  "addresses": [
    {}
  ],
  "summary": "<string>",
  "metadata": {}
}
'
{
  "id": "<string>",
  "givenName": "<string>",
  "familyName": "<string>",
  "displayName": "<string>",
  "contactPoints": [
    {
      "id": "<string>",
      "type": "EMAIL",
      "value": "<string>",
      "label": "<string>",
      "isPrimary": true,
      "isVerified": true
    }
  ],
  "addresses": [
    {
      "id": "<string>",
      "type": "HOME",
      "streetAddress": "<string>",
      "addressLocality": "<string>",
      "addressRegion": "<string>",
      "postalCode": "<string>",
      "addressCountry": "<string>",
      "isPrimary": true
    }
  ],
  "aiSummary": "<string>",
  "metadata": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Use your API key from the Arbol dashboard. Go to Settings > API Keys to generate one.

Path Parameters

contactId
string
required

Contact ID (cnt_ prefix)

Body

application/json
givenName
string
familyName
string
contactPoints
object[]
addresses
object[]
summary
string
metadata
object

Response

Updated contact

id
string
givenName
string
familyName
string
displayName
string
contactPoints
object[]
addresses
object[]
aiSummary
string | null
metadata
object
createdAt
string<date-time>
updatedAt
string<date-time>