Skip to main content
PATCH
/
v1
/
contact-list
/
{id}
Update Contact List
curl --request PATCH \
  --url https://api.nedzo.ai/v1/contact-list/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "contact_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "status_code": 123,
  "message": "<string>",
  "data": {
    "contact_list": {
      "name": "<string>",
      "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "subaccount_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "contacts": [
        {
          "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
name
string | null

The name of the contact list. If provided, it updates the existing name of the list. If not provided, the name remains unchanged.

campaign_id
string<uuid> | null

The unique identifier of the campaign associated with this contact list. If provided, it updates the campaign association of the list. If not provided, the campaign association remains unchanged.

contact_ids
string<uuid>[] | null

A list of UUIDs representing the contacts to be included in this contact list. If provided, it updates the list of contacts. If not provided, the existing contact list is unchanged.

Response

Successful Response

status_code
integer
required
message
string
required
data
object | null