/v1/custom-fieldsbetaList custom fields
- Needs
- Read your data
(mcp:read) - Plan
- Any plan with API access
- Limits
- 300 a minute per key
- Undo
- Nothing to undo: this only reads.
Lists the custom fields contacts can carry: the key you use in attributes, the label your team sees, the type and, for choice fields, the options. allow_new_options: true (select and multiselect only) means a contact write with a value that is not an option yet adds it as a new option instead of being refused.
Try it
Query (4)
Key or label contains this text.
Only fields of this type.
The `next_cursor` from the previous page. Cursors expire after 24 hours.
How many items per page (1–100).
This only reads. It uses your real data and changes nothing.
Code and response
curl -X GET 'https://api.wa-api.cloud/v1/custom-fields' \ -H "Authorization: Bearer $API_KEY"
The code reads your key from $API_KEY.
Parameters
| Field | Type | What it is |
|---|---|---|
| search | string · query | Key or label contains this text.1–100 characters |
| type | string · query | Only fields of this type.one of: text, textarea, select, multiselect, checkbox, radio, date, datetime, number, email, url, phone, int, float, boolean, decimal |
| cursor | string · query | The next_cursor from the previous page. Cursors expire after 24 hours.1–2048 characters |
| limit | integer · query | How many items per page (1–100).1–100 · default 25 |
Headers
| Field | Type | What it is |
|---|---|---|
| Authorizationrequired | header | Bearer $API_KEY — your API key. |
| Api-Version | header | The API version to use, e.g. 2026-10-01. Default: the version your key is pinned to.one of: 2026-10-01 · pattern ^\d{4}-\d{2}-\d{2}$ |
Response 200
A page of custom fields.
| Field | Type | What it is |
|---|---|---|
| datarequired | array of object | |
| idrequired | string | |
| keyrequired | string | Use this key in attributes: { "<key>": value }. |
| labelrequired | string or null | |
| typerequired | string or null | |
| optionsrequired | array of object or null | Options of a select / multiselect / radio field. Unless allowNewOptions, a value must be one of them. |
| labelrequired | string | |
| valuerequired | string | |
| allow_new_optionsrequired | boolean | Dynamic options (select / multiselect only): true = a contact write with a value that is not an option appends it as a new option ({label: v, value: v}) instead of being refused. |
| read_onlyrequired | boolean | |
| visibilityrequired | string or null | visible_to_all or manager_only. |
| in_userequired | boolean or null | |
| created_atrequired | string or null | |
| totalrequired | integer or null | -9007199254740991–9007199254740991 |
| next_cursorrequired | string or null | Pass as "cursor" to get the next page; null when there are no more results. |
Errors
Errors are application/problem+json. Branch on code.
| Status | Code | When |
|---|---|---|
| 400 | invalid_input | A field is missing or has the wrong format. |
| 401 | unauthenticated | The Authorization header is missing, the key is unknown, expired or revoked, or the request came from an address outside the key's IP allowlist (checked on every operation, before anything runs). |
| 403 | entitlement_required | The workspace's plan does not include API access ( |
| 403 | insufficient_scope | The key does not have the permission this operation needs. Checked before the body and headers: without the permission, this is the answer whatever was sent. |
| 429 | rate_limited | The key or workspace went over its rate limit, or a service behind the API asked to slow down. Wait for |
| 503 | upstream_unavailable | A service behind the API is briefly unavailable. Safe to retry with backoff. |
Examples
All custom fields
Response 200
{
"data": [
{
"id": "31",
"key": "order_count",
"label": "Orders",
"type": "number",
"options": null,
"allow_new_options": false,
"read_only": false,
"visibility": "visible_to_all",
"in_use": true,
"created_at": "2026-09-01T08:00:00Z"
},
{
"id": "32",
"key": "loyalty_tier",
"label": "Loyalty tier",
"type": "select",
"options": [
{
"label": "Gold",
"value": "gold"
},
{
"label": "Silver",
"value": "silver"
}
],
"allow_new_options": false,
"read_only": false,
"visibility": "visible_to_all",
"in_use": false,
"created_at": "2026-09-02T08:00:00Z"
}
],
"next_cursor": null,
"total": 2
}Operation path
The same operation is also at POST /v1/ops/crm_list_custom_fields, with every field in the JSON body.