Skip to content

Create Field

POST
/fields

Create a new custom field (column) for contacts or companies.

Set list_id to make the field specific to a single list, or omit it to create a global field available across every list in the org.

Optionally pass an enrichment block to provision a companion waterfall pipeline in the same request. Without this block the column exists but has no enrichment plan, so POST /enrichment/waterfall/enrich later returns 422 (waterfall_config_missing).

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Request body for creating a custom field (column).

object
data_type

Column data type. Currently only ‘text’ is supported; additional types (numeric, date, boolean, select) may be added in future versions.

string
default: text
enrichment
Any of:

Optional enrichment-pipeline block attached at column-create time.

When supplied, POST /fields creates a companion enrichment_configs row in the same request so the new column is immediately runnable via POST /enrichment/waterfall/enrich. Without this block the column exists but has no enrichment plan — calling /waterfall/enrich on it returns 422 (waterfall_config_missing).

Currently only type='waterfall' is supported; AI / formula enrichment will follow once the rest of the agent surface lands.

object
email_verification
Any of:

Email verification config attached to a waterfall pipeline.

Mirrors the canonical EmailVerificationConfigDto in enrichment/interfaces/fastapi/waterfall_dtos.py so the dev-API and the UI persist an identical settings shape (the CF worker reads settings. email_verification.* regardless of which surface saved the pipeline).

object
accept_catchall

Treat catch-all responses as valid (domains that accept any address).

boolean
enabled

Enable post-enrichment email verification

boolean
default: true
provider

Verification provider. Charges credits when use_system_credentials=True.

string
default: zerobounce
Allowed values: zerobounce hunter icypeas leadmagic
use_system_credentials

Use graph8-managed API keys (charges credits). False = use org’s BYOK keys.

boolean
default: true
valid_statuses

Verification statuses to accept as valid. Typical: [‘valid’] or [‘valid’,‘catch-all’].

Array<string>
field_to_enrich
Any of:
string
name
Any of:
string
providers
Any of:
Array<string>
skip_existing_values

If true, skip rows where the target field is already populated.

boolean
default: true
steps
Any of:
Array<object>

Single step in a caller-supplied waterfall sequence.

Mirrors WaterfallStepDto in enrichment/interfaces/fastapi/waterfall_dtos.py. Persisted verbatim into enrichment_configs.config.steps[] so the CF worker can resolve provider, action and credentials the same way UI-saved pipelines do.

object
action
required

Provider action: lookup_person, find_email, enrich_person, …

string
action_display_name
Any of:
string
confidence_threshold
number
<= 1
config

Provider-specific options (e.g. apollo reveal_phone_numbers=true).

object
key
additional properties
any
enabled
boolean
default: true
id
Any of:
string
input_mapping

Maps provider input names to graph8 column identifiers (CONTACT_*).

object
key
additional properties
string
is_system_provider

True = use graph8-managed credentials + charge credits. False = use org BYOK.

boolean
max_retries
integer
<= 3
order

0-indexed execution order.

integer
output_field
Any of:
string
output_mapping

Optional output field remap (deprecated — prefer output_field).

object
key
additional properties
string
provider
required

Provider name: graph8, hunter, prospeo, dropcontact, apollo, …

string
stop_on_success
boolean
default: true
target_field
Any of:
string
type

Pipeline kind. Only ‘waterfall’ is supported today.

string
default: waterfall
entity

Target entity: ‘contacts’ or ‘companies’

string
default: contacts
list_id
Any of:
integer
title
required

Column title, e.g. ‘Job Level’

string

Responses

201

Successful Response

object
data
required
object
data_type
required
string
enrichment
Any of:

Echo of the companion enrichment config created by enrichment block.

object
column_id
required

Column_id slug to pass to /enrichment/waterfall/enrich

string
config_id
required
string
email_verification
Any of:
object
key
additional properties
any
name
required
string
providers
Array<string>
type
required
string
id
required
integer
is_global
required
boolean
list_id
Any of:
integer
name
required
string
title
required
string
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string