Set custom field values
Permission
contacts:writeRate limit writesIdempotent with Idempotency-KeySets only the keys sent (1 to 100); others keep their values. null or "" clears a field. number needs a numeric value, date anything parseable (stored as YYYY-MM-DD), boolean true/false/1/0/yes/no, dropdown one of its options. Answers with every field of the project, like GET.
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Path parameters
idintegerrequiredBody
application/jsonfieldsobjectrequired{ key: value }; null clears
Show example keys
{
"company": "ACME",
"plan_size": 25,
"renewal_date": "2027-01-31",
"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.
RequestcURL
curl --request PUT \ --url 'https://api.estage.com/v1/contacts/contact-id/fields' \ --header 'ESTAGE-API-Key: est_live_your-api-key' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: your-unique-key' \ --data '{ "fields": { "company": "ACME", "plan_size": 25, "renewal_date": "2027-01-31", "vip": true } }'
OK
{
"data": {
"company": "ACME",
"plan_size": 25,
"renewal_date": "2027-01-31",
"vip": true,
"plan_tier": null
}
}Example. Errors are
{ error: { code, message, details } }.