cURL
Category & FAQ
Get FAQs
Retrieve FAQs based on a query
POST
cURL
Retrieves frequently asked questions (FAQs) based on a query. This endpoint searches for relevant FAQ items that match the provided query text and returns them sorted by relevance.
Request
The request requires:query: The text to search for relevant FAQs
category: Filter FAQs by a specific categorylimit: Maximum number of FAQ items to return (default: 5)
Response
The response includes:status: Operation statusitems: Array of FAQ items, each containing:question: The frequently asked questionanswer: The answer to the questioncategory: Category of the FAQ itemrelevance_score: A score indicating how relevant this FAQ is to the query
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Query to search for relevant FAQs