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.

Response

200 - application/json

The response is of type object.