Webhook Integration

Overview

Our webhook system enables real-time notifications when a new event occurred for the company you want. This allows you to instantly receive and process updates without having to repeatedly poll our API.

Event Types

Currently, we support the following events:

  • clientview_updated - Triggered when a new ClientView model is generated for the company
  • incremental_update - Triggered over any new group of data points published, either by analyst or autotagger
  • series_updated - Triggered when fundamental data errors/changes are detected in the last 5 minutes

For all events, the webhook payload includes relevant data about the updates, with the specific structure varying by event type.

Setup Instructions

To set up a webhook, you need to provide the following information:

Field

Description

Required

url

The endpoint URL where webhook notifications will be sent

Yes

header_name

Name of the authentication header (e.g.,Authorization, X-API-Key)

Yes

prefix

Optional prefix for the authentication value (e.g., Bearer, Token)

No

auth_secret

Secret value for authentication

Yes

Request Format

When a webhook event is triggered, our system will send an HTTP POST request to your specified URL with the following:

Headers

Content-Type: application/json
{header_name}: {prefix} {auth_secret}

Example

  • url: https://yoururl.com
  • header_name: Authorization
  • prefix: X-API-KEY
  • auth_secret: secret_api_key

Webhook triggers a POST request to https://yoururl.com with the following headers:

Content-Type: application/json
Authorization: X-API-KEY secret_api_key

Body

Clientview Updated

{
  "event_type": "clientview_updated",
  "company_id": 2,
  "series": {
    "SERIES_ID_1": {
      "periods": [
        "2025Q1"
      ]
    },
    "SERIES_ID_2": {
      "periods": [
        "2025Q1"
      ]
    }
  }
}

Incremental Update

{
  "event_type": "incremental_update",
  "company_id": 2,
  "series": {
    "SERIES_ID_3": {
      "periods": [
        "2025Q1"
      ]
    },
    "SERIES_ID_4": {
      "periods": [
        "2025Q1"
      ]
    }
  }
}

Series Updated

{
  "event_type": "series_updated",
  "company_id": 2,
  "series": [
    {
      "id": 2,
      "type": "MERGING_ERROR",
      "period": "2024Q1",
      "run_date": "2024-06-02T12:00:00Z",
      "details": {
        "fundamental_id": 13,
        "series_id": 102,
        "field_changed": "series_id",
        "new_value": 102,
        "old_value": 103
      }
    },
    {
      "id": 3,
      "type": "TAGGING_ERROR",
      "period": "2024Q1",
      "run_date": "2024-06-03T12:00:00Z",
      "details": {
        "fundamental_id": 13,
        "series_id": 202,
        "field_changed": "fundamental_id",
        "new_value": 13,
        "old_value": 12
      }
    },
    {
      "id": 4,
      "type": "VALUE_ERROR",
      "period": "2024Q2",
      "run_date": "2024-06-04T12:00:00Z",
      "details": {
        "fundamental_id": 15,
        "series_id": 105,
        "field_changed": "fundamental_value",
        "new_value": 1500,
        "old_value": 1200
      }
    }
  ]
}

Series Updated Event Details:

The series_updated webhook is triggered every 5 minutes when fundamental data errors or corrections are detected. It includes:

  • Supported Error Types: VALUE_ERROR, TAGGING_ERROR, MERGING_ERROR
  • Frequency: Triggered every 5 minutes for companies with recent errors
  • Payload Structure: Contains an array of error objects with detailed information about what changed
  • Details Object: Includes the fundamental_id, series_id, field that changed, and both old and new values

This webhook provides granular notifications about data corrections, merges, tagging changes, and other meaningful updates to help you track data quality changes in real-time.

Interpreting the Results

The details object contains different information depending on the error type. Here's how to interpret each field:

VALUE_ERROR

Meaning: Fundamental with id fundamental_id changed value from old_value to new_value

Example: Fundamental 45672 changed value from 1,200,000 to 1,500,000

  • fundamental_id: The ID of the fundamental data point that was corrected
  • series_id: The series/row where this fundamental belongs
  • field_changed: Always "fundamental_value" for value corrections
  • old_value: The previous (incorrect) value
  • new_value: The corrected value

TAGGING_ERROR

Meaning: Series with id series_id removed Fundamental with id old_value and received a new Fundamental with id new_value

Example: Series 12346 removed Fundamental 45670 and received new Fundamental 45673

  • fundamental_id: The current fundamental ID after the change
  • series_id: The series/row that was affected by the retagging
  • field_changed: Always "fundamental_id" for tagging changes
  • old_value: The ID of the fundamental that was removed from this series
  • new_value: The ID of the fundamental that was assigned to this series

MERGING_ERROR

Meaning: Fundamental with id fundamental_id changed series/row from old_value to new_value

Example: Fundamental 45674 moved from series 12340 to series 12347

  • fundamental_id: The ID of the fundamental that was moved
  • series_id: The current series/row after the merge
  • field_changed: Always "series_id" for merging operations
  • old_value: The previous series ID before merging
  • new_value: The new series ID after merging

Need Help?

If you encounter any issues with webhook configuration or delivery, please contact your Sales Representative