Knowledge
List the answers of a knowledge base
GET
/knowledge-bases/{id}/answers
const url = 'https://app.whatsetter.com/api/v1/knowledge-bases/example/answers?limit=25';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://app.whatsetter.com/api/v1/knowledge-bases/example/answers?limit=25' \ --header 'Authorization: Bearer <token>'The question/answer pairs of the base (Your answers in the
dashboard), newest first. A pair is the most precise thing an agent
can know: when a lead asks the question, the agent is handed the
answer. Requires scope knowledge:read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Query Parameters
Section titled “Query Parameters”limit
integer
cursor
string
Opaque cursor from the previous page’s pagination.next_cursor.
Responses
Section titled “Responses”A page of answers
Media typeapplication/json
object
data
Array<object>
object
id
string
question
string
answer
string
created_at
string | null format: date-time
updated_at
string | null format: date-time
pagination
object
has_more
boolean
next_cursor
string | null
Example
{ "data": [ { "id": "68e3a90f0026d1e4b7a2", "question": "How much is the trial session?", "answer": "The trial session is free, with no commitment.", "created_at": "2026-10-06T11:40:31.000+00:00", "updated_at": "2026-10-08T14:20:05.000+00:00" } ], "pagination": { "has_more": false, "next_cursor": "68e3a90f0026d1e4b7a2" }}Missing, unknown or revoked API key
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}The key lacks the required scope (insufficient_scope), the plan does not have this part of the API (not_in_plan), or Instagram is not enabled on the workspace (instagram_not_enabled, Instagram routes)
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}Resource not found in this workspace
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}Invalid parameter or body (also an invalid or expired cursor)
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}