# Agent Knowledge - FAQs

Manage FAQ entries in the AI agent knowledge base for a specific entity.

This endpoint provides CRUD operations for managing FAQ entries in the AI agent knowledge base for a specific entity. FAQs are question-answer pairs that the agent references when responding to customer queries. Each FAQ entry has a `question`, an `answer`, and optional key-value `metadata`. Responses also carry the entry's `id` and its creation timestamp. For best results, keep FAQs focused and concise. Each entry should address a single, specific question. Adding too many FAQs (generally beyond a few hundred) can degrade the agent's ability to find the right answer. Prioritize the questions your customers ask most frequently and keep answers factual and direct. Each operation is rate limited separately for each app and `entity_id` pair, to 1,000 requests per hour. Once a limit is exhausted, further requests return `429` until the limit resets.

## Base URL

| URL | Description |
|-----|-------------|
| https://api.facebook.com/{entity_id}/agent_config/faq |  |

## Authorization

This API requires:

any of the following
  - Capability: bizai_wa_enterprise_api_3p_access
  - Capability: bizai_ig_enterprise_api_3p_access
  - Permission: whatsapp_business_messaging

## APIs

| Method | Endpoint |
|--------|----------|
| DELETE | [/{faq_id}](#delete-faq-id) |
| GET | [/](#get) |
| GET | [/{faq_id}](#get-faq-id) |
| POST | [/](#post) |
| PUT | [/{faq_id}](#put-faq-id) |

<jumplink id="delete-faq-id"></jumplink>
## DELETE /{faq_id}

Delete an FAQ

Delete an FAQ entry by its ID. The agent stops answering from it. Other knowledge sources for the entity are unaffected. A 404 with the title `FAQ not found` means no entry with this ID exists for this entity, for example because it was already deleted.


### Header Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| X-API-Version | "2.0.0" |  |  |

### Path Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| entity_id | string | ✓ | The WhatsApp Business Phone Number ID, Instagram business account ID, or Instagram username for the Meta Business Agent. |
| faq_id | string | ✓ | The identifier of the FAQ entry, as returned in the `id` field when the entry was created, last updated, or listed. Pass that value through unchanged. |

### Responses

**204**

FAQ entry successfully deleted

**400**

Bad request

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**404**

Not found

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**401**

Unauthorized

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**403**

Forbidden

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**429**

Too many requests

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**500**

Server error

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)


<jumplink id="get"></jumplink>
## GET /

List FAQs

Retrieve every FAQ entry configured for the specified entity.


### Header Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| X-API-Version | "2.0.0" |  |  |

### Path Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| entity_id | string | ✓ | The WhatsApp Business Phone Number ID, Instagram business account ID, or Instagram username for the Meta Business Agent. |

### Responses

**200**

A list of all FAQ entries

**Content Type**: `application/json`

**Schema**: array of [BizAIOmniChannelKnowledgeFAQResponse](#bizaiomnichannelknowledgefaqresponse)

**400**

Bad request

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**404**

Not found

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**401**

Unauthorized

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**403**

Forbidden

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**429**

Too many requests

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**500**

Server error

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)


<jumplink id="get-faq-id"></jumplink>
## GET /{faq_id}

Get an FAQ

Retrieve a single FAQ entry by its ID, including its question, its answer, and any metadata stored with it.


### Header Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| X-API-Version | "2.0.0" |  |  |

### Path Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| entity_id | string | ✓ | The WhatsApp Business Phone Number ID, Instagram business account ID, or Instagram username for the Meta Business Agent. |
| faq_id | string | ✓ | The identifier of the FAQ entry, as returned in the `id` field when the entry was created, last updated, or listed. Pass that value through unchanged. |

### Responses

**200**

The requested FAQ entry

**Content Type**: `application/json`

**Schema**: [BizAIOmniChannelKnowledgeFAQResponse](#bizaiomnichannelknowledgefaqresponse)

**400**

Bad request

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**404**

Not found

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**401**

Unauthorized

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**403**

Forbidden

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**429**

Too many requests

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**500**

Server error

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)


<jumplink id="post"></jumplink>
## POST /

Create an FAQ

Create an FAQ entry: a question-and-answer pair the agent can use to answer a specific customer question. FAQs are the most direct way to control how the agent answers a known question. The agent retrieves each entry independently and answers from it, rather than inferring an answer from your other knowledge sources.

### Header Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| X-API-Version | "2.0.0" |  |  |

### Path Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| entity_id | string | ✓ | The WhatsApp Business Phone Number ID, Instagram business account ID, or Instagram username for the Meta Business Agent. |

### Request Body (Required)

**Content Type**: `application/json`

**Schema**: [BizAIOmniChannelKnowledgeFAQRequest](#bizaiomnichannelknowledgefaqrequest)

### Responses

**201**

The newly created FAQ entry

**Content Type**: `application/json`

**Schema**: [BizAIOmniChannelKnowledgeFAQResponse](#bizaiomnichannelknowledgefaqresponse)

**400**

Bad request

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**404**

Not found

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**409**

Conflict

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**401**

Unauthorized

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**403**

Forbidden

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**429**

Too many requests

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**500**

Server error

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)


<jumplink id="put-faq-id"></jumplink>
## PUT /{faq_id}

Update an FAQ

Update an FAQ entry by its ID. Rewording the `question` changes which customer messages the entry is matched against; rewording the `answer` changes what the agent replies. For a WhatsApp Business phone number, an update can give the entry a new ID, so use the `id` in the response for later calls.


### Header Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| X-API-Version | "2.0.0" |  |  |

### Path Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| entity_id | string | ✓ | The WhatsApp Business Phone Number ID, Instagram business account ID, or Instagram username for the Meta Business Agent. |
| faq_id | string | ✓ | The identifier of the FAQ entry, as returned in the `id` field when the entry was created, last updated, or listed. Pass that value through unchanged. |

### Request Body (Required)

**Content Type**: `application/json`

**Schema**: [BizAIOmniChannelKnowledgeFAQRequest](#bizaiomnichannelknowledgefaqrequest)

### Responses

**200**

The updated FAQ entry

**Content Type**: `application/json`

**Schema**: [BizAIOmniChannelKnowledgeFAQResponse](#bizaiomnichannelknowledgefaqresponse)

**400**

Bad request

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**404**

Not found

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**401**

Unauthorized

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**403**

Forbidden

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**429**

Too many requests

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)

**500**

Server error

**Content Type**: `application/json`

**Schema**: [StandardError](#standarderror)


# Components

## Schemas

<jumplink id="bizaiomnichannelknowledgefaqrequest"></jumplink>
### BizAIOmniChannelKnowledgeFAQRequest

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| question | string | ✓ | The FAQ question text. Write it as a natural question a customer would ask. Each FAQ should address a single, specific topic. For example, use "What is your return policy?" rather than "Returns, exchanges, and refunds" — the agent matches questions more accurately when they mirror how customers phrase them. |
| answer | string | ✓ | The FAQ answer text. Keep answers factual, concise, and self-contained. Include all the information needed to fully answer the question without requiring the customer to ask follow-ups. Avoid referencing other FAQ entries — the agent retrieves each entry independently. |
| metadata | [Metadata](#object-metadata-1) |  | Key-value metadata associated with this FAQ entry |

<jumplink id="bizaiomnichannelknowledgefaqresponse"></jumplink>
### BizAIOmniChannelKnowledgeFAQResponse

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| id | string | ✓ | The unique identifier for this FAQ entry. Pass this value unchanged as the `faq_id` path parameter to read, update, or delete the entry. For a WhatsApp Business phone number, an update can change it: after an update, use the `id` the update returned. |
| question | string | ✓ | The FAQ question text |
| answer | string | ✓ | The FAQ answer text |
| created_at | integer |  | The timestamp when the FAQ was created. An update that gives the entry a new `id` sets it to the time of that update. |
| metadata | [Metadata](#object-metadata-1) |  | Key-value metadata associated with this FAQ entry |

<jumplink id="standarderror"></jumplink>
### StandardError

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| detail | string | ✓ |  |
| status | integer |  |  |
| title | string | ✓ |  |
| type | string |  |  |

## Inline Object Definitions

<jumplink id="object-metadata-1"></jumplink>
### Metadata

Key-value metadata associated with this FAQ entry


**Additional Properties**: string

## Authentication

| Method | How to send it |
|--------|----------------|
| Authorization header | `Authorization: Bearer {access-token}` |

### Global Authentication Requirements

All endpoints require: `Authorization: Bearer {access-token}`