Skip to main content
PATCH
/
v1
/
contact
/
{id}
Update Contact
curl --request PATCH \
  --url https://api.nedzo.ai/v1/contact/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "business_name": "<string>",
  "email": "<string>",
  "city": "<string>",
  "country": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "full_name": "<string>",
  "full_address": "<string>",
  "phone": "<string>",
  "state": "<string>",
  "street_address": "<string>",
  "postal_code": "<string>",
  "job_title": "<string>",
  "dnc": true,
  "contact_list_id": 123
}
'
{
  "status_code": 123,
  "message": "<string>",
  "data": {
    "contact": {
      "contact_list_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "email": "[email protected]",
      "first_name": "<string>",
      "last_name": "<string>",
      "full_name": "<string>",
      "business_name": "<string>",
      "full_address": "<string>",
      "city": "<string>",
      "country": "<string>",
      "state": "<string>",
      "postal_code": "<string>",
      "phone": "<string>",
      "job_title": "<string>",
      "dnc": true,
      "custom_fields": [
        {
          "custom_field_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "value": "<string>"
        }
      ],
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "subaccount_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "last_dial_time": "2023-11-07T05:31:56Z",
      "most_recent_outcome": "<string>",
      "status": "Waiting"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Body

application/json
business_name
string | null

The name of the business the contact is associated with.

email
string | null
city
string | null

The city where the contact resides or does business.

country
string | null

The country where the contact is located.

first_name
string | null

The first name of the contact.

last_name
string | null

The last name of the contact.

full_name
string | null

The full name of the contact.

full_address
string | null

A full address for the contact, which may include street, city, state, and postal code.

phone
string | null

The phone number of the contact.

state
string | null

The state or province where the contact resides or does business.

street_address
string | null
postal_code
string | null

The postal code or ZIP code for the contact's address.

job_title
string | null

The job title or role of the contact within their organization.

dnc
boolean | null
default:false

Do Not Contact flag. If set to True, this contact should be excluded from outreach campaigns.

contact_list_id
integer | null

Unique identifier for the contact list that this contact belongs to.

Response

Successful Response

status_code
integer
required
message
string
required
data
object | null