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

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.Field Definition Properties
| Property | Required | Description |
|---|---|---|
name | Yes | Display name shown in the UI |
key | Yes | Unique identifier used in API calls |
type | Yes | Data type (see Field Types below) |
required | No | Whether the field must have a value |
description | No | Help text explaining the field’s purpose |
options | No | For SELECT type, the available choices |
Field Types
Text Fields
For free-form text input:Number Fields
For numeric values:Date Fields
For date values:Select Fields
For predefined choices:
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
Updating a Custom Field Definition
Deleting a Custom Field Definition
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
Plan your field structure
Plan your field structure
Before creating custom fields, plan what data you need to track. Consider how fields will be used for filtering, reporting, and integration.
Use consistent naming conventions
Use consistent naming conventions
Use clear, descriptive names and consistent key formats. For example, use snake_case for keys:
project_code, cost_center.Choose appropriate field types
Choose appropriate field types
Use the right field type for your data: TEXT for free-form input, SELECT for controlled vocabularies, NUMBER for numeric values, DATE for dates.
Add helpful descriptions
Add helpful descriptions
Include descriptions that explain the field’s purpose and expected format. This helps users enter correct values.
Mark essential fields as required
Mark essential fields as required
For fields that are critical to your workflow, set
required: true. This ensures documents always have the necessary metadata.Keep SELECT options manageable
Keep SELECT options manageable
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

