Yext Knowledge API icon

Yext Knowledge API

Interact with Yext Knowledge API

Actions176

Listings → Create Answer

AI-generated

Summary

Create a new answer to a specified question in a Yext Knowledge account's listings.

Inputs

  • Account Id (required) — The identifier of the Yext account where the answer will be created.
  • Question Id (required) — The numeric ID of the question to which this answer will be added.
  • V (required) — The version date in YYYYMMDD format, used for API versioning.
  • Content — The text content of the answer to be created.
  • Request Options — Additional HTTP request options such as batching, SSL certificate validation, proxy, and timeout settings.

Output shape

a single record containing the details of the created answer as returned from the Yext API

The output includes the JSON response from the Yext Knowledge API detailing the new answer. Batching and request options affect how requests are sent but do not alter the response shape.

Examples

Example 1: Create an answer text for a given question in a Yext account

Specify Account Id, Question Id, V (API version), and Content text to create a new answer attached to that question.

Discussion