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.sharing.grant({
documentId: "doc_01h2xcejqtf2nbrexx3vqjhp41",
body: {},
});
console.log(result);
}
run();{
"document_id": "<string>",
"failed": 123,
"results": [
{
"error": "<string>",
"recipient": "<string>",
"success": true
}
],
"successful": 123,
"total": 123
}Grant access to one or more recipients.
import { Factify } from "@factify/sdk";
const factify = new Factify({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await factify.sharing.grant({
documentId: "doc_01h2xcejqtf2nbrexx3vqjhp41",
body: {},
});
console.log(result);
}
run();{
"document_id": "<string>",
"failed": 123,
"results": [
{
"error": "<string>",
"recipient": "<string>",
"success": true
}
],
"successful": 123,
"total": 123
}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"
GrantDocumentAccessRequest grants access to one or more recipients.
Success
GrantDocumentAccessResponse contains the results of granting access.