Qnas
Get a Q&A
Retrieve a single Q&A entry by ID within the specified project. Returns author info when available.
Path Parameters
projectIdstring
The project ID that owns the Q&A
Format
uuid
qnaIdstring
The Q&A identifier
Format
uuid
Response Body
curl -X GET "https://api.siteassist.io/v2/projects/123e4567-e89b-12d3-a456-426614174000/qnas/e2c6b2ad-9b1f-4f3c-8f5a-9f2a7b1c2d3e"
{
"object": "qna",
"id": "e2c6b2ad-9b1f-4f3c-8f5a-9f2a7b1c2d3e",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z",
"question": "How do I reset my password?",
"answer": "Click on 'Forgot password' at login and follow instructions.",
"createdBy": {
"name": "Taylor",
"image": null
}
}
Empty
Empty
Empty
Empty
Empty
Get current project GET
Return the current project identified by the provided publishable API key. Useful for initializing client SDKs with project configuration like chat widget settings.
List Q&As GET
Retrieve a paginated list of Q&A entries for a project. Supports full-text search using websearch_to_tsquery, along with pagination controls.