Update a contact
contacts:writeRate limit writesIdempotent with Idempotency-Keyfirst_name / last_name are stored for this project. name and phone change only a lead this project added first (not an ESTAGE account, not a lead another project collected) — otherwise they come back in meta.ignored; fields: { key: value } upserts custom fields (null clears). Tags and lists have their own routes.
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Path parameters
idintegerrequiredBody
application/jsonfirst_namestringnullable≤ 255 charsStored for this project; null clears it.
last_namestringnullable≤ 255 charsStored for this project; null clears it.
namestringnullable≤ 255 charsphonestringnullable≤ 32 charsWith its country code ("+44 20 7946 0958") to keep the country; null clears it.
fieldsobject{ key: value }; null or "" clears a field. Unknown key or a value that does not fit the type → 422.
Show example keys
{
"company": "ACME Europe",
"vip": true
}Headers
Idempotency-Keystring≤ 255 charsAny unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.
curl --request PATCH \ --url 'https://api.estage.com/v1/contacts/contact-id' \ --header 'ESTAGE-API-Key: est_live_your-api-key' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: your-unique-key' \ --data '{ "first_name": "Ana", "last_name": "Lopez-Garcia", "fields": { "company": "ACME Europe", "vip": true } }'
{
"data": {
"id": 4821,
"email": "ana@example.com",
"first_name": "Ana",
"last_name": "Lopez",
"name": "Ana Lopez",
"phone": "4045550142",
"phone_code": "+1",
"status": "lead",
"tags": [
{
"id": 12,
"name": "Customer"
},
{
"id": 15,
"name": "Webinar 2026"
}
],
"created_at": "2026-11-02T14:05:11Z",
"updated_at": "2026-11-12T08:40:27Z",
"lists": [
{
"id": 7,
"name": "Newsletter",
"subscribed_at": "2026-11-02T14:05:12Z"
}
],
"fields": {
"company": "ACME",
"plan_size": 25,
"renewal_date": "2027-01-31",
"vip": true
},
"suppressed": false
},
"meta": {
"ignored": [
"phone"
],
"reason": "This contact has an ESTAGE account of their own; name and phone belong to it."
}
}{ error: { code, message, details } }.