Skip to content

Update Contact

PUT /external/v1/contacts/:id

Updates an existing contact. Only provided fields will be updated.

Authentication

Requires contacts:write permission.

Path Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the contact

Request Body

All fields are optional. Only include fields you want to update.

FieldTypeDescription
namestringFull name of the contact
emailstringEmail address
phonestringPhone number
companystringCompany name
titlestringJob title/position
locationstringLocation
linkedin_profile_urlstringLinkedIn profile URL
tagsarrayArray of tag IDs (UUIDs) — replaces existing tags
custom_fieldsobjectCustom field key-value pairs

Request

bash
curl --request PUT \
  --url "https://app.getraze.com/external/v1/contacts/cnt_abc123def456" \
  --header "Content-Type: application/json" \
  --header "X-API-Key: YOUR_API_KEY" \
  --data '{
    "title": "VP of Engineering",
    "tags": ["tag_01", "tag_03"]
  }'
javascript
const axios = require('axios');

const contactId = 'cnt_abc123def456';

const response = await axios.put(
  `https://app.getraze.com/external/v1/contacts/${contactId}`,
  {
    title: 'VP of Engineering',
    tags: ['tag_01', 'tag_03']
  },
  {
    headers: {
      'X-API-Key': 'YOUR_API_KEY',
      'Content-Type': 'application/json'
    }
  }
);

console.log(response.data);
python
import requests

contact_id = 'cnt_abc123def456'

response = requests.put(
    f'https://app.getraze.com/external/v1/contacts/{contact_id}',
    headers={
        'X-API-Key': 'YOUR_API_KEY',
        'Content-Type': 'application/json'
    },
    json={
        'title': 'VP of Engineering',
        'tags': ['tag_01', 'tag_03']
    }
)

print(response.json())

Response

json
{
  "success": true,
  "data": {
    "id": "cnt_abc123def456",
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "+5511999999999",
    "company": "Acme Inc",
    "title": "VP of Engineering",
    "location": "São Paulo, BR",
    "linkedin_profile_url": "https://linkedin.com/in/johndoe",
    "source": "LinkedIn",
    "custom_fields": {},
    "created_at": "2026-01-15T10:30:00Z",
    "updated_at": "2026-01-25T10:00:00Z",
    "tags": [
      { "id": "tag_01", "name": "hot-lead", "color": "red" },
      { "id": "tag_03", "name": "enterprise", "color": "purple" }
    ]
  }
}

Errors

StatusCodeDescription
404NOT_FOUNDContact not found

GetRaze - AI-Powered Lead Generation