List custom fields
GET/custom-fields
GET /custom-fields: the workspace's custom contact fields.
List the workspace's active custom-field slots and their labels. Because the labels are defined per workspace, this is how an integration learns what each custom_field_1-custom_field_3 on a contact means. Only named slots are returned; the same key is what you send on Upsert a contact.
Request
curl https://sendy.co.il/api/v1/custom-fields -H "Authorization: Bearer sk_live_8Jc…"const res = await fetch(`https://sendy.co.il/api/v1/custom-fields`, {
headers: { Authorization: "Bearer sk_live_8Jc…" },
});
const { custom_fields } = await res.json();Response · 200 OK
{
"custom_fields": [
{ "key": "custom_field_1", "slot": 1, "label": "City" },
{ "key": "custom_field_2", "slot": 2, "label": "Company" }
]
}