POST
/
integrations
curl --request POST \
  --url https://api.rootfi.dev/integrations \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "integration_type": "ZOHO_BOOKS",
  "is_rootfi_identity": true,
  "client_id": "gfdsxcvghfredcvbhgtfdcasdfghjertyuyhbdcvjnokmwertyu.0ikjuyhgfdsxcvbnm",
  "client_secret": "jnokmwvghfredcvbhgtfdcasdfghjertyuyhbdcvjnokmwertyu.0ikjuyhgfdsxcvbnm"
}'
{
  "data": {
    "client_id": "gfdsxcvghfredcvbhgtfdcasdfghjertyuyhbdcvjnokmwertyu.0ikjuyhgfdsxcvbnm",
    "client_secret": "jnokmwvghfredcvbhgtfdcasdfghjertyuyhbdcvjnokmwertyu.0ikjuyhgfdsxcvbnm",
    "integration_type": "ZOHO_BOOKS",
    "is_disabled": false,
    "is_rootfi_identity": true,
    "rootfi_created_at": "2021-08-10T15:00:00.000Z",
    "rootfi_id": 1234,
    "rootfi_updated_at": "2021-08-10T15:00:00.000Z"
  },
  "request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
  "request_timestamp": "2021-08-10T15:00:00.000Z",
  "response_timestamp": "2021-08-10T15:00:00.000Z"
}

Authorizations

api_key
string
headerrequired

Body

application/json
client_id
string
required

Developer OAUTH Client ID from Integration Platform.

client_secret
string
required

Developer OAUTH Client Secret from Integration Platform.

is_rootfi_identity
boolean | null

Pass true to use RootFi's oauth credentials. (Default is false).

integration_type
enum<string>
required
Available options:
ZOHO_BOOKS,
QUICKBOOKS_SANDBOX,
QUICKBOOKS,
XERO,
TALLY,
SAGE_CLOUD_ACCOUNTING,
MS_DYNAMICS_365,
SAGE_ZA_CLOUD_ACCOUNTING,
MYOB_BUSINESS,
WAVE,
ODOO_ACCOUNTING,
NETSUITE,
WAFEQ,
MEKARI_JURNAL,
BUSY,
ROOTFI_SANDBOX,
QOYOD

Response

200 - application/json
request_id
string
required

The unique ID of the request

request_timestamp
string
required

The time at which the request was received by the server

response_timestamp
string
required

The time at which the response was sent by the server

data
object
required

The response of the get one integration endpoint