Search Custom Fields

​

Retrieve all custom fields associated with your account.

Query Parameters

  • page offset to display a range of records from

  • maximum number of records to return in the search

  • Set to true to return only active (non-archived) custom fields. Omit to return both active and archived records.

  • Restrict results to definitions for a single object type. Omit to return every object type. Responds 422 for any other value.

  • 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

  • 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"
    }
  ]
}