Skip to main content
Node.js

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

context_id
string
required

The context ID of the FAQ to update

Example:

"ai-context-aaauajhjdgjnomr"

Body

application/json
question
string

The updated question

Example:

"How do I connect my WhatsApp account?"

answer
string

The updated answer

Example:

"You can connect your WhatsApp account by scanning the QR code in the Settings page."

embedding
number[]

Optional array of embedding values

Example:

Response

200 OK

success
boolean
message
string
faq
object

The updated FAQ object