PATCH
/
v1
/
contacts
/
{contact_id}
Update contact
curl --request PATCH \
  --url https://dovetail.com/api/v1/contacts/{contact_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "John Smith",
  "email": "john@dovetail.com",
  "fields": [
    {
      "label": "salesforce_id",
      "value": "003XX000004TmiQQAS"
    }
  ]
}'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "created_at": "<string>",
    "fields": [
      {
        "label": "<string>",
        "value": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contact_id
string
required

Unique identifier of the contact.

Body

application/json

Body

The body is of type object.

Response

200
application/json

200

The response is of type object.