POST
/
core
/
invite_links
curl --request POST \
  --url https://api.rootfi.dev/v3/core/invite_links \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "company_name": "RootFi",
  "integrations": [
    "XERO"
  ],
  "integration_categories": [
    "ACCOUNTING"
  ],
  "sync_config": {
    "data_model": "ACCOUNTS",
    "enabled": true,
    "frequency": "DAILY",
    "interval": 1,
    "scope_access": {
      "READ": true,
      "CREATE": true,
      "UPDATE": true,
      "DELETE": true
    }
  }
}'
{
  "data": {
    "invite_link_id": "1",
    "integrations": [
      "XERO"
    ],
    "integration_categories": [
      "ACCOUNTING"
    ],
    "company": {
      "rootfi_id": 1,
      "name": "RootFi"
    },
    "connections": null
  }
}

An invite link contains API requests for generating and managing invite links, which can be used to connect end users to their preferred accounting platforms.

Company Name is the name of your customer’s company. This is the name that will be displayed in the RootFi dashboard. If left blank, your customer will be prompted to enter a company name when they connect their integration.

Integration is the name of the integration that you want to connect to. Integration Category is the category of the integrations that you want to connect to.

Authorizations

api_key
string
headerrequired

Body

application/json
company_name
string | null

The name of the company

integrations
enum<string>[] | null

The integrations of the invite link

Available options:
ZOHO_BOOKS,
QUICKBOOKS_SANDBOX,
QUICKBOOKS,
XERO,
TALLY,
ROOTFI_SANDBOX,
SAGE_CLOUD_ACCOUNTING,
MS_DYNAMICS_365,
SAGE_ZA_CLOUD_ACCOUNTING,
MYOB_BUSINESS,
NETSUITE,
WAVE,
ODOO_ACCOUNTING,
WAFEQ,
MEKARI_JURNAL,
BUSY,
QOYOD,
STRIPE,
RAZORPAY,
PAYPAL,
SHOPIFY,
BIG_COMMERCE,
WOO_COMMERCE
integration_categories
enum<string>[]
required

The integration categories of the invite link

Available options:
PAYMENTS,
ACCOUNTING,
ECOMMERCE
sync_config
object | null

The sync configuration of the connection

Response

200 - application/json
data
object
required

The data of the invite link endpoint