Custom Fields
Get Directory Custom Fields
Retrieve all custom fields for a specific directory.directory_id(integer, required): The ID of the directorylocale(string, optional): A language code of the directory (e.g.es). Returns text fields in that language. See Languages & Translations
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 fieldlocale(string, optional): A language code of the directory (e.g.es). Returns text fields in that language. See Languages & Translations
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.Translations: On multilingual directories, add a
translations object keyed by language code, e.g. "translations": {"es": {"label": "…"}}. Send null for a field to remove its translation. See Languages & Translations.Update Custom Field
Update an existing custom field definition. Only include the fields you want to change.Translations: On multilingual directories, add a
translations object keyed by language code, e.g. "translations": {"es": {"label": "…"}}. Send null for a field to remove its translation. See Languages & Translations.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
