PATCH
/
contacts
/
{contact_id}
Patch Contact
curl --request PATCH \
  --url https://sandbox.intermezzo.ai/contacts/{contact_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "email": "jsmith@example.com",
  "phone": {
    "phoneNumber": "<string>",
    "phoneType": "mobile"
  }
}'
{
  "name": "<string>",
  "email": "jsmith@example.com",
  "phone": {
    "phoneNumber": "<string>",
    "phoneType": "mobile"
  },
  "id": "con_01h455vb4pex5vsknk084sn02q",
  "roles": []
}

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

TypeID with prefix 'con'

Example:

"con_01h455vb4pex5vsknk084sn02q"

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.