Skip to main content
PUT
Update a FAQ entry

Overview

Modify an existing FAQ entry by providing its faqId. All supplied fields replace the current values for that entry. Retrieve faqId values from the List FAQs endpoint.

Required Permission

agents

Path Parameters

Request Body

Example cURL

Response

Success (200)

Error Responses

404 Not Found - Agent does not exist

Use Cases

  • Correcting an answer after reviewing conversation logs
  • Adding new question phrasings to improve match rate
  • Updating content when business information changes
Use List FAQs to retrieve the faqId values before updating.
Save the requestId from every response. You will need it if you contact Inya support to trace a specific request.

Authorizations

x-api-key
string
header
required

API key with 'agents' permission

Path Parameters

botId
string
required

Unique identifier of the agent

Body

application/json
botId
string
required
environment
enum<string>
required
Available options:
development,
staging,
production
faq
object
required

Response

FAQ updated successfully

status
string
Example:

"success"

requestId
string
Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

message
string
response
object