Custom Fields
Get Directory Custom Fields
Retrieve all custom fields for a specific directory.directory_id(integer, required): The ID of the directory
Get Single Custom Field
Retrieve a specific custom field by ID.directory_id(integer, required): The ID of the directorycustom_field_id(integer, required): The ID of the custom field
Create Custom Field
Create a new custom field definition in the directory.directory_id(integer, required): The ID of the directory
After creating a field, set its value on a listing by passing the field’s
name as a flat key in the listing’s create/update body — e.g. { "name": "My Tool", "price_range": "$$" }. See Listings → Create Listing.Update Custom Field
Update an existing custom field definition. Only include the fields you want to change.Delete Custom Field
Delete a custom field definition. This also removes the field’s stored values from all listings.Custom Field Types
The API supports various custom field types:text- Simple text inputnumber- Numeric inputdate- Date pickerfile_upload- File upload fieldurl- URL input with validationemail- Email input with validationrich_editor- Rich text editormarkdown- Markdown editortextarea- Multi-line text areacheckbox- Boolean togglerating- Rating input (0-5)select- Dropdown with predefined optionslist- Repeatable list of valuesmulti_select- Multiple-choice select (stored comma-separated)button- Button/CTA fieldjavascript- Custom JavaScripthtml- Custom HTML
