Create a custom field
Permission
fields:writeRate limit writesIdempotent with Idempotency-Keytype: text (default) | number | date | boolean | dropdown (options required). The key is slugged from key or else the name; if it is taken, _2, _3… is appended, so read the key from the response — it is what contact payloads use. first_name, last_name, name, email, phone and unsubscribe_url are reserved (422). options are ignored for other types.
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Body
application/jsonnamestringrequired≤ 255 charskeystring≤ 255 charsLower-case letters, digits and _, starting with a letter.
typestringdefault "text"One of text, number, date, boolean, dropdown
optionsarray of string≤ 200 itemsRequired for dropdown; trimmed, blanks and repeats removed.
sort_orderintegerdefault 0≥ 0Headers
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 POST \ --url 'https://api.estage.com/v1/fields' \ --header 'ESTAGE-API-Key: est_live_your-api-key' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: your-unique-key' \ --data '{ "name": "Plan tier", "key": "plan_tier", "type": "dropdown", "options": [ "Starter", "Pro", "Enterprise" ], "sort_order": 2 }'
Created
{
"data": {
"id": 33,
"key": "plan_tier",
"name": "Plan tier",
"type": "dropdown",
"options": [
"Starter",
"Pro",
"Enterprise"
],
"sort_order": 2,
"created_at": "2026-11-13T10:22:00Z"
}
}Example. Errors are
{ error: { code, message, details } }.