Skip to main content
GET
/
api
/
company
/
kb
/
documents
/
{documentId}
Get a knowledge base document
curl --request GET \
  --url https://app.demand-iq.com/api/company/kb/documents/{documentId} \
  --cookie session=
{
  "document": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "tenantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "filename": "<string>",
    "contentType": "<string>",
    "sizeBytes": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "displayName": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

session
string
cookie
required

Session cookie obtained from POST /api/auth/login.

Path Parameters

documentId
string<uuid>
required

Response

Document details

document
object