Update contact
/api/v1/ext/contacts/{id}
Partially update a contact.
Send any subset of the writable fields. Fields you omit are left untouched. Send an explicit null (or empty string) to clear a field. Moving the contact to a different workspace is allowed, but the new workspace_id must also belong to the installer.
Writable fields: the full set listed below — same fields that Create Contact accepts (except neither email nor phone_number is conditionally required on PATCH, since the contact already has at least one identifier from create-time).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | number | yes | Contact id. |
| workspace_id | body | number | no | Move the contact to a different workspace. Must belong to the installer. |
| first_name | body | string | no | Max 50. |
| last_name | body | string | no | Max 50. |
body | string | no | Normalized to lowercase. Max 100. | |
| phone_number | body | string | no | Max 20. |
| company_name | body | string | no | Max 100. |
| address | body | string | no | Max 255. |
| city | body | string | no | Max 100. |
| state | body | string | no | Max 100. |
| country | body | string | no | Max 100. |
| tags | body | array<string> | no | Replaces the existing tags. Pass null or [] to clear. |
| website | body | string | no | Public website URL. Max 255 chars. Send null to clear. |
| linkedin_profile | body | string | no | LinkedIn profile URL. Max 255 chars. Send null to clear. |
| summary | body | string (text) | no | Free-form summary / bio. Send null to clear. |
| details | body | object | no | Loosely-typed JSON details bag. Send null to clear. |
| timezone | body | string | no | IANA timezone, e.g. Europe/London. Max 100 chars. |
| custom_fields | body | object | no | Workspace-defined custom fields (JSON). Send null to clear. |
| notes | body | string | array<string> | no | Free-form notes. Accepts a single string or an array of strings. |
| is_verified_sms | body | boolean | no | Phone has been verified for SMS. |
| is_verified_whatsapp | body | boolean | no | Phone has been verified for WhatsApp. |
| is_verified_imessage | body | boolean | no | Phone has been verified for iMessage. |
| last_contacted | body | string (ISO 8601) | no | When this contact was last contacted. |
Responses
| Status | When |
|---|---|
200 | Updated |
400 | No editable fields provided |
404 | Contact does not exist or is not owned by the installer |
409 | New email or phone collides with another contact in the same workspace |
Response schema
contactobjectThe updated contact
idnumberUnique identifier of the contact.
1234workspace_idnumberThe workspace this contact lives in.
7user_idnumberThe installer this contact belongs to.
42first_namestringGiven name. Max 50 chars.
Adalast_namestringFamily name. Max 50 chars.
LovelaceemailstringPrimary email. Unique within a workspace. Normalized to lowercase. Max 100 chars.
ada@example.comphone_numberstringPrimary phone number. Unique within a workspace. Max 20 chars.
+15551234567company_namestringCompany / organization name. Max 100 chars.
Analytical Engines LtdwebsitestringPublic website URL. Max 255 chars.
https://analyticalengines.example.comlinkedin_profilestringLinkedIn profile URL. Max 255 chars.
https://linkedin.com/in/adasummarystring (text)Free-form summary / bio.
detailsobjectLoosely-typed details bag (JSON). Use this for app-specific metadata that doesn't fit a column.
addressstringStreet address. Max 255 chars.
citystringCity. Max 100 chars.
statestringState / region. Max 100 chars.
countrystringCountry name. Max 100 chars.
timezonestringIANA timezone (e.g. Europe/London). Max 100 chars.
custom_fieldsobjectWorkspace-defined custom fields (JSON).
tagsarray<string>Up to 20 short labels.
notesarray<string>Free-form notes. Accepts a string or an array on write; reads always return an array.
is_verified_smsbooleanPhone number has been verified for SMS.
falseis_verified_whatsappbooleanPhone number has been verified for WhatsApp.
falseis_verified_imessagebooleanPhone number has been verified for iMessage.
falselast_contactedstring (ISO 8601)When the contact last had a message exchange.
created_atstring (ISO 8601)When the contact was first created.
2026-05-21T09:14:22.000Zupdated_atstring (ISO 8601)When the contact was last modified.
2026-05-21T09:14:22.000Zdeleted_atstring (ISO 8601)Set when the contact has been soft-deleted. null for active records.
curl -X PATCH "https://backend.mysmsgateway.app/api/v1/ext/contacts/{id}" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"first_name": "Augusta",
"tags": [
"lead",
"priority",
"engineer"
]
}'{
"success": true,
"data": {
"id": 1234,
"first_name": "Augusta",
"last_name": "Lovelace",
"email": "ada@example.com",
"phone_number": "+15551234567",
"company_name": "Analytical Engines Ltd",
"website": "https://analyticalengines.example.com",
"linkedin_profile": "https://linkedin.com/in/ada",
"summary": "Mathematician + first programmer. Interested in early CRM tooling.",
"details": {
"source": "newsletter",
"priority": "high"
},
"address": "12 Mayfair St",
"city": "London",
"state": "Greater London",
"country": "United Kingdom",
"timezone": "Europe/London",
"custom_fields": {
"lead_score": 92,
"owner": "gary"
},
"is_verified_sms": true,
"is_verified_whatsapp": false,
"is_verified_imessage": false,
"last_contacted": "2026-05-20T11:02:09.000Z",
"notes": [
"Spoke at conference 2026-05-15"
],
"tags": [
"lead",
"priority",
"engineer"
],
"workspace_id": 7,
"user_id": 42,
"created_at": "2026-05-21T09:14:22.000Z",
"updated_at": "2026-05-21T09:14:22.000Z",
"deleted_at": null
}
}Contact id.
« Create contact
Delete contact »
