Create or Update a Custom APICopy Pagepost https://api.diffbot.com/v3/customCreate or update the parameters and ruleset of an existing Custom APIBody Paramsnotesarray of stringsAn array of strings that can be added manually. The API automatically adds a notes specifying when the API was last updated.notesADD stringxForwardHeadersobjectAllows you to pass in X-Forward headers by name, including X-Evaluate (aka. X-Forward-X-Evaluate; omit "X-Forward" in the header name)xForwardHeaders objectrulesarray of objectsAn object that defines a set of rules for a specific urlPattern-api combinationrulesADD objectapistringThe specific API being targeted. Always precede the API name with "/api/" as in "/api/article" except for "all")urlPatternstringA regex that defines the URLs for which the ruleset will be appliedtestUrlstringA URL that can be used to check that the rule still works as intended. This is the page that will load automatically when editing the ruleset in the Dashboard UIrenderOptionsstringRendering optionsprefiltersarray of stringsAn array of string selectors that should be omitted from the DOM before extraction occursprefiltersADD stringuseProxystringUsed to disable proxies (when they have been set globally), by applying the value "none"Response 200Successful API ResponseUpdated 6 months ago What’s NextCustom API RulesetsCustom API Selectors and FiltersCustom API Collections