Sanjay
01/03/2026, 9:54 PMShehroze -Support @Retell
01/03/2026, 10:03 PMSanjay
01/04/2026, 12:55 PMSanjay
01/05/2026, 5:21 PMShehroze -Support @Retell
01/05/2026, 5:22 PMSanjay
01/05/2026, 5:23 PMSanjay
01/07/2026, 6:29 PMColin - Integrations @ Retell AI
01/07/2026, 8:46 PMconst formData = new FormData();
// Add text source
formData.append("knowledge_base_texts[0][title]", "Test");
formData.append(
"knowledge_base_texts[0][text]",
"This is a test knowledge base entry."
);
const response = await fetch(
"https://api.retellai.com/add-knowledge-base-sources/knowledge_base_4d79371e24dfd149",
{
method: "POST",
headers: {
Authorization: "Bearer YOUR_RETELL_API_KEY",
// ⚠️ DO NOT set Content-Type
},
body: formData,
}
);
const data = await response.json();
console.log(data);Colin - Integrations @ Retell AI
01/07/2026, 8:47 PMSanjay
01/09/2026, 5:38 PMSanjay
01/09/2026, 7:46 PMSanjay
01/11/2026, 6:06 PMSanjay
01/11/2026, 6:06 PMKogu
01/13/2026, 1:28 PMOmar Ashraf | Community Lead
01/13/2026, 1:41 PMKogu
01/13/2026, 1:44 PMOmar Ashraf | Community Lead
01/13/2026, 1:45 PMKogu
01/13/2026, 1:47 PMOmar Ashraf | Community Lead
01/13/2026, 1:48 PMKogu
01/13/2026, 1:48 PMSanjay
01/13/2026, 3:19 PMOmar Ashraf | Community Lead
01/14/2026, 2:15 PMBearer ${token}
},
body: formData
});
const result = await response.json();
console.log("Success:", JSON.stringify(result, null, 2));
} catch (error) {
console.error("Error:", error);
}
}
createKB();`Sanjay
01/22/2026, 3:36 PMSanjay
01/23/2026, 10:01 PMOmar Ashraf | Community Lead
01/23/2026, 10:18 PMOmar Ashraf | Community Lead
01/23/2026, 10:19 PMSanjay
01/23/2026, 10:19 PMSanjay
01/23/2026, 10:20 PMOmar Ashraf | Community Lead
01/23/2026, 10:20 PMOmar Ashraf | Community Lead
01/23/2026, 10:21 PMOmar Ashraf | Community Lead
01/23/2026, 10:21 PMKogu
01/26/2026, 12:57 PMDavid Adedoyin chapell
01/26/2026, 1:06 PMKogu
01/26/2026, 1:35 PMDavid Adedoyin chapell
01/26/2026, 1:37 PMKogu
01/26/2026, 1:43 PMenable_auto_refresh element when create a KB?