Faqs
Create FAQ
Create a new FAQ entry. The FAQ will be associated with the organization of the API key.
Authorization
bearerAuth AuthorizationBearer <token>
Bearer token authentication for API access.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://api.sophiie.ai/v1/faqs" \ -H "Content-Type: application/json" \ -d '{ "question": "What is the question of the FAQ?", "answer": "This is the answer of the FAQ" }'{
"faq": {
"id": 123,
"question": "What is the question of the FAQ?",
"answer": "This is the answer of the FAQ",
"isActive": true
}
}{
"success": false,
"message": "Invalid or expired token",
"error": {
"status": 401,
"message": "Invalid or expired token"
}
}{
"success": false,
"message": "Internal server error",
"error": {
"status": 500,
"message": "Internal server error"
}
}List Company Notes GET
Retrieve a paginated list of notes for a specific company. Returns note data including content, creation timestamps, and associated user information. Results are filtered by the organization associated with the API key.
Delete FAQ DELETE
Delete an existing FAQ entry. Only FAQs belonging to the organization associated with the API key can be deleted. This performs a soft delete.