Search Custom Fields
Retrieve all custom fields associated with your account.
Query Parameters
- Type: stringpagemin length:1
page offset to display a range of records from
- Type: stringper
_page min length:1maximum number of records to return in the search
- Type: booleanactive
Set to
trueto return only active (non-archived) custom fields. Omit to return both active and archived records. - enumobject
_ref const:campaignRestrict results to definitions for a single object type. Omit to return every object type. Responds
422for any other value. - Type: stringsearch
_text Narrows results to custom fields whose key or label match every search term. Terms are space separated; wrap a phrase in quotes to match it as a single term.
Headers
- Type: stringContent
- Type application/json
Responses
- application/json
- application/json
- application/json
Request Example for get/custom_fields
curl 'https://api-staging.sparkfly.com/v1.0/custom_fields?page=1&per_page=5000' \
--header 'Content-Type: application/json' \
--header 'X-Auth-Token: YOUR_SECRET_TOKEN'
{
"page": 1,
"per_page": 1,
"total_entries": 1,
"total_pages": 1,
"custom_fields": [
{
"id": 1,
"key": "string",
"label": "string",
"object_ref": "string",
"active": true,
"created_at": "2026-11-12T04:01:00.918Z",
"updated_at": "2026-11-12T04:01:00.918Z"
}
]
}