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": {
    "integration_type": "ZOHO_BOOKS",
    "rootfi_id": 1234,
    "rootfi_created_at": "2021-08-10T15:00:00.000Z",
    "rootfi_updated_at": "2021-08-10T15:00:00.000Z",
    "client_id": "gfdsxcvghfredcvbhgtfdcasdfghjertyuyhbdcvjnokmwertyu.0ikjuyhgfdsxcvbnm",
    "client_secret": "jnokmwvghfredcvbhgtfdcasdfghjertyuyhbdcvjnokmwertyu.0ikjuyhgfdsxcvbnm",
    "is_disabled": false,
    "metadata": {},
    "is_rootfi_identity": true
  },
  "request_timestamp": "2021-08-10T15:00:00.000Z",
  "response_timestamp": "2021-08-10T15:00:00.000Z",
  "request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}
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"
}'

Authorizations

api_key
string
header
required

Body

application/json

Request object for creating a integration.

client_id
string
required

Developer OAUTH Client ID from Integration Platform.

client_secret
string
required

Developer OAUTH Client Secret from Integration Platform.

integration_type
enum<string>
required

The type of integration to create.

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
is_rootfi_identity
boolean | null

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

Response

200 - application/json
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

request_id
string
required

The unique ID of the request

data
object
required

The response of the get one integration endpoint