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.organizations.members.list({
organizationId: "<id>",
});
for await (const page of result) {
console.log(page);
}
}
run();{
"pagination": {
"has_more": true,
"next_page_token": "eyJpZCI6ImRvY18wMWgyeGNlanF0ZjJuYnJleHgzdnFqaHA0MSIsImQiOiJuZXh0In0",
"prev_page_token": "eyJpZCI6ImRvY18wMWgyeGNlanF0ZjJuYnJleHgzdnFqaHA0MSIsImQiOiJwcmV2In0"
},
"items": [
{
"joined_at": "2023-11-07T05:31:56Z",
"role": "owner",
"user": {
"email": "jsmith@example.com",
"id": "user_01h2xcejqtf2nbrexx3vqjhp41",
"name": "<string>",
"family_name": "<string>",
"given_name": "<string>",
"profile_image_url": "<string>"
}
}
]
}List members of an organization. Requires organization membership.
import { Factify } from "@factify/sdk";
const factify = new Factify({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await factify.organizations.members.list({
organizationId: "<id>",
});
for await (const page of result) {
console.log(page);
}
}
run();{
"pagination": {
"has_more": true,
"next_page_token": "eyJpZCI6ImRvY18wMWgyeGNlanF0ZjJuYnJleHgzdnFqaHA0MSIsImQiOiJuZXh0In0",
"prev_page_token": "eyJpZCI6ImRvY18wMWgyeGNlanF0ZjJuYnJleHgzdnFqaHA0MSIsImQiOiJwcmV2In0"
},
"items": [
{
"joined_at": "2023-11-07T05:31:56Z",
"role": "owner",
"user": {
"email": "jsmith@example.com",
"id": "user_01h2xcejqtf2nbrexx3vqjhp41",
"name": "<string>",
"family_name": "<string>",
"given_name": "<string>",
"profile_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.
Organization to list members for. Pattern: org_[0-9a-hjkmnp-tv-z]{26}
^org_[0-9a-hjkmnp-tv-z]{26}$Opaque pagination token from a previous response.
Maximum number of items to return per page (1-100). Default: 50.
1 <= x <= 100