myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Update contact

PATCH

/api/v1/ext/contacts/{id}

Partially update a contact.

Auth: Bearer access_token
Scope: contacts.write

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

NameInTypeRequiredDescription
id
path
number
yes
Contact id.
workspace_id
body
numbernoMove the contact to a different workspace. Must belong to the installer.
first_name
body
stringnoMax 50.
last_name
body
stringnoMax 50.
email
body
stringnoNormalized to lowercase. Max 100.
phone_number
body
stringnoMax 20.
company_name
body
stringnoMax 100.
address
body
stringnoMax 255.
city
body
stringnoMax 100.
state
body
stringnoMax 100.
country
body
stringnoMax 100.
tags
body
array<string>noReplaces the existing tags. Pass null or [] to clear.
website
body
stringnoPublic website URL. Max 255 chars. Send null to clear.
linkedin_profile
body
stringnoLinkedIn profile URL. Max 255 chars. Send null to clear.
summary
body
string (text)noFree-form summary / bio. Send null to clear.
details
body
objectnoLoosely-typed JSON details bag. Send null to clear.
timezone
body
stringnoIANA timezone, e.g. Europe/London. Max 100 chars.
custom_fields
body
objectnoWorkspace-defined custom fields (JSON). Send null to clear.
notes
body
string | array<string>noFree-form notes. Accepts a single string or an array of strings.
is_verified_sms
body
booleannoPhone has been verified for SMS.
is_verified_whatsapp
body
booleannoPhone has been verified for WhatsApp.
is_verified_imessage
body
booleannoPhone has been verified for iMessage.
last_contacted
body
string (ISO 8601)noWhen this contact was last contacted.

Responses

StatusWhen
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

contactobject

The updated contact

idnumber

Unique identifier of the contact.

Example:1234
workspace_idnumber

The workspace this contact lives in.

Example:7
user_idnumber

The installer this contact belongs to.

Example:42
first_namestring
nullable

Given name. Max 50 chars.

Example:Ada
last_namestring
nullable

Family name. Max 50 chars.

Example:Lovelace
emailstring
nullable

Primary email. Unique within a workspace. Normalized to lowercase. Max 100 chars.

Example:ada@example.com
phone_numberstring
nullable

Primary phone number. Unique within a workspace. Max 20 chars.

Example:+15551234567
company_namestring
nullable

Company / organization name. Max 100 chars.

Example:Analytical Engines Ltd
websitestring
nullable

Public website URL. Max 255 chars.

Example:https://analyticalengines.example.com
linkedin_profilestring
nullable

LinkedIn profile URL. Max 255 chars.

Example:https://linkedin.com/in/ada
summarystring (text)
nullable

Free-form summary / bio.

detailsobject
nullable

Loosely-typed details bag (JSON). Use this for app-specific metadata that doesn't fit a column.

addressstring
nullable

Street address. Max 255 chars.

citystring
nullable

City. Max 100 chars.

statestring
nullable

State / region. Max 100 chars.

countrystring
nullable

Country name. Max 100 chars.

timezonestring
nullable

IANA timezone (e.g. Europe/London). Max 100 chars.

custom_fieldsobject
nullable

Workspace-defined custom fields (JSON).

tagsarray<string>
nullable

Up to 20 short labels.

notesarray<string>
nullable

Free-form notes. Accepts a string or an array on write; reads always return an array.

is_verified_smsboolean
nullable

Phone number has been verified for SMS.

Example:false
is_verified_whatsappboolean
nullable

Phone number has been verified for WhatsApp.

Example:false
is_verified_imessageboolean
nullable

Phone number has been verified for iMessage.

Example:false
last_contactedstring (ISO 8601)
nullable

When the contact last had a message exchange.

created_atstring (ISO 8601)

When the contact was first created.

Example:2026-05-21T09:14:22.000Z
updated_atstring (ISO 8601)

When the contact was last modified.

Example:2026-05-21T09:14:22.000Z
deleted_atstring (ISO 8601)
nullable

Set when the contact has been soft-deleted. null for active records.

Request
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"
  ]
}'
Responses
Updated
{
  "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
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

Contact id.

Body (JSON)
Request URL
PATCHhttps://backend.mysmsgateway.app/api/v1/ext/contacts/%7Bid%7D
Previous

« Create contact

Next

Delete contact »