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.users.getMe();
console.log(result);
}
run();{
"user": {
"email": "jsmith@example.com",
"id": "user_01h2xcejqtf2nbrexx3vqjhp41",
"name": "<string>",
"family_name": "<string>",
"given_name": "<string>",
"profile_image_url": "<string>"
},
"organizations": [
{
"created_at": "2023-11-07T05:31:56Z",
"id": "org_01h2xcejqtf2nbrexx3vqjhp41",
"name": "Acme Corporation",
"logo_image_url": "<string>"
}
]
}Returns the authenticated user’s profile and organization memberships. Only available for user accounts (JWT auth), not API keys.
import { Factify } from "@factify/sdk";
const factify = new Factify({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await factify.users.getMe();
console.log(result);
}
run();{
"user": {
"email": "jsmith@example.com",
"id": "user_01h2xcejqtf2nbrexx3vqjhp41",
"name": "<string>",
"family_name": "<string>",
"given_name": "<string>",
"profile_image_url": "<string>"
},
"organizations": [
{
"created_at": "2023-11-07T05:31:56Z",
"id": "org_01h2xcejqtf2nbrexx3vqjhp41",
"name": "Acme Corporation",
"logo_image_url": "<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.