Skip to main content
PATCH
/
accounts
/
self
/
member-invitations
const axios = require('axios');
const AccountsApiFp = require('@alohi/faxplus-api').AccountsApiFp;
const Configuration = require('@alohi/faxplus-api').Configuration;

const config = new Configuration({
    accessToken: accessToken,
    basePath: 'https://restapi.fax.plus/v3',
    // Header required only when using the OAuth2 token scheme
    baseOptions: {
        headers: {
          "x-fax-clientid": clientId,
        }
    }
});

async function resendInvitations() {
    const emails = ["pending1@example.com", "pending2@example.com"];
    const req = await AccountsApiFp(config).resendInvitations(emails);
    const resp = await req(axios);
}

resendInvitations()
{
  "message": "Invitations resent successfully"
}

Documentation Index

Fetch the complete documentation index at: https://apidoc.fax.plus/llms.txt

Use this file to discover all available pages before exploring further.

You can resend invitations to up to 10 users per request. If you need to resend to more users, make multiple requests.
const axios = require('axios');
const AccountsApiFp = require('@alohi/faxplus-api').AccountsApiFp;
const Configuration = require('@alohi/faxplus-api').Configuration;

const config = new Configuration({
    accessToken: accessToken,
    basePath: 'https://restapi.fax.plus/v3',
    // Header required only when using the OAuth2 token scheme
    baseOptions: {
        headers: {
          "x-fax-clientid": clientId,
        }
    }
});

async function resendInvitations() {
    const emails = ["pending1@example.com", "pending2@example.com"];
    const req = await AccountsApiFp(config).resendInvitations(emails);
    const resp = await req(axios);
}

resendInvitations()

Authorizations

Authorization
string
header
required

OAuth2 Authorization Grant

Body

application/json

List of email addresses to resend invitations to

Required array length: 1 - 10 elements

Email address of the user to invite or resend invitation to

Response

Invitations resent successfully

message
string
Example:

"Invitations resent successfully"