Home > @yext/search-core > SearchCore > submitQuestion
Submits a custom question to the Search API.
Signature:
submitQuestion(request: QuestionSubmissionRequest): Promise<QuestionSubmissionResponse>;
Parameter |
Type |
Description |
---|---|---|
request |
Question submission request options |
Promise<QuestionSubmissionResponse>
If rejected, the reason will be an SearchError.