List custom contact fields
GET/api/v1/api/v1/contact-fields
curl -X GET 'https://www.unitpost.com/api/v1/api/v1/contact-fields' \
-H 'Authorization: Bearer YOUR_API_KEY'{
"object": "list",
"has_more": false,
"data": [
{
"object": "contact_field",
"id": "id_123",
"key": "string",
"label": "string",
"type": "text",
"default_value": "string",
"position": 0,
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
]
}Retrieve a list of the custom contact fields defined in your workspace, cursor-paginated. These are the typed attributes (text, number, date, boolean, and so on) you can set on any contact and reference as template variables. Define a new one with Create a custom contact field. Requires the contacts:read capability.
Parameters3 fields
| Field | Type | Description |
|---|---|---|
limit | integer · query | Max rows to return (default 20, max 100). |
after | string · query | Return rows after this id (forward paging). |
before | string · query | Return rows before this id (backward paging). |
Response · 200 fields9 fields
| Field | Type | Description |
|---|---|---|
objectrequired | string | — |
idrequired | string | — |
keyrequired | string | — |
labelrequired | string | — |
typerequired | enumtext | number | boolean | date | — |
default_valuerequired | object | — |
positionrequired | number | — |
created_atrequired | string | — |
updated_atrequired | string | — |