Create Custom Field
create_custom_fieldCreate a custom field in Paperless to store metadata such as text, numbers, dates, or select options. Specify name and data type; include extra_data for select choices or default currency.
Instructions
Create a new custom field.
extra_data depends on data_type:
string,longtext,integer,boolean,float,date,url,documentlink— unused; omit or passnull.monetary— optional{"default_currency": "USD"}(ISO-4217).select—extra_datarequired:{"select_options": [{"label": "Low"}, {"label": "Medium"}]}. Paperless assigns each option a stableidon creation.
Unknown shapes are rejected by Paperless with a 400.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| data_type | Yes | ||
| extra_data | No |