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.accessRequests.list({
documentId: "doc_01h2xcejqtf2nbrexx3vqjhp41",
});
console.log(result);
}
run();{
"has_more": true,
"items": [
{
"created_at": "2023-11-07T05:31:56Z",
"document_id": "doc_01h2xcejqtf2nbrexx3vqjhp41",
"id": "acr_01h2xcejqtf2nbrexx3vqjhp41",
"permission": "view",
"request_status": "pending",
"subject": {
"id": "user_01h2xcejqtf2nbrexx3vqjhp41",
"name": "<string>",
"type": "user"
},
"updated_at": "2023-11-07T05:31:56Z",
"message": "Need access for quarterly review",
"subject_email": "dwight@dundermifflin.com"
}
]
}Lists pending access requests for the specified document.
import { Factify } from "@factify/sdk";
const factify = new Factify({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await factify.accessRequests.list({
documentId: "doc_01h2xcejqtf2nbrexx3vqjhp41",
});
console.log(result);
}
run();{
"has_more": true,
"items": [
{
"created_at": "2023-11-07T05:31:56Z",
"document_id": "doc_01h2xcejqtf2nbrexx3vqjhp41",
"id": "acr_01h2xcejqtf2nbrexx3vqjhp41",
"permission": "view",
"request_status": "pending",
"subject": {
"id": "user_01h2xcejqtf2nbrexx3vqjhp41",
"name": "<string>",
"type": "user"
},
"updated_at": "2023-11-07T05:31:56Z",
"message": "Need access for quarterly review",
"subject_email": "dwight@dundermifflin.com"
}
]
}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
Document ID.
^doc_[0-9a-hjkmnp-tv-z]{26}$"doc_01h2xcejqtf2nbrexx3vqjhp41"