Skip to main content

Custom Fields

Custom fields allow you to attach structured metadata to documents beyond the standard fields. Define your own fields to track project codes, departments, cost centers, or any other information relevant to your workflow.

Why Use Custom Fields?

Custom fields provide a way to:
  • Add structured data that your business needs to track
  • Enable filtering and reporting by custom criteria
  • Integrate with external systems using consistent data formats
  • Enforce data standards with validation rules
Custom fields configuration screen showing different field types

Creating Custom Field Definitions

Before adding custom field values to documents, you must create field definitions that specify the field name, type, and validation rules.
Response:

Field Definition Properties

Field Types

Text Fields

For free-form text input:

Number Fields

For numeric values:

Date Fields

For date values:

Select Fields

For predefined choices:
Document detail view showing custom field values

Setting Custom Field Values on Documents

When Creating a Document

Include custom field values in the document creation request:

Using Field Keys

You can also reference custom fields by their key:

Updating Custom Field Values

Update custom field values on an existing document:

Querying Documents by Custom Fields

Filter documents based on custom field values:

Managing Custom Field Definitions

Listing All Custom Fields

Response:

Updating a Custom Field Definition

Deleting a Custom Field Definition

Deleting a custom field definition removes all values associated with that field from all documents. This action cannot be undone.

Common Use Cases

Project Tracking

Track documents by project for easy reporting:

Department Assignment

Assign documents to departments:

Cost Center Tracking

Track documents for financial allocation:

Contract Value

Record monetary values for contracts:

Renewal Date

Track contract renewal dates:

Best Practices

Before creating custom fields, plan what data you need to track. Consider how fields will be used for filtering, reporting, and integration.
Use clear, descriptive names and consistent key formats. For example, use snake_case for keys: project_code, cost_center.
Use the right field type for your data: TEXT for free-form input, SELECT for controlled vocabularies, NUMBER for numeric values, DATE for dates.
Include descriptions that explain the field’s purpose and expected format. This helps users enter correct values.
For fields that are critical to your workflow, set required: true. This ensures documents always have the necessary metadata.
For SELECT fields, limit options to a reasonable number. If you have too many options, consider using a TEXT field instead.

Next Steps

Organizing with Tags

Categorize documents with tags

Creating Documents

Add custom fields when creating documents

Custom Fields API

Explore the full Custom Fields API reference

Webhooks

Receive notifications with custom field data