Skip to content
Dashboard

List the answers of a knowledge base

GET
/knowledge-bases/{id}/answers
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.

id
required
string
limit
integer
default: 25 >= 1 <= 100
cursor
string

Opaque cursor from the previous page’s pagination.next_cursor.

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"
}
}