Skip to main content

Documentation Index

Fetch the complete documentation index at: https://integrations.docs.commenda.io/llms.txt

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

A webhook config sends HTTP notifications when RootFi events occur. Use webhook logs to inspect delivery status, payloads, and retry attempts.

Lifecycle

  1. Create — register a webhook URL (POST /v4/core/webhook-config).
  2. Manage — list, get, update, or delete configs.
  3. Monitor — list delivery logs and inspect individual deliveries.

Response envelope

Successful JSON responses are wrapped as:
{
  "data": { ... },
  "request_id": "uuid"
}
DELETE /core/webhook-config/{webhookConfigId} returns 204 No Content with an empty body.

Webhook config object

List, get, create, and update responses return these fields (snake_case):
FieldTypeDescription
rootfi_idintegerWebhook config ID.
webhook_typeenumEvent category (see below).
integration_typeenum | nullRequired for INTEGRATION webhooks.
namestringDisplay name.
urlstringDestination URL.
stateenumENABLED or DISABLED.
topicsstring[]Subscribed topics.
headersobject[] | nullCustom headers ({ name, value }).
signature_headerstring | nullHeader name used for request signing.
rootfi_organisation_idintegerOrganization ID.
rootfi_created_atstringCreation timestamp (ISO 8601).
rootfi_updated_atstringLast update timestamp (ISO 8601).

Webhook types

ValueDescription
INTEGRATIONPlatform-native integration events.
DATA_MODEL_CHANGESUnified data model create/update/delete.
CONNECTION_CHANGEDConnection lifecycle events.
SYNC_STARTEDSync started.
SYNC_COMPLETEDSync completed.

Webhook log object

Delivery logs use camelCase:
FieldTypeDescription
idstringDelivery ID.
webhookNamestringWebhook config name.
webhookUrlstringDestination URL.
stateenumPENDING, PROCESSING, DELIVERED, FAILED.
latestStatusCodeinteger | nullLatest HTTP status code.
attemptCountintegerNumber of delivery attempts.
eventTypestring | nullEvent type.
integrationenum | nullIntegration type, if applicable.
syncIdstring | nullRelated sync ID, if applicable.
createdAtstringCreation timestamp (ISO 8601).
updatedAtstringLast update timestamp (ISO 8601).
Detail responses also include payload and attempts[].