Skip to main content
Version: 2021-07-28

Get all FAQs by knowledge base with pagination support

GET 

/knowledge-bases/faqs

Retrieves Q&A entries for a knowledge base, with cursor or offset pagination and optional question search. WHEN TO USE: use this when you need to list existing FAQs; use create to add one; use update or delete to change or remove a single FAQ. RETURNS: the FAQ list, total count, lastFaqId for the next page, and whether more results exist.

Request

Version stringrequired

API Version

Available options2021-07-28
knowledgeBaseId stringrequired

knowledge base ID as string

locationId stringrequired

location ID as string

limit number

Limit the number of FAQs returned

Default value:10
lastFaqId string

Last FAQ ID for pagination (cursor-based)

offset number

Number of FAQs to skip (offset-based pagination)

Default value:0
search string

Search query to filter FAQs by question (case-insensitive contains match)

application/json

FAQs retrieved successfully

Schema
    countnumberrequired

    Total count of all FAQs in the knowledge base

    faqsobject[]required

    Array of FAQ objects

    lastFaqIdstring

    Last FAQ ID for pagination (use as lastFaqId in next request)

    hasMoreboolean

    Whether there are more FAQs available