Factify API is currently in Beta.
import { Factify } from "@factify/sdk";
const factify = new Factify({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await factify.timelines.get({
documentId: "doc_01h2xcejqtf2nbrexx3vqjhp41",
});
console.log(result);
}
run();{
"events": [
{
"event_id": "550e8400-e29b-41d4-a716-446655440000",
"event_type": "comment_created",
"occurred_at": "2023-11-07T05:31:56Z",
"payload": {}
}
],
"has_more": true,
"next_cursor": "<string>"
}Retrieves timeline events for a document. Admins see all events; viewers see only their own.
import { Factify } from "@factify/sdk";
const factify = new Factify({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await factify.timelines.get({
documentId: "doc_01h2xcejqtf2nbrexx3vqjhp41",
});
console.log(result);
}
run();{
"events": [
{
"event_id": "550e8400-e29b-41d4-a716-446655440000",
"event_type": "comment_created",
"occurred_at": "2023-11-07T05:31:56Z",
"payload": {}
}
],
"has_more": true,
"next_cursor": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://developers.factify.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer , where is your auth token.
^doc_[0-9a-hjkmnp-tv-z]{26}$"doc_01h2xcejqtf2nbrexx3vqjhp41"