Yext Knowledge API icon

Yext Knowledge API

Interact with Yext Knowledge API

Actions176

Knowledge Manager → Create Custom Field

AI-generated

Summary

Create a new custom field in Yext Knowledge Manager by providing the field definition as a JSON body.

Inputs

  • Body (required) — The JSON string representing the custom field definition to create; parseable to a JSON object sent as the request body.
  • Request Options — Optional settings for request handling, including batching parameters (items per batch and batch interval), SSL certificate validation bypass, proxy configuration, and timeout duration in milliseconds.

Output shape

a single JSON object representing the created custom field

The output returns the API response with the details of the created custom field; batching and other request options affect the sending behavior but not output shape.

Examples

Example 1: Create a text custom field for location entity.

Set 'Body' to a JSON string defining the custom field schema, e.g., {"name":"customField1", "type":"TEXT", "label":"Custom Field 1"}, optionally configure 'Request Options' for batching or timeout.

Discussion