Skip to main content
PUT
/
v1
/
api
/
contacts
/
{contact_id}
Update Contact
curl --request PUT \
  --url https://api.withallo.com/v1/api/contacts/{contact_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "John",
  "last_name": "Smith",
  "job_title": "CTO",
  "emails": [
    "[email protected]",
    "[email protected]"
  ]
}
'
{
  "data": {
    "id": "cnt_abc123",
    "name": "John",
    "last_name": "Smith",
    "job_title": "CTO",
    "website": "https://acme.com",
    "status": null,
    "is_archived": false,
    "created_at": "2024-01-21T10:30:00",
    "updated_at": "2024-01-21T11:00:00",
    "numbers": [
      "+15551234567"
    ],
    "is_whitelisted": false,
    "last_activity_date": "2024-01-21T11:00:00",
    "engagement": null
  }
}

Authorizations

Authorization
string
header
required

Scope needed: CONTACTS_READ_WRITE

Path Parameters

contact_id
string
required

The unique identifier of the contact to update (e.g., "cnt_abc123")

Example:

"cnt_abc123"

Body

application/json

Request body for updating an existing contact. Only provided fields will be updated.

name
string | null

First name

last_name
string | null

Last name

job_title
string | null

Job title

website
string | null

Website URL

emails
string[] | null

Email addresses (replaces all existing emails)

numbers
string[] | null

Phone numbers (replaces all existing numbers)

Response

Contact updated successfully

Standard response wrapper for a single contact

data
object

A contact record with engagement information