CRM
Update a CRM contact
Update an existing CRM contact's details by contactId: name, email, phone, socialHandles (instagram, x, or bluesky handle or profile URL; pass null or empty string to remove a handle while keeping at least one reachable channel), company, jobTitle, city, state, status, tags, or adminNotes. Read ehq_crm_contacts_list first to confirm the exact contactId. Sends no messages. Send an Idempotency-Key header.
Method
PATCH
Path
/v1/crm/contacts/{contactId}
Required scope
crm:writeRequest
curl -X PATCH "https://api.endurancehq.app/v1/crm/contacts/{contactId}" \
-H "Authorization: Bearer $EHQ_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"Path parameters
contactIdstring, requiredJSON body schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"organizationId": {
"description": "CRM workspace owner: use platform for Endurance HQ's own CRM (platform admins only), or an authorized organization ID. Omit for personal CRM unless eventId is given.",
"type": "string",
"minLength": 1,
"maxLength": 200
},
"firstName": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"lastName": {
"type": "string",
"maxLength": 120
},
"personName": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"email": {
"type": "string",
"maxLength": 255
},
"phone": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
]
},
"socialHandles": {
"type": "object",
"properties": {
"instagram": {
"description": "Instagram handle (@handle or handle) or profile URL. Pass null or empty string on update to remove.",
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"x": {
"description": "X (Twitter) handle (@handle or handle) or profile URL. Pass null or empty string on update to remove.",
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"bluesky": {
"description": "Bluesky handle (like name.bsky.social) or profile URL. Pass null or empty string on update to remove.",
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"company": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"jobTitle": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
]
},
"state": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"active",
"inactive",
"unsubscribed"
]
},
"tags": {
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"adminNotes": {
"anyOf": [
{
"type": "string",
"maxLength": 5000
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}Response
Success status: 200
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"contact": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"organizationId": {
"type": [
"string",
"null"
]
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"isCompany": {
"type": "boolean"
},
"personName": {
"type": [
"string",
"null"
]
},
"email": {
"type": "string"
},
"phone": {
"type": [
"string",
"null"
]
},
"socialHandles": {
"type": "object",
"properties": {
"instagram": {
"type": "string"
},
"x": {
"type": "string"
},
"bluesky": {
"type": "string"
}
},
"additionalProperties": false
},
"company": {
"type": [
"string",
"null"
]
},
"jobTitle": {
"type": [
"string",
"null"
]
},
"city": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"eventIds": {
"type": "array",
"items": {
"type": "string"
}
},
"href": {
"type": "string"
}
},
"required": [
"id",
"organizationId",
"firstName",
"lastName",
"isCompany",
"personName",
"email",
"phone",
"socialHandles",
"company",
"jobTitle",
"city",
"state",
"status",
"tags",
"eventIds",
"href"
],
"additionalProperties": false
}
},
"required": [
"contact"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}Other surfaces
MCP tool: ehq_crm_contacts_update