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.invites.resend({
organizationId: "<id>",
inviteId: "<id>",
body: {},
});
console.log(result);
}
run();{
"invite": {
"created_at": "2023-11-07T05:31:56Z",
"email": "dwight@dundermifflin.com",
"expires_at": "2023-11-07T05:31:56Z",
"id": "inv_01h2xcejqtf2nbrexx3vqjhp41",
"organization_id": "org_01h2xcejqtf2nbrexx3vqjhp41",
"sender": {
"email": "jsmith@example.com",
"id": "user_01h2xcejqtf2nbrexx3vqjhp41",
"name": "<string>",
"family_name": "<string>",
"given_name": "<string>",
"profile_image_url": "<string>"
},
"status": "pending",
"accepted_at": "2023-11-07T05:31:56Z",
"accepted_by": {
"email": "jsmith@example.com",
"id": "user_01h2xcejqtf2nbrexx3vqjhp41",
"name": "<string>",
"family_name": "<string>",
"given_name": "<string>",
"profile_image_url": "<string>"
},
"message": "<string>"
}
}Resend an invitation email to the recipient. Useful if the original email was lost or expired. Requires permission to invite organization members.
import { Factify } from "@factify/sdk";
const factify = new Factify({
bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await factify.organizations.invites.resend({
organizationId: "<id>",
inviteId: "<id>",
body: {},
});
console.log(result);
}
run();{
"invite": {
"created_at": "2023-11-07T05:31:56Z",
"email": "dwight@dundermifflin.com",
"expires_at": "2023-11-07T05:31:56Z",
"id": "inv_01h2xcejqtf2nbrexx3vqjhp41",
"organization_id": "org_01h2xcejqtf2nbrexx3vqjhp41",
"sender": {
"email": "jsmith@example.com",
"id": "user_01h2xcejqtf2nbrexx3vqjhp41",
"name": "<string>",
"family_name": "<string>",
"given_name": "<string>",
"profile_image_url": "<string>"
},
"status": "pending",
"accepted_at": "2023-11-07T05:31:56Z",
"accepted_by": {
"email": "jsmith@example.com",
"id": "user_01h2xcejqtf2nbrexx3vqjhp41",
"name": "<string>",
"family_name": "<string>",
"given_name": "<string>",
"profile_image_url": "<string>"
},
"message": "<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 the invitation belongs to. Pattern: org_[0-9a-hjkmnp-tv-z]{26}
^org_[0-9a-hjkmnp-tv-z]{26}$Invitation ID to resend. Pattern: inv_[0-9a-hjkmnp-tv-z]{26}
^inv_[0-9a-hjkmnp-tv-z]{26}$ResendOrganizationInviteRequest identifies an invitation to resend.
Success
ResendOrganizationInviteResponse contains the updated invitation.
The invitation with updated send count and timestamp.
Show child attributes