Documentation Index Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt
Use this file to discover all available pages before exploring further.
PUT https://services.leadconnectorhq.com/knowledge-bases/faqs/{id}
Autorizacion
Bearer token generado desde el portal Leadway. Ver Autenticacion .
Version
string
default: "2021-07-28"
required
Version de la API.
Path parameters
id
string
default: "710KoEzy793Fxubft0bc"
required
faq ID as string
Body
question
string
default: "What is the capital of France?"
required
faq question as a string
answer
string
default: "The capital of France is Paris."
required
faq answer as a string
Respuestas
200 - FAQ updated successfully
success
boolean
default: "True"
required
Success status of the update operation
message
string
default: "Bad Request"
{
"statusCode" : 400 ,
"message" : "Bad Request"
}
message
string
default: "Invalid token: access token is invalid"
error
string
default: "Unauthorized"
{
"statusCode" : 401 ,
"message" : "Invalid token: access token is invalid" ,
"error" : "Unauthorized"
}
422 - Unprocessable Entity
error
string
default: "Unprocessable Entity"
{
"statusCode" : 422 ,
"message" : [
"Unprocessable Entity"
],
"error" : "Unprocessable Entity"
}
500 - Internal Server Error
message
string
default: "Internal Server Error"
{
"statusCode" : 500 ,
"message" : "Internal Server Error"
}
Ejemplo
curl -X PUT 'https://services.leadconnectorhq.com/knowledge-bases/faqs/YOUR_id' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Version: 2021-07-28' \
-H 'Content-Type: application/json' \
-d '{
"question": "What is the capital of France?",
"answer": "The capital of France is Paris."
}'